@pufferfinance/puffer-sdk 1.12.2 → 1.13.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.
Files changed (156) hide show
  1. package/dist/api/puffer-client-helpers.cjs +1 -1
  2. package/dist/api/puffer-client-helpers.cjs.map +1 -1
  3. package/dist/api/puffer-client-helpers.js +70 -65
  4. package/dist/api/puffer-client-helpers.js.map +1 -1
  5. package/dist/api/puffer-client.cjs +1 -1
  6. package/dist/api/puffer-client.cjs.map +1 -1
  7. package/dist/api/puffer-client.d.ts +3 -0
  8. package/dist/api/puffer-client.js +20 -13
  9. package/dist/api/puffer-client.js.map +1 -1
  10. package/dist/{ccip-BO_b9tFc.cjs → ccip-C0xwQhXU.cjs} +2 -2
  11. package/dist/ccip-C0xwQhXU.cjs.map +1 -0
  12. package/dist/{ccip-DLDO0_x2.js → ccip-K-z2PL4P.js} +3 -3
  13. package/dist/ccip-K-z2PL4P.js.map +1 -0
  14. package/dist/chains/constants.cjs +1 -1
  15. package/dist/chains/constants.js +1 -1
  16. package/dist/constants-BcPRVxdH.cjs +9 -0
  17. package/dist/constants-BcPRVxdH.cjs.map +1 -0
  18. package/dist/{constants-BjRNQpT2.js → constants-CH7Tz5jz.js} +745 -694
  19. package/dist/constants-CH7Tz5jz.js.map +1 -0
  20. package/dist/contracts/abis/l1-reward-manager-abis.cjs +1 -1
  21. package/dist/contracts/abis/l1-reward-manager-abis.d.ts +527 -1
  22. package/dist/contracts/abis/l1-reward-manager-abis.js +1 -1
  23. package/dist/contracts/abis/l2-reward-manager-abis.cjs +1 -1
  24. package/dist/contracts/abis/l2-reward-manager-abis.d.ts +1416 -1
  25. package/dist/contracts/abis/l2-reward-manager-abis.js +1 -1
  26. package/dist/contracts/abis/mainnet/Distributor.cjs +2 -0
  27. package/dist/contracts/abis/mainnet/Distributor.cjs.map +1 -0
  28. package/dist/contracts/abis/mainnet/Distributor.d.ts +618 -0
  29. package/dist/contracts/abis/mainnet/Distributor.js +492 -0
  30. package/dist/contracts/abis/mainnet/Distributor.js.map +1 -0
  31. package/dist/contracts/abis/nucleus-accountant-abis.cjs +1 -1
  32. package/dist/contracts/abis/nucleus-accountant-abis.d.ts +2 -1
  33. package/dist/contracts/abis/nucleus-accountant-abis.js +1 -1
  34. package/dist/contracts/abis/nucleus-atomic-queue-abis.cjs +1 -1
  35. package/dist/contracts/abis/nucleus-atomic-queue-abis.d.ts +2 -1
  36. package/dist/contracts/abis/nucleus-atomic-queue-abis.js +1 -1
  37. package/dist/contracts/abis/nucleus-boring-vault-abis.cjs +1 -1
  38. package/dist/contracts/abis/nucleus-boring-vault-abis.d.ts +2 -1
  39. package/dist/contracts/abis/nucleus-boring-vault-abis.js +1 -1
  40. package/dist/contracts/abis/nucleus-teller-abis.cjs +1 -1
  41. package/dist/contracts/abis/nucleus-teller-abis.d.ts +2 -1
  42. package/dist/contracts/abis/nucleus-teller-abis.js +1 -1
  43. package/dist/contracts/abis/puf-locker-abis.cjs +1 -1
  44. package/dist/contracts/abis/puf-locker-abis.d.ts +484 -1
  45. package/dist/contracts/abis/puf-locker-abis.js +1 -1
  46. package/dist/contracts/abis/puffer-depositor-abis.cjs +1 -1
  47. package/dist/contracts/abis/puffer-depositor-abis.d.ts +663 -2
  48. package/dist/contracts/abis/puffer-depositor-abis.js +1 -1
  49. package/dist/contracts/abis/puffer-vault-abis.cjs +1 -1
  50. package/dist/contracts/abis/puffer-vault-abis.d.ts +4 -2
  51. package/dist/contracts/abis/puffer-vault-abis.js +1 -1
  52. package/dist/contracts/abis/puffer-withdrawal-manager-abis.cjs +1 -1
  53. package/dist/contracts/abis/puffer-withdrawal-manager-abis.d.ts +514 -1
  54. package/dist/contracts/abis/puffer-withdrawal-manager-abis.js +1 -1
  55. package/dist/contracts/addresses.cjs +1 -1
  56. package/dist/contracts/addresses.cjs.map +1 -1
  57. package/dist/contracts/addresses.d.ts +7 -13
  58. package/dist/contracts/addresses.js +6 -5
  59. package/dist/contracts/addresses.js.map +1 -1
  60. package/dist/contracts/handlers/carrot-staking-handler.cjs +1 -1
  61. package/dist/contracts/handlers/carrot-staking-handler.js +2 -2
  62. package/dist/contracts/handlers/distributor-handler.cjs +2 -0
  63. package/dist/contracts/handlers/distributor-handler.cjs.map +1 -0
  64. package/dist/contracts/handlers/distributor-handler.js +318 -0
  65. package/dist/contracts/handlers/distributor-handler.js.map +1 -0
  66. package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
  67. package/dist/contracts/handlers/erc20-permit-handler.cjs.map +1 -1
  68. package/dist/contracts/handlers/erc20-permit-handler.d.ts +17101 -14898
  69. package/dist/contracts/handlers/erc20-permit-handler.js +3 -3
  70. package/dist/contracts/handlers/erc20-permit-handler.js.map +1 -1
  71. package/dist/contracts/handlers/l1-reward-manager-handler.cjs +1 -1
  72. package/dist/contracts/handlers/l1-reward-manager-handler.js +2 -2
  73. package/dist/contracts/handlers/l2-reward-manager-handler.cjs +1 -1
  74. package/dist/contracts/handlers/l2-reward-manager-handler.js +2 -2
  75. package/dist/contracts/handlers/mtw-carrot-handler.cjs +1 -1
  76. package/dist/contracts/handlers/mtw-carrot-handler.js +2 -2
  77. package/dist/contracts/handlers/nucleus-accountant-handler.cjs +1 -1
  78. package/dist/contracts/handlers/nucleus-accountant-handler.js +1 -1
  79. package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs +1 -1
  80. package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs.map +1 -1
  81. package/dist/contracts/handlers/nucleus-atomic-queue-handler.d.ts +7619 -14812
  82. package/dist/contracts/handlers/nucleus-atomic-queue-handler.js +2 -2
  83. package/dist/contracts/handlers/nucleus-atomic-queue-handler.js.map +1 -1
  84. package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +1 -1
  85. package/dist/contracts/handlers/nucleus-boring-vault-handler.js +2 -2
  86. package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
  87. package/dist/contracts/handlers/nucleus-teller-handler.js +2 -2
  88. package/dist/contracts/handlers/puf-locker-handler.cjs +1 -1
  89. package/dist/contracts/handlers/puf-locker-handler.cjs.map +1 -1
  90. package/dist/contracts/handlers/puf-locker-handler.js +2 -2
  91. package/dist/contracts/handlers/puf-locker-handler.js.map +1 -1
  92. package/dist/contracts/handlers/puffer-depositor-handler.cjs +1 -1
  93. package/dist/contracts/handlers/puffer-depositor-handler.d.ts +11215 -14794
  94. package/dist/contracts/handlers/puffer-depositor-handler.js +2 -2
  95. package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs +1 -1
  96. package/dist/contracts/handlers/puffer-l2-depositor-handler.js +2 -2
  97. package/dist/contracts/handlers/puffer-vault-handler.cjs +1 -1
  98. package/dist/contracts/handlers/puffer-vault-handler.js +2 -2
  99. package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs +1 -1
  100. package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js +2 -2
  101. package/dist/contracts/tokens.cjs +1 -1
  102. package/dist/contracts/tokens.js +1 -1
  103. package/dist/contracts/vaults-addresses.cjs +1 -1
  104. package/dist/contracts/vaults-addresses.d.ts +5 -4
  105. package/dist/contracts/vaults-addresses.js +1 -1
  106. package/dist/createWalletClient-DNLhBkOd.js +3289 -0
  107. package/dist/createWalletClient-DNLhBkOd.js.map +1 -0
  108. package/dist/createWalletClient-Di5of07E.cjs +6 -0
  109. package/dist/createWalletClient-Di5of07E.cjs.map +1 -0
  110. package/dist/{getContract-CezEyDf-.js → getContract-6ajhFbP2.js} +2 -2
  111. package/dist/getContract-6ajhFbP2.js.map +1 -0
  112. package/dist/{getContract-3QbyfZBF.cjs → getContract-ChPFzc5y.cjs} +2 -2
  113. package/dist/{getContract-CezEyDf-.js.map → getContract-ChPFzc5y.cjs.map} +1 -1
  114. package/dist/main.cjs +1 -1
  115. package/dist/main.d.ts +1 -0
  116. package/dist/main.js +13 -11
  117. package/dist/main.js.map +1 -1
  118. package/dist/secp256k1-B8plqpXf.cjs +2 -0
  119. package/dist/secp256k1-B8plqpXf.cjs.map +1 -0
  120. package/dist/secp256k1-Ev0s9Yr6.js +1340 -0
  121. package/dist/secp256k1-Ev0s9Yr6.js.map +1 -0
  122. package/dist/utils/version.cjs +1 -1
  123. package/dist/utils/version.js +1 -1
  124. package/dist/writeContract-BatuNuTe.cjs +32 -0
  125. package/dist/writeContract-BatuNuTe.cjs.map +1 -0
  126. package/dist/{writeContract-ChuHpJLC.js → writeContract-CjcOEtWX.js} +822 -763
  127. package/dist/writeContract-CjcOEtWX.js.map +1 -0
  128. package/package.json +15 -15
  129. package/dist/ccip-BO_b9tFc.cjs.map +0 -1
  130. package/dist/ccip-DLDO0_x2.js.map +0 -1
  131. package/dist/constants-BjRNQpT2.js.map +0 -1
  132. package/dist/constants-DA2xUb9r.cjs +0 -9
  133. package/dist/constants-DA2xUb9r.cjs.map +0 -1
  134. package/dist/contracts/handlers/carrot-staking-handler.d.ts +0 -15063
  135. package/dist/contracts/handlers/l1-reward-manager-handler.d.ts +0 -15107
  136. package/dist/contracts/handlers/l2-reward-manager-handler.d.ts +0 -15353
  137. package/dist/contracts/handlers/mtw-carrot-handler.d.ts +0 -15293
  138. package/dist/contracts/handlers/nucleus-accountant-handler.d.ts +0 -15126
  139. package/dist/contracts/handlers/nucleus-boring-vault-handler.d.ts +0 -15284
  140. package/dist/contracts/handlers/nucleus-teller-handler.d.ts +0 -15201
  141. package/dist/contracts/handlers/puf-locker-handler.d.ts +0 -15116
  142. package/dist/contracts/handlers/puffer-l2-depositor-handler.d.ts +0 -14969
  143. package/dist/contracts/handlers/puffer-vault-handler.d.ts +0 -17452
  144. package/dist/contracts/handlers/puffer-withdrawal-manager-handler.d.ts +0 -15111
  145. package/dist/createWalletClient-BuLYysrp.cjs +0 -4
  146. package/dist/createWalletClient-BuLYysrp.cjs.map +0 -1
  147. package/dist/createWalletClient-DNcW-ENe.js +0 -2028
  148. package/dist/createWalletClient-DNcW-ENe.js.map +0 -1
  149. package/dist/getContract-3QbyfZBF.cjs.map +0 -1
  150. package/dist/secp256k1-3OC5y4qp.js +0 -1579
  151. package/dist/secp256k1-3OC5y4qp.js.map +0 -1
  152. package/dist/secp256k1-bcahnPX9.cjs +0 -2
  153. package/dist/secp256k1-bcahnPX9.cjs.map +0 -1
  154. package/dist/writeContract-ChuHpJLC.js.map +0 -1
  155. package/dist/writeContract-D97dSJQe.cjs +0 -32
  156. package/dist/writeContract-D97dSJQe.cjs.map +0 -1
