@pufferfinance/puffer-sdk 1.13.1 → 1.14.0

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