@@ -1,5 +1,1420 @@
1
+ import { Chain } from '../../chains/constants';
1
2
  export declare const L2_REWARD_MANAGER_ABIS: {
2
- [x: number]: {
3
+ [Chain.Mainnet]: {
4
+ L2RewardManager: readonly [{
5
+ readonly type: "constructor";
6
+ readonly inputs: readonly [{
7
+ readonly name: "xPufETH";
8
+ readonly type: "address";
9
+ readonly internalType: "address";
10
+ }, {
11
+ readonly name: "l1RewardManager";
12
+ readonly type: "address";
13
+ readonly internalType: "address";
14
+ }];
15
+ readonly stateMutability: "nonpayable";
16
+ }, {
17
+ readonly type: "function";
18
+ readonly name: "L1_REWARD_MANAGER";
19
+ readonly inputs: readonly [];
20
+ readonly outputs: readonly [{
21
+ readonly name: "";
22
+ readonly type: "address";
23
+ readonly internalType: "address";
24
+ }];
25
+ readonly stateMutability: "view";
26
+ }, {
27
+ readonly type: "function";
28
+ readonly name: "UPGRADE_INTERFACE_VERSION";
29
+ readonly inputs: readonly [];
30
+ readonly outputs: readonly [{
31
+ readonly name: "";
32
+ readonly type: "string";
33
+ readonly internalType: "string";
34
+ }];
35
+ readonly stateMutability: "view";
36
+ }, {
37
+ readonly type: "function";
38
+ readonly name: "XPUFETH";
39
+ readonly inputs: readonly [];
40
+ readonly outputs: readonly [{
41
+ readonly name: "";
42
+ readonly type: "address";
43
+ readonly internalType: "contract IERC20";
44
+ }];
45
+ readonly stateMutability: "view";
46
+ }, {
47
+ readonly type: "function";
48
+ readonly name: "authority";
49
+ readonly inputs: readonly [];
50
+ readonly outputs: readonly [{
51
+ readonly name: "";
52
+ readonly type: "address";
53
+ readonly internalType: "address";
54
+ }];
55
+ readonly stateMutability: "view";
56
+ }, {
57
+ readonly type: "function";
58
+ readonly name: "claimRewards";
59
+ readonly inputs: readonly [{
60
+ readonly name: "claimOrders";
61
+ readonly type: "tuple[]";
62
+ readonly internalType: "struct IL2RewardManager.ClaimOrder[]";
63
+ readonly components: readonly [{
64
+ readonly name: "intervalId";
65
+ readonly type: "bytes32";
66
+ readonly internalType: "bytes32";
67
+ }, {
68
+ readonly name: "amount";
69
+ readonly type: "uint256";
70
+ readonly internalType: "uint256";
71
+ }, {
72
+ readonly name: "isL1Contract";
73
+ readonly type: "bool";
74
+ readonly internalType: "bool";
75
+ }, {
76
+ readonly name: "account";
77
+ readonly type: "address";
78
+ readonly internalType: "address";
79
+ }, {
80
+ readonly name: "merkleProof";
81
+ readonly type: "bytes32[]";
82
+ readonly internalType: "bytes32[]";
83
+ }];
84
+ }];
85
+ readonly outputs: readonly [];
86
+ readonly stateMutability: "nonpayable";
87
+ }, {
88
+ readonly type: "function";
89
+ readonly name: "freezeAndRevertInterval";
90
+ readonly inputs: readonly [{
91
+ readonly name: "bridge";
92
+ readonly type: "address";
93
+ readonly internalType: "address";
94
+ }, {
95
+ readonly name: "startEpoch";
96
+ readonly type: "uint256";
97
+ readonly internalType: "uint256";
98
+ }, {
99
+ readonly name: "endEpoch";
100
+ readonly type: "uint256";
101
+ readonly internalType: "uint256";
102
+ }];
103
+ readonly outputs: readonly [];
104
+ readonly stateMutability: "payable";
105
+ }, {
106
+ readonly type: "function";
107
+ readonly name: "freezeClaimingForInterval";
108
+ readonly inputs: readonly [{
109
+ readonly name: "startEpoch";
110
+ readonly type: "uint256";
111
+ readonly internalType: "uint256";
112
+ }, {
113
+ readonly name: "endEpoch";
114
+ readonly type: "uint256";
115
+ readonly internalType: "uint256";
116
+ }];
117
+ readonly outputs: readonly [];
118
+ readonly stateMutability: "nonpayable";
119
+ }, {
120
+ readonly type: "function";
121
+ readonly name: "getClaimingDelay";
122
+ readonly inputs: readonly [];
123
+ readonly outputs: readonly [{
124
+ readonly name: "";
125
+ readonly type: "uint256";
126
+ readonly internalType: "uint256";
127
+ }];
128
+ readonly stateMutability: "view";
129
+ }, {
130
+ readonly type: "function";
131
+ readonly name: "getEpochRecord";
132
+ readonly inputs: readonly [{
133
+ readonly name: "intervalId";
134
+ readonly type: "bytes32";
135
+ readonly internalType: "bytes32";
136
+ }];
137
+ readonly outputs: readonly [{
138
+ readonly name: "";
139
+ readonly type: "tuple";
140
+ readonly internalType: "struct L2RewardManagerStorage.EpochRecord";
141
+ readonly components: readonly [{
142
+ readonly name: "startEpoch";
143
+ readonly type: "uint104";
144
+ readonly internalType: "uint104";
145
+ }, {
146
+ readonly name: "endEpoch";
147
+ readonly type: "uint104";
148
+ readonly internalType: "uint104";
149
+ }, {
150
+ readonly name: "timeBridged";
151
+ readonly type: "uint48";
152
+ readonly internalType: "uint48";
153
+ }, {
154
+ readonly name: "pufETHAmount";
155
+ readonly type: "uint128";
156
+ readonly internalType: "uint128";
157
+ }, {
158
+ readonly name: "ethAmount";
159
+ readonly type: "uint128";
160
+ readonly internalType: "uint128";
161
+ }, {
162
+ readonly name: "ethToPufETHRate";
163
+ readonly type: "uint256";
164
+ readonly internalType: "uint256";
165
+ }, {
166
+ readonly name: "rewardRoot";
167
+ readonly type: "bytes32";
168
+ readonly internalType: "bytes32";
169
+ }];
170
+ }];
171
+ readonly stateMutability: "view";
172
+ }, {
173
+ readonly type: "function";
174
+ readonly name: "getIntervalId";
175
+ readonly inputs: readonly [{
176
+ readonly name: "startEpoch";
177
+ readonly type: "uint256";
178
+ readonly internalType: "uint256";
179
+ }, {
180
+ readonly name: "endEpoch";
181
+ readonly type: "uint256";
182
+ readonly internalType: "uint256";
183
+ }];
184
+ readonly outputs: readonly [{
185
+ readonly name: "";
186
+ readonly type: "bytes32";
187
+ readonly internalType: "bytes32";
188
+ }];
189
+ readonly stateMutability: "pure";
190
+ }, {
191
+ readonly type: "function";
192
+ readonly name: "getRewardsClaimer";
193
+ readonly inputs: readonly [{
194
+ readonly name: "account";
195
+ readonly type: "address";
196
+ readonly internalType: "address";
197
+ }];
198
+ readonly outputs: readonly [{
199
+ readonly name: "";
200
+ readonly type: "address";
201
+ readonly internalType: "address";
202
+ }];
203
+ readonly stateMutability: "view";
204
+ }, {
205
+ readonly type: "function";
206
+ readonly name: "initialize";
207
+ readonly inputs: readonly [{
208
+ readonly name: "accessManager";
209
+ readonly type: "address";
210
+ readonly internalType: "address";
211
+ }];
212
+ readonly outputs: readonly [];
213
+ readonly stateMutability: "nonpayable";
214
+ }, {
215
+ readonly type: "function";
216
+ readonly name: "isClaimed";
217
+ readonly inputs: readonly [{
218
+ readonly name: "intervalId";
219
+ readonly type: "bytes32";
220
+ readonly internalType: "bytes32";
221
+ }, {
222
+ readonly name: "account";
223
+ readonly type: "address";
224
+ readonly internalType: "address";
225
+ }];
226
+ readonly outputs: readonly [{
227
+ readonly name: "";
228
+ readonly type: "bool";
229
+ readonly internalType: "bool";
230
+ }];
231
+ readonly stateMutability: "view";
232
+ }, {
233
+ readonly type: "function";
234
+ readonly name: "isClaimingLocked";
235
+ readonly inputs: readonly [{
236
+ readonly name: "intervalId";
237
+ readonly type: "bytes32";
238
+ readonly internalType: "bytes32";
239
+ }];
240
+ readonly outputs: readonly [{
241
+ readonly name: "";
242
+ readonly type: "bool";
243
+ readonly internalType: "bool";
244
+ }];
245
+ readonly stateMutability: "view";
246
+ }, {
247
+ readonly type: "function";
248
+ readonly name: "isConsumingScheduledOp";
249
+ readonly inputs: readonly [];
250
+ readonly outputs: readonly [{
251
+ readonly name: "";
252
+ readonly type: "bytes4";
253
+ readonly internalType: "bytes4";
254
+ }];
255
+ readonly stateMutability: "view";
256
+ }, {
257
+ readonly type: "function";
258
+ readonly name: "proxiableUUID";
259
+ readonly inputs: readonly [];
260
+ readonly outputs: readonly [{
261
+ readonly name: "";
262
+ readonly type: "bytes32";
263
+ readonly internalType: "bytes32";
264
+ }];
265
+ readonly stateMutability: "view";
266
+ }, {
267
+ readonly type: "function";
268
+ readonly name: "revertInterval";
269
+ readonly inputs: readonly [{
270
+ readonly name: "bridge";
271
+ readonly type: "address";
272
+ readonly internalType: "address";
273
+ }, {
274
+ readonly name: "startEpoch";
275
+ readonly type: "uint256";
276
+ readonly internalType: "uint256";
277
+ }, {
278
+ readonly name: "endEpoch";
279
+ readonly type: "uint256";
280
+ readonly internalType: "uint256";
281
+ }];
282
+ readonly outputs: readonly [];
283
+ readonly stateMutability: "payable";
284
+ }, {
285
+ readonly type: "function";
286
+ readonly name: "setAuthority";
287
+ readonly inputs: readonly [{
288
+ readonly name: "newAuthority";
289
+ readonly type: "address";
290
+ readonly internalType: "address";
291
+ }];
292
+ readonly outputs: readonly [];
293
+ readonly stateMutability: "nonpayable";
294
+ }, {
295
+ readonly type: "function";
296
+ readonly name: "setDelayPeriod";
297
+ readonly inputs: readonly [{
298
+ readonly name: "delayPeriod";
299
+ readonly type: "uint256";
300
+ readonly internalType: "uint256";
301
+ }];
302
+ readonly outputs: readonly [];
303
+ readonly stateMutability: "nonpayable";
304
+ }, {
305
+ readonly type: "function";
306
+ readonly name: "updateBridgeData";
307
+ readonly inputs: readonly [{
308
+ readonly name: "bridge";
309
+ readonly type: "address";
310
+ readonly internalType: "address";
311
+ }, {
312
+ readonly name: "bridgeData";
313
+ readonly type: "tuple";
314
+ readonly internalType: "struct L2RewardManagerStorage.BridgeData";
315
+ readonly components: readonly [{
316
+ readonly name: "destinationDomainId";
317
+ readonly type: "uint32";
318
+ readonly internalType: "uint32";
319
+ }];
320
+ }];
321
+ readonly outputs: readonly [];
322
+ readonly stateMutability: "nonpayable";
323
+ }, {
324
+ readonly type: "function";
325
+ readonly name: "upgradeToAndCall";
326
+ readonly inputs: readonly [{
327
+ readonly name: "newImplementation";
328
+ readonly type: "address";
329
+ readonly internalType: "address";
330
+ }, {
331
+ readonly name: "data";
332
+ readonly type: "bytes";
333
+ readonly internalType: "bytes";
334
+ }];
335
+ readonly outputs: readonly [];
336
+ readonly stateMutability: "payable";
337
+ }, {
338
+ readonly type: "function";
339
+ readonly name: "xReceive";
340
+ readonly inputs: readonly [{
341
+ readonly name: "";
342
+ readonly type: "bytes32";
343
+ readonly internalType: "bytes32";
344
+ }, {
345
+ readonly name: "amount";
346
+ readonly type: "uint256";
347
+ readonly internalType: "uint256";
348
+ }, {
349
+ readonly name: "";
350
+ readonly type: "address";
351
+ readonly internalType: "address";
352
+ }, {
353
+ readonly name: "originSender";
354
+ readonly type: "address";
355
+ readonly internalType: "address";
356
+ }, {
357
+ readonly name: "originDomainId";
358
+ readonly type: "uint32";
359
+ readonly internalType: "uint32";
360
+ }, {
361
+ readonly name: "callData";
362
+ readonly type: "bytes";
363
+ readonly internalType: "bytes";
364
+ }];
365
+ readonly outputs: readonly [{
366
+ readonly name: "";
367
+ readonly type: "bytes";
368
+ readonly internalType: "bytes";
369
+ }];
370
+ readonly stateMutability: "nonpayable";
371
+ }, {
372
+ readonly type: "event";
373
+ readonly name: "AuthorityUpdated";
374
+ readonly inputs: readonly [{
375
+ readonly name: "authority";
376
+ readonly type: "address";
377
+ readonly indexed: false;
378
+ readonly internalType: "address";
379
+ }];
380
+ readonly anonymous: false;
381
+ }, {
382
+ readonly type: "event";
383
+ readonly name: "BridgeDataUpdated";
384
+ readonly inputs: readonly [{
385
+ readonly name: "bridge";
386
+ readonly type: "address";
387
+ readonly indexed: true;
388
+ readonly internalType: "address";
389
+ }, {
390
+ readonly name: "bridgeData";
391
+ readonly type: "tuple";
392
+ readonly indexed: false;
393
+ readonly internalType: "struct L2RewardManagerStorage.BridgeData";
394
+ readonly components: readonly [{
395
+ readonly name: "destinationDomainId";
396
+ readonly type: "uint32";
397
+ readonly internalType: "uint32";
398
+ }];
399
+ }];
400
+ readonly anonymous: false;
401
+ }, {
402
+ readonly type: "event";
403
+ readonly name: "Claimed";
404
+ readonly inputs: readonly [{
405
+ readonly name: "account";
406
+ readonly type: "address";
407
+ readonly indexed: true;
408
+ readonly internalType: "address";
409
+ }, {
410
+ readonly name: "recipient";
411
+ readonly type: "address";
412
+ readonly indexed: true;
413
+ readonly internalType: "address";
414
+ }, {
415
+ readonly name: "intervalId";
416
+ readonly type: "bytes32";
417
+ readonly indexed: true;
418
+ readonly internalType: "bytes32";
419
+ }, {
420
+ readonly name: "amount";
421
+ readonly type: "uint256";
422
+ readonly indexed: false;
423
+ readonly internalType: "uint256";
424
+ }];
425
+ readonly anonymous: false;
426
+ }, {
427
+ readonly type: "event";
428
+ readonly name: "ClaimerSet";
429
+ readonly inputs: readonly [{
430
+ readonly name: "account";
431
+ readonly type: "address";
432
+ readonly indexed: true;
433
+ readonly internalType: "address";
434
+ }, {
435
+ readonly name: "claimer";
436
+ readonly type: "address";
437
+ readonly indexed: true;
438
+ readonly internalType: "address";
439
+ }];
440
+ readonly anonymous: false;
441
+ }, {
442
+ readonly type: "event";
443
+ readonly name: "ClaimingDelayChanged";
444
+ readonly inputs: readonly [{
445
+ readonly name: "oldDelay";
446
+ readonly type: "uint256";
447
+ readonly indexed: false;
448
+ readonly internalType: "uint256";
449
+ }, {
450
+ readonly name: "newDelay";
451
+ readonly type: "uint256";
452
+ readonly indexed: false;
453
+ readonly internalType: "uint256";
454
+ }];
455
+ readonly anonymous: false;
456
+ }, {
457
+ readonly type: "event";
458
+ readonly name: "ClaimingIntervalFrozen";
459
+ readonly inputs: readonly [{
460
+ readonly name: "startEpoch";
461
+ readonly type: "uint256";
462
+ readonly indexed: false;
463
+ readonly internalType: "uint256";
464
+ }, {
465
+ readonly name: "endEpoch";
466
+ readonly type: "uint256";
467
+ readonly indexed: false;
468
+ readonly internalType: "uint256";
469
+ }];
470
+ readonly anonymous: false;
471
+ }, {
472
+ readonly type: "event";
473
+ readonly name: "ClaimingIntervalReverted";
474
+ readonly inputs: readonly [{
475
+ readonly name: "startEpoch";
476
+ readonly type: "uint256";
477
+ readonly indexed: false;
478
+ readonly internalType: "uint256";
479
+ }, {
480
+ readonly name: "endEpoch";
481
+ readonly type: "uint256";
482
+ readonly indexed: false;
483
+ readonly internalType: "uint256";
484
+ }, {
485
+ readonly name: "intervalId";
486
+ readonly type: "bytes32";
487
+ readonly indexed: true;
488
+ readonly internalType: "bytes32";
489
+ }, {
490
+ readonly name: "pufETHAmount";
491
+ readonly type: "uint256";
492
+ readonly indexed: false;
493
+ readonly internalType: "uint256";
494
+ }, {
495
+ readonly name: "rewardsRoot";
496
+ readonly type: "bytes32";
497
+ readonly indexed: false;
498
+ readonly internalType: "bytes32";
499
+ }];
500
+ readonly anonymous: false;
501
+ }, {
502
+ readonly type: "event";
503
+ readonly name: "Initialized";
504
+ readonly inputs: readonly [{
505
+ readonly name: "version";
506
+ readonly type: "uint64";
507
+ readonly indexed: false;
508
+ readonly internalType: "uint64";
509
+ }];
510
+ readonly anonymous: false;
511
+ }, {
512
+ readonly type: "event";
513
+ readonly name: "RewardRootAndRatePosted";
514
+ readonly inputs: readonly [{
515
+ readonly name: "rewardsAmount";
516
+ readonly type: "uint256";
517
+ readonly indexed: false;
518
+ readonly internalType: "uint256";
519
+ }, {
520
+ readonly name: "ethToPufETHRate";
521
+ readonly type: "uint256";
522
+ readonly indexed: false;
523
+ readonly internalType: "uint256";
524
+ }, {
525
+ readonly name: "startEpoch";
526
+ readonly type: "uint256";
527
+ readonly indexed: false;
528
+ readonly internalType: "uint256";
529
+ }, {
530
+ readonly name: "endEpoch";
531
+ readonly type: "uint256";
532
+ readonly indexed: false;
533
+ readonly internalType: "uint256";
534
+ }, {
535
+ readonly name: "intervalId";
536
+ readonly type: "bytes32";
537
+ readonly indexed: true;
538
+ readonly internalType: "bytes32";
539
+ }, {
540
+ readonly name: "rewardsRoot";
541
+ readonly type: "bytes32";
542
+ readonly indexed: false;
543
+ readonly internalType: "bytes32";
544
+ }];
545
+ readonly anonymous: false;
546
+ }, {
547
+ readonly type: "event";
548
+ readonly name: "Upgraded";
549
+ readonly inputs: readonly [{
550
+ readonly name: "implementation";
551
+ readonly type: "address";
552
+ readonly indexed: true;
553
+ readonly internalType: "address";
554
+ }];
555
+ readonly anonymous: false;
556
+ }, {
557
+ readonly type: "error";
558
+ readonly name: "AccessManagedInvalidAuthority";
559
+ readonly inputs: readonly [{
560
+ readonly name: "authority";
561
+ readonly type: "address";
562
+ readonly internalType: "address";
563
+ }];
564
+ }, {
565
+ readonly type: "error";
566
+ readonly name: "AccessManagedRequiredDelay";
567
+ readonly inputs: readonly [{
568
+ readonly name: "caller";
569
+ readonly type: "address";
570
+ readonly internalType: "address";
571
+ }, {
572
+ readonly name: "delay";
573
+ readonly type: "uint32";
574
+ readonly internalType: "uint32";
575
+ }];
576
+ }, {
577
+ readonly type: "error";
578
+ readonly name: "AccessManagedUnauthorized";
579
+ readonly inputs: readonly [{
580
+ readonly name: "caller";
581
+ readonly type: "address";
582
+ readonly internalType: "address";
583
+ }];
584
+ }, {
585
+ readonly type: "error";
586
+ readonly name: "AddressEmptyCode";
587
+ readonly inputs: readonly [{
588
+ readonly name: "target";
589
+ readonly type: "address";
590
+ readonly internalType: "address";
591
+ }];
592
+ }, {
593
+ readonly type: "error";
594
+ readonly name: "AlreadyClaimed";
595
+ readonly inputs: readonly [{
596
+ readonly name: "intervalId";
597
+ readonly type: "bytes32";
598
+ readonly internalType: "bytes32";
599
+ }, {
600
+ readonly name: "account";
601
+ readonly type: "address";
602
+ readonly internalType: "address";
603
+ }];
604
+ }, {
605
+ readonly type: "error";
606
+ readonly name: "BridgeNotAllowlisted";
607
+ readonly inputs: readonly [];
608
+ }, {
609
+ readonly type: "error";
610
+ readonly name: "ClaimerNotSet";
611
+ readonly inputs: readonly [{
612
+ readonly name: "node";
613
+ readonly type: "address";
614
+ readonly internalType: "address";
615
+ }];
616
+ }, {
617
+ readonly type: "error";
618
+ readonly name: "ClaimingLocked";
619
+ readonly inputs: readonly [{
620
+ readonly name: "intervalId";
621
+ readonly type: "bytes32";
622
+ readonly internalType: "bytes32";
623
+ }, {
624
+ readonly name: "account";
625
+ readonly type: "address";
626
+ readonly internalType: "address";
627
+ }, {
628
+ readonly name: "lockedUntil";
629
+ readonly type: "uint256";
630
+ readonly internalType: "uint256";
631
+ }];
632
+ }, {
633
+ readonly type: "error";
634
+ readonly name: "ERC1967InvalidImplementation";
635
+ readonly inputs: readonly [{
636
+ readonly name: "implementation";
637
+ readonly type: "address";
638
+ readonly internalType: "address";
639
+ }];
640
+ }, {
641
+ readonly type: "error";
642
+ readonly name: "ERC1967NonPayable";
643
+ readonly inputs: readonly [];
644
+ }, {
645
+ readonly type: "error";
646
+ readonly name: "FailedInnerCall";
647
+ readonly inputs: readonly [];
648
+ }, {
649
+ readonly type: "error";
650
+ readonly name: "InvalidAddress";
651
+ readonly inputs: readonly [];
652
+ }, {
653
+ readonly type: "error";
654
+ readonly name: "InvalidAmount";
655
+ readonly inputs: readonly [];
656
+ }, {
657
+ readonly type: "error";
658
+ readonly name: "InvalidClaimingInterval";
659
+ readonly inputs: readonly [{
660
+ readonly name: "claimingInterval";
661
+ readonly type: "bytes32";
662
+ readonly internalType: "bytes32";
663
+ }];
664
+ }, {
665
+ readonly type: "error";
666
+ readonly name: "InvalidDelayPeriod";
667
+ readonly inputs: readonly [];
668
+ }, {
669
+ readonly type: "error";
670
+ readonly name: "InvalidInitialization";
671
+ readonly inputs: readonly [];
672
+ }, {
673
+ readonly type: "error";
674
+ readonly name: "InvalidProof";
675
+ readonly inputs: readonly [];
676
+ }, {
677
+ readonly type: "error";
678
+ readonly name: "NotInitializing";
679
+ readonly inputs: readonly [];
680
+ }, {
681
+ readonly type: "error";
682
+ readonly name: "RelockingIntervalIsNotAllowed";
683
+ readonly inputs: readonly [];
684
+ }, {
685
+ readonly type: "error";
686
+ readonly name: "UUPSUnauthorizedCallContext";
687
+ readonly inputs: readonly [];
688
+ }, {
689
+ readonly type: "error";
690
+ readonly name: "UUPSUnsupportedProxiableUUID";
691
+ readonly inputs: readonly [{
692
+ readonly name: "slot";
693
+ readonly type: "bytes32";
694
+ readonly internalType: "bytes32";
695
+ }];
696
+ }, {
697
+ readonly type: "error";
698
+ readonly name: "UnableToFreezeInterval";
699
+ readonly inputs: readonly [];
700
+ }, {
701
+ readonly type: "error";
702
+ readonly name: "UnableToRevertInterval";
703
+ readonly inputs: readonly [];
704
+ }, {
705
+ readonly type: "error";
706
+ readonly name: "Unauthorized";
707
+ readonly inputs: readonly [];
708
+ }];
709
+ };
710
+ [Chain.Holesky]: {
711
+ L2RewardManager: readonly [{
712
+ readonly type: "constructor";
713
+ readonly inputs: readonly [{
714
+ readonly name: "xPufETH";
715
+ readonly type: "address";
716
+ readonly internalType: "address";
717
+ }, {
718
+ readonly name: "l1RewardManager";
719
+ readonly type: "address";
720
+ readonly internalType: "address";
721
+ }];
722
+ readonly stateMutability: "nonpayable";
723
+ }, {
724
+ readonly type: "function";
725
+ readonly name: "L1_REWARD_MANAGER";
726
+ readonly inputs: readonly [];
727
+ readonly outputs: readonly [{
728
+ readonly name: "";
729
+ readonly type: "address";
730
+ readonly internalType: "address";
731
+ }];
732
+ readonly stateMutability: "view";
733
+ }, {
734
+ readonly type: "function";
735
+ readonly name: "UPGRADE_INTERFACE_VERSION";
736
+ readonly inputs: readonly [];
737
+ readonly outputs: readonly [{
738
+ readonly name: "";
739
+ readonly type: "string";
740
+ readonly internalType: "string";
741
+ }];
742
+ readonly stateMutability: "view";
743
+ }, {
744
+ readonly type: "function";
745
+ readonly name: "XPUFETH";
746
+ readonly inputs: readonly [];
747
+ readonly outputs: readonly [{
748
+ readonly name: "";
749
+ readonly type: "address";
750
+ readonly internalType: "contract IERC20";
751
+ }];
752
+ readonly stateMutability: "view";
753
+ }, {
754
+ readonly type: "function";
755
+ readonly name: "authority";
756
+ readonly inputs: readonly [];
757
+ readonly outputs: readonly [{
758
+ readonly name: "";
759
+ readonly type: "address";
760
+ readonly internalType: "address";
761
+ }];
762
+ readonly stateMutability: "view";
763
+ }, {
764
+ readonly type: "function";
765
+ readonly name: "claimRewards";
766
+ readonly inputs: readonly [{
767
+ readonly name: "claimOrders";
768
+ readonly type: "tuple[]";
769
+ readonly internalType: "struct IL2RewardManager.ClaimOrder[]";
770
+ readonly components: readonly [{
771
+ readonly name: "intervalId";
772
+ readonly type: "bytes32";
773
+ readonly internalType: "bytes32";
774
+ }, {
775
+ readonly name: "amount";
776
+ readonly type: "uint256";
777
+ readonly internalType: "uint256";
778
+ }, {
779
+ readonly name: "isL1Contract";
780
+ readonly type: "bool";
781
+ readonly internalType: "bool";
782
+ }, {
783
+ readonly name: "account";
784
+ readonly type: "address";
785
+ readonly internalType: "address";
786
+ }, {
787
+ readonly name: "merkleProof";
788
+ readonly type: "bytes32[]";
789
+ readonly internalType: "bytes32[]";
790
+ }];
791
+ }];
792
+ readonly outputs: readonly [];
793
+ readonly stateMutability: "nonpayable";
794
+ }, {
795
+ readonly type: "function";
796
+ readonly name: "freezeAndRevertInterval";
797
+ readonly inputs: readonly [{
798
+ readonly name: "bridge";
799
+ readonly type: "address";
800
+ readonly internalType: "address";
801
+ }, {
802
+ readonly name: "startEpoch";
803
+ readonly type: "uint256";
804
+ readonly internalType: "uint256";
805
+ }, {
806
+ readonly name: "endEpoch";
807
+ readonly type: "uint256";
808
+ readonly internalType: "uint256";
809
+ }];
810
+ readonly outputs: readonly [];
811
+ readonly stateMutability: "payable";
812
+ }, {
813
+ readonly type: "function";
814
+ readonly name: "freezeClaimingForInterval";
815
+ readonly inputs: readonly [{
816
+ readonly name: "startEpoch";
817
+ readonly type: "uint256";
818
+ readonly internalType: "uint256";
819
+ }, {
820
+ readonly name: "endEpoch";
821
+ readonly type: "uint256";
822
+ readonly internalType: "uint256";
823
+ }];
824
+ readonly outputs: readonly [];
825
+ readonly stateMutability: "nonpayable";
826
+ }, {
827
+ readonly type: "function";
828
+ readonly name: "getClaimingDelay";
829
+ readonly inputs: readonly [];
830
+ readonly outputs: readonly [{
831
+ readonly name: "";
832
+ readonly type: "uint256";
833
+ readonly internalType: "uint256";
834
+ }];
835
+ readonly stateMutability: "view";
836
+ }, {
837
+ readonly type: "function";
838
+ readonly name: "getEpochRecord";
839
+ readonly inputs: readonly [{
840
+ readonly name: "intervalId";
841
+ readonly type: "bytes32";
842
+ readonly internalType: "bytes32";
843
+ }];
844
+ readonly outputs: readonly [{
845
+ readonly name: "";
846
+ readonly type: "tuple";
847
+ readonly internalType: "struct L2RewardManagerStorage.EpochRecord";
848
+ readonly components: readonly [{
849
+ readonly name: "startEpoch";
850
+ readonly type: "uint104";
851
+ readonly internalType: "uint104";
852
+ }, {
853
+ readonly name: "endEpoch";
854
+ readonly type: "uint104";
855
+ readonly internalType: "uint104";
856
+ }, {
857
+ readonly name: "timeBridged";
858
+ readonly type: "uint48";
859
+ readonly internalType: "uint48";
860
+ }, {
861
+ readonly name: "pufETHAmount";
862
+ readonly type: "uint128";
863
+ readonly internalType: "uint128";
864
+ }, {
865
+ readonly name: "ethAmount";
866
+ readonly type: "uint128";
867
+ readonly internalType: "uint128";
868
+ }, {
869
+ readonly name: "ethToPufETHRate";
870
+ readonly type: "uint256";
871
+ readonly internalType: "uint256";
872
+ }, {
873
+ readonly name: "rewardRoot";
874
+ readonly type: "bytes32";
875
+ readonly internalType: "bytes32";
876
+ }];
877
+ }];
878
+ readonly stateMutability: "view";
879
+ }, {
880
+ readonly type: "function";
881
+ readonly name: "getIntervalId";
882
+ readonly inputs: readonly [{
883
+ readonly name: "startEpoch";
884
+ readonly type: "uint256";
885
+ readonly internalType: "uint256";
886
+ }, {
887
+ readonly name: "endEpoch";
888
+ readonly type: "uint256";
889
+ readonly internalType: "uint256";
890
+ }];
891
+ readonly outputs: readonly [{
892
+ readonly name: "";
893
+ readonly type: "bytes32";
894
+ readonly internalType: "bytes32";
895
+ }];
896
+ readonly stateMutability: "pure";
897
+ }, {
898
+ readonly type: "function";
899
+ readonly name: "getRewardsClaimer";
900
+ readonly inputs: readonly [{
901
+ readonly name: "account";
902
+ readonly type: "address";
903
+ readonly internalType: "address";
904
+ }];
905
+ readonly outputs: readonly [{
906
+ readonly name: "";
907
+ readonly type: "address";
908
+ readonly internalType: "address";
909
+ }];
910
+ readonly stateMutability: "view";
911
+ }, {
912
+ readonly type: "function";
913
+ readonly name: "initialize";
914
+ readonly inputs: readonly [{
915
+ readonly name: "accessManager";
916
+ readonly type: "address";
917
+ readonly internalType: "address";
918
+ }];
919
+ readonly outputs: readonly [];
920
+ readonly stateMutability: "nonpayable";
921
+ }, {
922
+ readonly type: "function";
923
+ readonly name: "isClaimed";
924
+ readonly inputs: readonly [{
925
+ readonly name: "intervalId";
926
+ readonly type: "bytes32";
927
+ readonly internalType: "bytes32";
928
+ }, {
929
+ readonly name: "account";
930
+ readonly type: "address";
931
+ readonly internalType: "address";
932
+ }];
933
+ readonly outputs: readonly [{
934
+ readonly name: "";
935
+ readonly type: "bool";
936
+ readonly internalType: "bool";
937
+ }];
938
+ readonly stateMutability: "view";
939
+ }, {
940
+ readonly type: "function";
941
+ readonly name: "isClaimingLocked";
942
+ readonly inputs: readonly [{
943
+ readonly name: "intervalId";
944
+ readonly type: "bytes32";
945
+ readonly internalType: "bytes32";
946
+ }];
947
+ readonly outputs: readonly [{
948
+ readonly name: "";
949
+ readonly type: "bool";
950
+ readonly internalType: "bool";
951
+ }];
952
+ readonly stateMutability: "view";
953
+ }, {
954
+ readonly type: "function";
955
+ readonly name: "isConsumingScheduledOp";
956
+ readonly inputs: readonly [];
957
+ readonly outputs: readonly [{
958
+ readonly name: "";
959
+ readonly type: "bytes4";
960
+ readonly internalType: "bytes4";
961
+ }];
962
+ readonly stateMutability: "view";
963
+ }, {
964
+ readonly type: "function";
965
+ readonly name: "proxiableUUID";
966
+ readonly inputs: readonly [];
967
+ readonly outputs: readonly [{
968
+ readonly name: "";
969
+ readonly type: "bytes32";
970
+ readonly internalType: "bytes32";
971
+ }];
972
+ readonly stateMutability: "view";
973
+ }, {
974
+ readonly type: "function";
975
+ readonly name: "revertInterval";
976
+ readonly inputs: readonly [{
977
+ readonly name: "bridge";
978
+ readonly type: "address";
979
+ readonly internalType: "address";
980
+ }, {
981
+ readonly name: "startEpoch";
982
+ readonly type: "uint256";
983
+ readonly internalType: "uint256";
984
+ }, {
985
+ readonly name: "endEpoch";
986
+ readonly type: "uint256";
987
+ readonly internalType: "uint256";
988
+ }];
989
+ readonly outputs: readonly [];
990
+ readonly stateMutability: "payable";
991
+ }, {
992
+ readonly type: "function";
993
+ readonly name: "setAuthority";
994
+ readonly inputs: readonly [{
995
+ readonly name: "newAuthority";
996
+ readonly type: "address";
997
+ readonly internalType: "address";
998
+ }];
999
+ readonly outputs: readonly [];
1000
+ readonly stateMutability: "nonpayable";
1001
+ }, {
1002
+ readonly type: "function";
1003
+ readonly name: "setDelayPeriod";
1004
+ readonly inputs: readonly [{
1005
+ readonly name: "delayPeriod";
1006
+ readonly type: "uint256";
1007
+ readonly internalType: "uint256";
1008
+ }];
1009
+ readonly outputs: readonly [];
1010
+ readonly stateMutability: "nonpayable";
1011
+ }, {
1012
+ readonly type: "function";
1013
+ readonly name: "updateBridgeData";
1014
+ readonly inputs: readonly [{
1015
+ readonly name: "bridge";
1016
+ readonly type: "address";
1017
+ readonly internalType: "address";
1018
+ }, {
1019
+ readonly name: "bridgeData";
1020
+ readonly type: "tuple";
1021
+ readonly internalType: "struct L2RewardManagerStorage.BridgeData";
1022
+ readonly components: readonly [{
1023
+ readonly name: "destinationDomainId";
1024
+ readonly type: "uint32";
1025
+ readonly internalType: "uint32";
1026
+ }];
1027
+ }];
1028
+ readonly outputs: readonly [];
1029
+ readonly stateMutability: "nonpayable";
1030
+ }, {
1031
+ readonly type: "function";
1032
+ readonly name: "upgradeToAndCall";
1033
+ readonly inputs: readonly [{
1034
+ readonly name: "newImplementation";
1035
+ readonly type: "address";
1036
+ readonly internalType: "address";
1037
+ }, {
1038
+ readonly name: "data";
1039
+ readonly type: "bytes";
1040
+ readonly internalType: "bytes";
1041
+ }];
1042
+ readonly outputs: readonly [];
1043
+ readonly stateMutability: "payable";
1044
+ }, {
1045
+ readonly type: "function";
1046
+ readonly name: "xReceive";
1047
+ readonly inputs: readonly [{
1048
+ readonly name: "";
1049
+ readonly type: "bytes32";
1050
+ readonly internalType: "bytes32";
1051
+ }, {
1052
+ readonly name: "amount";
1053
+ readonly type: "uint256";
1054
+ readonly internalType: "uint256";
1055
+ }, {
1056
+ readonly name: "";
1057
+ readonly type: "address";
1058
+ readonly internalType: "address";
1059
+ }, {
1060
+ readonly name: "originSender";
1061
+ readonly type: "address";
1062
+ readonly internalType: "address";
1063
+ }, {
1064
+ readonly name: "originDomainId";
1065
+ readonly type: "uint32";
1066
+ readonly internalType: "uint32";
1067
+ }, {
1068
+ readonly name: "callData";
1069
+ readonly type: "bytes";
1070
+ readonly internalType: "bytes";
1071
+ }];
1072
+ readonly outputs: readonly [{
1073
+ readonly name: "";
1074
+ readonly type: "bytes";
1075
+ readonly internalType: "bytes";
1076
+ }];
1077
+ readonly stateMutability: "nonpayable";
1078
+ }, {
1079
+ readonly type: "event";
1080
+ readonly name: "AuthorityUpdated";
1081
+ readonly inputs: readonly [{
1082
+ readonly name: "authority";
1083
+ readonly type: "address";
1084
+ readonly indexed: false;
1085
+ readonly internalType: "address";
1086
+ }];
1087
+ readonly anonymous: false;
1088
+ }, {
1089
+ readonly type: "event";
1090
+ readonly name: "BridgeDataUpdated";
1091
+ readonly inputs: readonly [{
1092
+ readonly name: "bridge";
1093
+ readonly type: "address";
1094
+ readonly indexed: true;
1095
+ readonly internalType: "address";
1096
+ }, {
1097
+ readonly name: "bridgeData";
1098
+ readonly type: "tuple";
1099
+ readonly indexed: false;
1100
+ readonly internalType: "struct L2RewardManagerStorage.BridgeData";
1101
+ readonly components: readonly [{
1102
+ readonly name: "destinationDomainId";
1103
+ readonly type: "uint32";
1104
+ readonly internalType: "uint32";
1105
+ }];
1106
+ }];
1107
+ readonly anonymous: false;
1108
+ }, {
1109
+ readonly type: "event";
1110
+ readonly name: "Claimed";
1111
+ readonly inputs: readonly [{
1112
+ readonly name: "account";
1113
+ readonly type: "address";
1114
+ readonly indexed: true;
1115
+ readonly internalType: "address";
1116
+ }, {
1117
+ readonly name: "recipient";
1118
+ readonly type: "address";
1119
+ readonly indexed: true;
1120
+ readonly internalType: "address";
1121
+ }, {
1122
+ readonly name: "intervalId";
1123
+ readonly type: "bytes32";
1124
+ readonly indexed: true;
1125
+ readonly internalType: "bytes32";
1126
+ }, {
1127
+ readonly name: "amount";
1128
+ readonly type: "uint256";
1129
+ readonly indexed: false;
1130
+ readonly internalType: "uint256";
1131
+ }];
1132
+ readonly anonymous: false;
1133
+ }, {
1134
+ readonly type: "event";
1135
+ readonly name: "ClaimerSet";
1136
+ readonly inputs: readonly [{
1137
+ readonly name: "account";
1138
+ readonly type: "address";
1139
+ readonly indexed: true;
1140
+ readonly internalType: "address";
1141
+ }, {
1142
+ readonly name: "claimer";
1143
+ readonly type: "address";
1144
+ readonly indexed: true;
1145
+ readonly internalType: "address";
1146
+ }];
1147
+ readonly anonymous: false;
1148
+ }, {
1149
+ readonly type: "event";
1150
+ readonly name: "ClaimingDelayChanged";
1151
+ readonly inputs: readonly [{
1152
+ readonly name: "oldDelay";
1153
+ readonly type: "uint256";
1154
+ readonly indexed: false;
1155
+ readonly internalType: "uint256";
1156
+ }, {
1157
+ readonly name: "newDelay";
1158
+ readonly type: "uint256";
1159
+ readonly indexed: false;
1160
+ readonly internalType: "uint256";
1161
+ }];
1162
+ readonly anonymous: false;
1163
+ }, {
1164
+ readonly type: "event";
1165
+ readonly name: "ClaimingIntervalFrozen";
1166
+ readonly inputs: readonly [{
1167
+ readonly name: "startEpoch";
1168
+ readonly type: "uint256";
1169
+ readonly indexed: false;
1170
+ readonly internalType: "uint256";
1171
+ }, {
1172
+ readonly name: "endEpoch";
1173
+ readonly type: "uint256";
1174
+ readonly indexed: false;
1175
+ readonly internalType: "uint256";
1176
+ }];
1177
+ readonly anonymous: false;
1178
+ }, {
1179
+ readonly type: "event";
1180
+ readonly name: "ClaimingIntervalReverted";
1181
+ readonly inputs: readonly [{
1182
+ readonly name: "startEpoch";
1183
+ readonly type: "uint256";
1184
+ readonly indexed: false;
1185
+ readonly internalType: "uint256";
1186
+ }, {
1187
+ readonly name: "endEpoch";
1188
+ readonly type: "uint256";
1189
+ readonly indexed: false;
1190
+ readonly internalType: "uint256";
1191
+ }, {
1192
+ readonly name: "intervalId";
1193
+ readonly type: "bytes32";
1194
+ readonly indexed: true;
1195
+ readonly internalType: "bytes32";
1196
+ }, {
1197
+ readonly name: "pufETHAmount";
1198
+ readonly type: "uint256";
1199
+ readonly indexed: false;
1200
+ readonly internalType: "uint256";
1201
+ }, {
1202
+ readonly name: "rewardsRoot";
1203
+ readonly type: "bytes32";
1204
+ readonly indexed: false;
1205
+ readonly internalType: "bytes32";
1206
+ }];
1207
+ readonly anonymous: false;
1208
+ }, {
1209
+ readonly type: "event";
1210
+ readonly name: "Initialized";
1211
+ readonly inputs: readonly [{
1212
+ readonly name: "version";
1213
+ readonly type: "uint64";
1214
+ readonly indexed: false;
1215
+ readonly internalType: "uint64";
1216
+ }];
1217
+ readonly anonymous: false;
1218
+ }, {
1219
+ readonly type: "event";
1220
+ readonly name: "RewardRootAndRatePosted";
1221
+ readonly inputs: readonly [{
1222
+ readonly name: "rewardsAmount";
1223
+ readonly type: "uint256";
1224
+ readonly indexed: false;
1225
+ readonly internalType: "uint256";
1226
+ }, {
1227
+ readonly name: "ethToPufETHRate";
1228
+ readonly type: "uint256";
1229
+ readonly indexed: false;
1230
+ readonly internalType: "uint256";
1231
+ }, {
1232
+ readonly name: "startEpoch";
1233
+ readonly type: "uint256";
1234
+ readonly indexed: false;
1235
+ readonly internalType: "uint256";
1236
+ }, {
1237
+ readonly name: "endEpoch";
1238
+ readonly type: "uint256";
1239
+ readonly indexed: false;
1240
+ readonly internalType: "uint256";
1241
+ }, {
1242
+ readonly name: "intervalId";
1243
+ readonly type: "bytes32";
1244
+ readonly indexed: true;
1245
+ readonly internalType: "bytes32";
1246
+ }, {
1247
+ readonly name: "rewardsRoot";
1248
+ readonly type: "bytes32";
1249
+ readonly indexed: false;
1250
+ readonly internalType: "bytes32";
1251
+ }];
1252
+ readonly anonymous: false;
1253
+ }, {
1254
+ readonly type: "event";
1255
+ readonly name: "Upgraded";
1256
+ readonly inputs: readonly [{
1257
+ readonly name: "implementation";
1258
+ readonly type: "address";
1259
+ readonly indexed: true;
1260
+ readonly internalType: "address";
1261
+ }];
1262
+ readonly anonymous: false;
1263
+ }, {
1264
+ readonly type: "error";
1265
+ readonly name: "AccessManagedInvalidAuthority";
1266
+ readonly inputs: readonly [{
1267
+ readonly name: "authority";
1268
+ readonly type: "address";
1269
+ readonly internalType: "address";
1270
+ }];
1271
+ }, {
1272
+ readonly type: "error";
1273
+ readonly name: "AccessManagedRequiredDelay";
1274
+ readonly inputs: readonly [{
1275
+ readonly name: "caller";
1276
+ readonly type: "address";
1277
+ readonly internalType: "address";
1278
+ }, {
1279
+ readonly name: "delay";
1280
+ readonly type: "uint32";
1281
+ readonly internalType: "uint32";
1282
+ }];
1283
+ }, {
1284
+ readonly type: "error";
1285
+ readonly name: "AccessManagedUnauthorized";
1286
+ readonly inputs: readonly [{
1287
+ readonly name: "caller";
1288
+ readonly type: "address";
1289
+ readonly internalType: "address";
1290
+ }];
1291
+ }, {
1292
+ readonly type: "error";
1293
+ readonly name: "AddressEmptyCode";
1294
+ readonly inputs: readonly [{
1295
+ readonly name: "target";
1296
+ readonly type: "address";
1297
+ readonly internalType: "address";
1298
+ }];
1299
+ }, {
1300
+ readonly type: "error";
1301
+ readonly name: "AlreadyClaimed";
1302
+ readonly inputs: readonly [{
1303
+ readonly name: "intervalId";
1304
+ readonly type: "bytes32";
1305
+ readonly internalType: "bytes32";
1306
+ }, {
1307
+ readonly name: "account";
1308
+ readonly type: "address";
1309
+ readonly internalType: "address";
1310
+ }];
1311
+ }, {
1312
+ readonly type: "error";
1313
+ readonly name: "BridgeNotAllowlisted";
1314
+ readonly inputs: readonly [];
1315
+ }, {
1316
+ readonly type: "error";
1317
+ readonly name: "ClaimerNotSet";
1318
+ readonly inputs: readonly [{
1319
+ readonly name: "node";
1320
+ readonly type: "address";
1321
+ readonly internalType: "address";
1322
+ }];
1323
+ }, {
1324
+ readonly type: "error";
1325
+ readonly name: "ClaimingLocked";
1326
+ readonly inputs: readonly [{
1327
+ readonly name: "intervalId";
1328
+ readonly type: "bytes32";
1329
+ readonly internalType: "bytes32";
1330
+ }, {
1331
+ readonly name: "account";
1332
+ readonly type: "address";
1333
+ readonly internalType: "address";
1334
+ }, {
1335
+ readonly name: "lockedUntil";
1336
+ readonly type: "uint256";
1337
+ readonly internalType: "uint256";
1338
+ }];
1339
+ }, {
1340
+ readonly type: "error";
1341
+ readonly name: "ERC1967InvalidImplementation";
1342
+ readonly inputs: readonly [{
1343
+ readonly name: "implementation";
1344
+ readonly type: "address";
1345
+ readonly internalType: "address";
1346
+ }];
1347
+ }, {
1348
+ readonly type: "error";
1349
+ readonly name: "ERC1967NonPayable";
1350
+ readonly inputs: readonly [];
1351
+ }, {
1352
+ readonly type: "error";
1353
+ readonly name: "FailedInnerCall";
1354
+ readonly inputs: readonly [];
1355
+ }, {
1356
+ readonly type: "error";
1357
+ readonly name: "InvalidAddress";
1358
+ readonly inputs: readonly [];
1359
+ }, {
1360
+ readonly type: "error";
1361
+ readonly name: "InvalidAmount";
1362
+ readonly inputs: readonly [];
1363
+ }, {
1364
+ readonly type: "error";
1365
+ readonly name: "InvalidClaimingInterval";
1366
+ readonly inputs: readonly [{
1367
+ readonly name: "claimingInterval";
1368
+ readonly type: "bytes32";
1369
+ readonly internalType: "bytes32";
1370
+ }];
1371
+ }, {
1372
+ readonly type: "error";
1373
+ readonly name: "InvalidDelayPeriod";
1374
+ readonly inputs: readonly [];
1375
+ }, {
1376
+ readonly type: "error";
1377
+ readonly name: "InvalidInitialization";
1378
+ readonly inputs: readonly [];
1379
+ }, {
1380
+ readonly type: "error";
1381
+ readonly name: "InvalidProof";
1382
+ readonly inputs: readonly [];
1383
+ }, {
1384
+ readonly type: "error";
1385
+ readonly name: "NotInitializing";
1386
+ readonly inputs: readonly [];
1387
+ }, {
1388
+ readonly type: "error";
1389
+ readonly name: "RelockingIntervalIsNotAllowed";
1390
+ readonly inputs: readonly [];
1391
+ }, {
1392
+ readonly type: "error";
1393
+ readonly name: "UUPSUnauthorizedCallContext";
1394
+ readonly inputs: readonly [];
1395
+ }, {
1396
+ readonly type: "error";
1397
+ readonly name: "UUPSUnsupportedProxiableUUID";
1398
+ readonly inputs: readonly [{
1399
+ readonly name: "slot";
1400
+ readonly type: "bytes32";
1401
+ readonly internalType: "bytes32";
1402
+ }];
1403
+ }, {
1404
+ readonly type: "error";
1405
+ readonly name: "UnableToFreezeInterval";
1406
+ readonly inputs: readonly [];
1407
+ }, {
1408
+ readonly type: "error";
1409
+ readonly name: "UnableToRevertInterval";
1410
+ readonly inputs: readonly [];
1411
+ }, {
1412
+ readonly type: "error";
1413
+ readonly name: "Unauthorized";
1414
+ readonly inputs: readonly [];
1415
+ }];
1416
+ };
1417
+ [Chain.Base]: {
3
1418
  L2RewardManager: readonly [{
4
1419
  readonly type: "constructor";
5
1420
  readonly inputs: readonly [{