damm-sdk 1.1.27 → 1.1.28

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 (39) hide show
  1. package/dist/index.cjs +4131 -2334
  2. package/dist/index.cjs.map +33 -24
  3. package/dist/index.js +1376 -96
  4. package/dist/index.js.map +16 -13
  5. package/dist/integrations/gnosis/gnosis.d.ts +1 -1
  6. package/dist/integrations/gnosis/gnosis.d.ts.map +1 -1
  7. package/dist/integrations/index.d.ts +1 -0
  8. package/dist/integrations/index.d.ts.map +1 -1
  9. package/dist/integrations/morphoBlue/index.d.ts +3 -0
  10. package/dist/integrations/morphoBlue/index.d.ts.map +1 -0
  11. package/dist/integrations/morphoBlue/morpho.blue.abi.d.ts +62 -0
  12. package/dist/integrations/morphoBlue/morpho.blue.abi.d.ts.map +1 -0
  13. package/dist/integrations/morphoBlue/morpho.blue.d.ts +92 -0
  14. package/dist/integrations/morphoBlue/morpho.blue.d.ts.map +1 -0
  15. package/dist/integrations/zodiac/delay/index.d.ts +3 -0
  16. package/dist/integrations/zodiac/delay/index.d.ts.map +1 -0
  17. package/dist/integrations/zodiac/delay/zodiac.delay.abi.d.ts +722 -0
  18. package/dist/integrations/zodiac/delay/zodiac.delay.abi.d.ts.map +1 -0
  19. package/dist/integrations/zodiac/delay/zodiac.delay.d.ts +19 -0
  20. package/dist/integrations/zodiac/delay/zodiac.delay.d.ts.map +1 -0
  21. package/dist/integrations/zodiac/index.d.ts +1 -0
  22. package/dist/integrations/zodiac/index.d.ts.map +1 -1
  23. package/dist/integrations/zodiac/roles/zodiac.roles.d.ts +13 -2
  24. package/dist/integrations/zodiac/roles/zodiac.roles.d.ts.map +1 -1
  25. package/dist/lib/constants.d.ts +1 -0
  26. package/dist/lib/constants.d.ts.map +1 -1
  27. package/package.json +3 -3
  28. package/src/integrations/aaveV3/aave.v3.ts +1 -1
  29. package/src/integrations/index.ts +1 -0
  30. package/src/integrations/morphoBlue/index.ts +2 -0
  31. package/src/integrations/morphoBlue/morpho.blue.abi.ts +612 -0
  32. package/src/integrations/morphoBlue/morpho.blue.ts +253 -0
  33. package/src/integrations/zodiac/delay/index.ts +2 -0
  34. package/src/integrations/zodiac/delay/zodiac.delay.abi.ts +394 -0
  35. package/src/integrations/zodiac/delay/zodiac.delay.ts +60 -0
  36. package/src/integrations/zodiac/index.ts +1 -0
  37. package/src/integrations/zodiac/roles/zodiac.roles.ts +42 -4
  38. package/src/lib/constants.ts +2 -0
  39. package/src/lib/contractsRegistry.json +86 -25
@@ -0,0 +1,253 @@
1
+ import { ethers } from "ethers";
2
+ import type { Address } from "viem";
3
+ import type { Call, HexString } from "../../types/index.ts";
4
+ import MorphoBlueAbi from "./morpho.blue.abi.ts";
5
+
6
+ const morphoInterface = new ethers.utils.Interface(MorphoBlueAbi);
7
+
8
+ // -----------------------------------------------------------------------------
9
+ // Types
10
+ // -----------------------------------------------------------------------------
11
+
12
+ /**
13
+ * Parameters that uniquely identify a Morpho Blue market.
14
+ */
15
+ export type MorphoBlueMarketParams = Readonly<{
16
+ loanToken: Address;
17
+ collateralToken: Address;
18
+ oracle: Address;
19
+ irm: Address;
20
+ lltv: bigint;
21
+ }>;
22
+
23
+ // -------------------------------- supplyCollateral ---------------------------
24
+
25
+ export type SupplyCollateralMorphoBlueArgs = Readonly<{
26
+ marketParams: MorphoBlueMarketParams;
27
+ assets: bigint;
28
+ onBehalf: Address;
29
+ /**
30
+ * Optional arbitrary data forwarded to hooks. Defaults to 0x.
31
+ */
32
+ data?: HexString;
33
+ }>;
34
+
35
+ export const SupplyCollateralMorphoBlueCalldata = ({
36
+ marketParams,
37
+ assets,
38
+ onBehalf,
39
+ data = "0x",
40
+ }: SupplyCollateralMorphoBlueArgs): HexString => {
41
+ return morphoInterface.encodeFunctionData("supplyCollateral", [marketParams, assets, onBehalf, data]) as HexString;
42
+ };
43
+
44
+ export const supplyCollateralMorphoBlueTrx = ({
45
+ args,
46
+ morphoAddress,
47
+ }: {
48
+ args: SupplyCollateralMorphoBlueArgs;
49
+ morphoAddress: Address;
50
+ }): Call => {
51
+ return {
52
+ operation: 0,
53
+ to: morphoAddress,
54
+ value: 0n,
55
+ data: SupplyCollateralMorphoBlueCalldata(args),
56
+ };
57
+ };
58
+
59
+ // -------------------------------- withdrawCollateral -------------------------
60
+
61
+ export type WithdrawCollateralMorphoBlueArgs = Readonly<{
62
+ marketParams: MorphoBlueMarketParams;
63
+ assets: bigint;
64
+ onBehalf: Address;
65
+ receiver: Address;
66
+ }>;
67
+
68
+ export const WithdrawCollateralMorphoBlueCalldata = ({
69
+ marketParams,
70
+ assets,
71
+ onBehalf,
72
+ receiver,
73
+ }: WithdrawCollateralMorphoBlueArgs): HexString => {
74
+ return morphoInterface.encodeFunctionData("withdrawCollateral", [
75
+ marketParams,
76
+ assets,
77
+ onBehalf,
78
+ receiver,
79
+ ]) as HexString;
80
+ };
81
+
82
+ export const withdrawCollateralMorphoBlueTrx = ({
83
+ args,
84
+ morphoAddress,
85
+ }: {
86
+ args: WithdrawCollateralMorphoBlueArgs;
87
+ morphoAddress: Address;
88
+ }): Call => {
89
+ return {
90
+ operation: 0,
91
+ to: morphoAddress,
92
+ value: 0n,
93
+ data: WithdrawCollateralMorphoBlueCalldata(args),
94
+ };
95
+ };
96
+
97
+ // -------------------------------- borrow -------------------------------------
98
+
99
+ export type BorrowMorphoBlueArgs = Readonly<{
100
+ marketParams: MorphoBlueMarketParams;
101
+ assets: bigint;
102
+ shares: bigint;
103
+ onBehalf: Address;
104
+ receiver: Address;
105
+ }>;
106
+
107
+ export const BorrowMorphoBlueCalldata = ({
108
+ marketParams,
109
+ assets,
110
+ shares,
111
+ onBehalf,
112
+ receiver,
113
+ }: BorrowMorphoBlueArgs): HexString => {
114
+ return morphoInterface.encodeFunctionData("borrow", [
115
+ marketParams,
116
+ assets,
117
+ shares,
118
+ onBehalf,
119
+ receiver,
120
+ ]) as HexString;
121
+ };
122
+
123
+ export const borrowMorphoBlueTrx = ({
124
+ args,
125
+ morphoAddress,
126
+ }: {
127
+ args: BorrowMorphoBlueArgs;
128
+ morphoAddress: Address;
129
+ }): Call => {
130
+ return {
131
+ operation: 0,
132
+ to: morphoAddress,
133
+ value: 0n,
134
+ data: BorrowMorphoBlueCalldata(args),
135
+ };
136
+ };
137
+
138
+ // -------------------------------- repay --------------------------------------
139
+
140
+ export type RepayMorphoBlueArgs = Readonly<{
141
+ marketParams: MorphoBlueMarketParams;
142
+ assets: bigint;
143
+ shares: bigint;
144
+ onBehalf: Address;
145
+ /**
146
+ * Optional arbitrary data forwarded to hooks. Defaults to 0x.
147
+ */
148
+ data?: HexString;
149
+ }>;
150
+
151
+ export const RepayMorphoBlueCalldata = ({
152
+ marketParams,
153
+ assets,
154
+ shares,
155
+ onBehalf,
156
+ data = "0x",
157
+ }: RepayMorphoBlueArgs): HexString => {
158
+ return morphoInterface.encodeFunctionData("repay", [marketParams, assets, shares, onBehalf, data]) as HexString;
159
+ };
160
+
161
+ export const repayMorphoBlueTrx = ({
162
+ args,
163
+ morphoAddress,
164
+ }: {
165
+ args: RepayMorphoBlueArgs;
166
+ morphoAddress: Address;
167
+ }): Call => {
168
+ return {
169
+ operation: 0,
170
+ to: morphoAddress,
171
+ value: 0n,
172
+ data: RepayMorphoBlueCalldata(args),
173
+ };
174
+ };
175
+
176
+ // -------------------------------- supply -------------------------------------
177
+
178
+ export type SupplyMorphoBlueArgs = Readonly<{
179
+ marketParams: MorphoBlueMarketParams;
180
+ assets: bigint;
181
+ shares: bigint;
182
+ onBehalf: Address;
183
+ /**
184
+ * Optional arbitrary data forwarded to hooks. Defaults to 0x.
185
+ */
186
+ data?: HexString;
187
+ }>;
188
+
189
+ export const SupplyMorphoBlueCalldata = ({
190
+ marketParams,
191
+ assets,
192
+ shares,
193
+ onBehalf,
194
+ data = "0x",
195
+ }: SupplyMorphoBlueArgs): HexString => {
196
+ return morphoInterface.encodeFunctionData("supply", [marketParams, assets, shares, onBehalf, data]) as HexString;
197
+ };
198
+
199
+ export const supplyMorphoBlueTrx = ({
200
+ args,
201
+ morphoAddress,
202
+ }: {
203
+ args: SupplyMorphoBlueArgs;
204
+ morphoAddress: Address;
205
+ }): Call => {
206
+ return {
207
+ operation: 0,
208
+ to: morphoAddress,
209
+ value: 0n,
210
+ data: SupplyMorphoBlueCalldata(args),
211
+ };
212
+ };
213
+
214
+ // -------------------------------- withdraw ------------------------------------
215
+
216
+ export type WithdrawMorphoBlueArgs = Readonly<{
217
+ marketParams: MorphoBlueMarketParams;
218
+ assets: bigint;
219
+ shares: bigint;
220
+ onBehalf: Address;
221
+ receiver: Address;
222
+ }>;
223
+
224
+ export const WithdrawMorphoBlueCalldata = ({
225
+ marketParams,
226
+ assets,
227
+ shares,
228
+ onBehalf,
229
+ receiver,
230
+ }: WithdrawMorphoBlueArgs): HexString => {
231
+ return morphoInterface.encodeFunctionData("withdraw", [
232
+ marketParams,
233
+ assets,
234
+ shares,
235
+ onBehalf,
236
+ receiver,
237
+ ]) as HexString;
238
+ };
239
+
240
+ export const withdrawMorphoBlueTrx = ({
241
+ args,
242
+ morphoAddress,
243
+ }: {
244
+ args: WithdrawMorphoBlueArgs;
245
+ morphoAddress: Address;
246
+ }): Call => {
247
+ return {
248
+ operation: 0,
249
+ to: morphoAddress,
250
+ value: 0n,
251
+ data: WithdrawMorphoBlueCalldata(args),
252
+ };
253
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./zodiac.delay.abi";
2
+ export * from "./zodiac.delay";
@@ -0,0 +1,394 @@
1
+ export default [
2
+ {
3
+ inputs: [
4
+ { internalType: "address", name: "_owner", type: "address" },
5
+ { internalType: "address", name: "_avatar", type: "address" },
6
+ { internalType: "address", name: "_target", type: "address" },
7
+ { internalType: "uint256", name: "_cooldown", type: "uint256" },
8
+ { internalType: "uint256", name: "_expiration", type: "uint256" },
9
+ ],
10
+ stateMutability: "nonpayable",
11
+ type: "constructor",
12
+ },
13
+ {
14
+ inputs: [{ internalType: "address", name: "module", type: "address" }],
15
+ name: "AlreadyDisabledModule",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [{ internalType: "address", name: "module", type: "address" }],
20
+ name: "AlreadyEnabledModule",
21
+ type: "error",
22
+ },
23
+ { inputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], name: "HashAlreadyConsumed", type: "error" },
24
+ { inputs: [], name: "InvalidInitialization", type: "error" },
25
+ { inputs: [{ internalType: "address", name: "module", type: "address" }], name: "InvalidModule", type: "error" },
26
+ { inputs: [], name: "InvalidPageSize", type: "error" },
27
+ { inputs: [{ internalType: "address", name: "sender", type: "address" }], name: "NotAuthorized", type: "error" },
28
+ { inputs: [], name: "NotInitializing", type: "error" },
29
+ {
30
+ inputs: [{ internalType: "address", name: "owner", type: "address" }],
31
+ name: "OwnableInvalidOwner",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [{ internalType: "address", name: "account", type: "address" }],
36
+ name: "OwnableUnauthorizedAccount",
37
+ type: "error",
38
+ },
39
+ { inputs: [], name: "SetupModulesAlreadyCalled", type: "error" },
40
+ {
41
+ anonymous: false,
42
+ inputs: [
43
+ { indexed: true, internalType: "address", name: "previousAvatar", type: "address" },
44
+ { indexed: true, internalType: "address", name: "newAvatar", type: "address" },
45
+ ],
46
+ name: "AvatarSet",
47
+ type: "event",
48
+ },
49
+ {
50
+ anonymous: false,
51
+ inputs: [
52
+ { indexed: true, internalType: "address", name: "initiator", type: "address" },
53
+ { indexed: true, internalType: "address", name: "owner", type: "address" },
54
+ { indexed: true, internalType: "address", name: "avatar", type: "address" },
55
+ { indexed: false, internalType: "address", name: "target", type: "address" },
56
+ ],
57
+ name: "DelaySetup",
58
+ type: "event",
59
+ },
60
+ {
61
+ anonymous: false,
62
+ inputs: [{ indexed: false, internalType: "address", name: "module", type: "address" }],
63
+ name: "DisabledModule",
64
+ type: "event",
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [{ indexed: false, internalType: "address", name: "module", type: "address" }],
69
+ name: "EnabledModule",
70
+ type: "event",
71
+ },
72
+ {
73
+ anonymous: false,
74
+ inputs: [{ indexed: true, internalType: "address", name: "module", type: "address" }],
75
+ name: "ExecutionFromModuleFailure",
76
+ type: "event",
77
+ },
78
+ {
79
+ anonymous: false,
80
+ inputs: [{ indexed: true, internalType: "address", name: "module", type: "address" }],
81
+ name: "ExecutionFromModuleSuccess",
82
+ type: "event",
83
+ },
84
+ {
85
+ anonymous: false,
86
+ inputs: [{ indexed: false, internalType: "bytes32", name: "", type: "bytes32" }],
87
+ name: "HashExecuted",
88
+ type: "event",
89
+ },
90
+ {
91
+ anonymous: false,
92
+ inputs: [{ indexed: false, internalType: "bytes32", name: "", type: "bytes32" }],
93
+ name: "HashInvalidated",
94
+ type: "event",
95
+ },
96
+ {
97
+ anonymous: false,
98
+ inputs: [{ indexed: false, internalType: "uint64", name: "version", type: "uint64" }],
99
+ name: "Initialized",
100
+ type: "event",
101
+ },
102
+ {
103
+ anonymous: false,
104
+ inputs: [
105
+ { indexed: true, internalType: "address", name: "previousOwner", type: "address" },
106
+ { indexed: true, internalType: "address", name: "newOwner", type: "address" },
107
+ ],
108
+ name: "OwnershipTransferred",
109
+ type: "event",
110
+ },
111
+ {
112
+ anonymous: false,
113
+ inputs: [
114
+ { indexed: true, internalType: "address", name: "previousTarget", type: "address" },
115
+ { indexed: true, internalType: "address", name: "newTarget", type: "address" },
116
+ ],
117
+ name: "TargetSet",
118
+ type: "event",
119
+ },
120
+ {
121
+ anonymous: false,
122
+ inputs: [
123
+ { indexed: true, internalType: "uint256", name: "queueNonce", type: "uint256" },
124
+ { indexed: true, internalType: "bytes32", name: "txHash", type: "bytes32" },
125
+ { indexed: false, internalType: "address", name: "to", type: "address" },
126
+ { indexed: false, internalType: "uint256", name: "value", type: "uint256" },
127
+ { indexed: false, internalType: "bytes", name: "data", type: "bytes" },
128
+ { indexed: false, internalType: "enum Enum.Operation", name: "operation", type: "uint8" },
129
+ ],
130
+ name: "TransactionAdded",
131
+ type: "event",
132
+ },
133
+ {
134
+ anonymous: false,
135
+ inputs: [{ indexed: false, internalType: "uint256", name: "cooldown", type: "uint256" }],
136
+ name: "TxCooldownSet",
137
+ type: "event",
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [{ indexed: false, internalType: "uint256", name: "expiration", type: "uint256" }],
142
+ name: "TxExpirationSet",
143
+ type: "event",
144
+ },
145
+ {
146
+ anonymous: false,
147
+ inputs: [{ indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }],
148
+ name: "TxNonceSet",
149
+ type: "event",
150
+ },
151
+ {
152
+ inputs: [],
153
+ name: "avatar",
154
+ outputs: [{ internalType: "address", name: "", type: "address" }],
155
+ stateMutability: "view",
156
+ type: "function",
157
+ },
158
+ {
159
+ inputs: [
160
+ { internalType: "address", name: "", type: "address" },
161
+ { internalType: "bytes32", name: "", type: "bytes32" },
162
+ ],
163
+ name: "consumed",
164
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
165
+ stateMutability: "view",
166
+ type: "function",
167
+ },
168
+ {
169
+ inputs: [
170
+ { internalType: "address", name: "prevModule", type: "address" },
171
+ { internalType: "address", name: "module", type: "address" },
172
+ ],
173
+ name: "disableModule",
174
+ outputs: [],
175
+ stateMutability: "nonpayable",
176
+ type: "function",
177
+ },
178
+ {
179
+ inputs: [{ internalType: "address", name: "module", type: "address" }],
180
+ name: "enableModule",
181
+ outputs: [],
182
+ stateMutability: "nonpayable",
183
+ type: "function",
184
+ },
185
+ {
186
+ inputs: [
187
+ { internalType: "address", name: "to", type: "address" },
188
+ { internalType: "uint256", name: "value", type: "uint256" },
189
+ { internalType: "bytes", name: "data", type: "bytes" },
190
+ { internalType: "enum Enum.Operation", name: "operation", type: "uint8" },
191
+ ],
192
+ name: "execTransactionFromModule",
193
+ outputs: [{ internalType: "bool", name: "success", type: "bool" }],
194
+ stateMutability: "nonpayable",
195
+ type: "function",
196
+ },
197
+ {
198
+ inputs: [
199
+ { internalType: "address", name: "to", type: "address" },
200
+ { internalType: "uint256", name: "value", type: "uint256" },
201
+ { internalType: "bytes", name: "data", type: "bytes" },
202
+ { internalType: "enum Enum.Operation", name: "operation", type: "uint8" },
203
+ ],
204
+ name: "execTransactionFromModuleReturnData",
205
+ outputs: [
206
+ { internalType: "bool", name: "success", type: "bool" },
207
+ { internalType: "bytes", name: "returnData", type: "bytes" },
208
+ ],
209
+ stateMutability: "nonpayable",
210
+ type: "function",
211
+ },
212
+ {
213
+ inputs: [
214
+ { internalType: "address", name: "to", type: "address" },
215
+ { internalType: "uint256", name: "value", type: "uint256" },
216
+ { internalType: "bytes", name: "data", type: "bytes" },
217
+ { internalType: "enum Enum.Operation", name: "operation", type: "uint8" },
218
+ ],
219
+ name: "executeNextTx",
220
+ outputs: [],
221
+ stateMutability: "nonpayable",
222
+ type: "function",
223
+ },
224
+ {
225
+ inputs: [
226
+ { internalType: "address", name: "start", type: "address" },
227
+ { internalType: "uint256", name: "pageSize", type: "uint256" },
228
+ ],
229
+ name: "getModulesPaginated",
230
+ outputs: [
231
+ { internalType: "address[]", name: "array", type: "address[]" },
232
+ { internalType: "address", name: "next", type: "address" },
233
+ ],
234
+ stateMutability: "view",
235
+ type: "function",
236
+ },
237
+ {
238
+ inputs: [
239
+ { internalType: "address", name: "to", type: "address" },
240
+ { internalType: "uint256", name: "value", type: "uint256" },
241
+ { internalType: "bytes", name: "data", type: "bytes" },
242
+ { internalType: "enum Enum.Operation", name: "operation", type: "uint8" },
243
+ ],
244
+ name: "getTransactionHash",
245
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
246
+ stateMutability: "pure",
247
+ type: "function",
248
+ },
249
+ {
250
+ inputs: [{ internalType: "uint256", name: "_nonce", type: "uint256" }],
251
+ name: "getTxCreatedAt",
252
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
253
+ stateMutability: "view",
254
+ type: "function",
255
+ },
256
+ {
257
+ inputs: [{ internalType: "uint256", name: "_nonce", type: "uint256" }],
258
+ name: "getTxHash",
259
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
260
+ stateMutability: "view",
261
+ type: "function",
262
+ },
263
+ {
264
+ inputs: [{ internalType: "bytes32", name: "hash", type: "bytes32" }],
265
+ name: "invalidate",
266
+ outputs: [],
267
+ stateMutability: "nonpayable",
268
+ type: "function",
269
+ },
270
+ {
271
+ inputs: [{ internalType: "address", name: "_module", type: "address" }],
272
+ name: "isModuleEnabled",
273
+ outputs: [{ internalType: "bool", name: "", type: "bool" }],
274
+ stateMutability: "view",
275
+ type: "function",
276
+ },
277
+ {
278
+ inputs: [
279
+ { internalType: "bytes", name: "data", type: "bytes" },
280
+ { internalType: "bytes32", name: "salt", type: "bytes32" },
281
+ ],
282
+ name: "moduleTxHash",
283
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
284
+ stateMutability: "view",
285
+ type: "function",
286
+ },
287
+ {
288
+ inputs: [],
289
+ name: "owner",
290
+ outputs: [{ internalType: "address", name: "", type: "address" }],
291
+ stateMutability: "view",
292
+ type: "function",
293
+ },
294
+ {
295
+ inputs: [],
296
+ name: "queueNonce",
297
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
298
+ stateMutability: "view",
299
+ type: "function",
300
+ },
301
+ { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" },
302
+ {
303
+ inputs: [{ internalType: "address", name: "_avatar", type: "address" }],
304
+ name: "setAvatar",
305
+ outputs: [],
306
+ stateMutability: "nonpayable",
307
+ type: "function",
308
+ },
309
+ {
310
+ inputs: [{ internalType: "address", name: "_target", type: "address" }],
311
+ name: "setTarget",
312
+ outputs: [],
313
+ stateMutability: "nonpayable",
314
+ type: "function",
315
+ },
316
+ {
317
+ inputs: [{ internalType: "uint256", name: "_txCooldown", type: "uint256" }],
318
+ name: "setTxCooldown",
319
+ outputs: [],
320
+ stateMutability: "nonpayable",
321
+ type: "function",
322
+ },
323
+ {
324
+ inputs: [{ internalType: "uint256", name: "_txExpiration", type: "uint256" }],
325
+ name: "setTxExpiration",
326
+ outputs: [],
327
+ stateMutability: "nonpayable",
328
+ type: "function",
329
+ },
330
+ {
331
+ inputs: [{ internalType: "uint256", name: "_txNonce", type: "uint256" }],
332
+ name: "setTxNonce",
333
+ outputs: [],
334
+ stateMutability: "nonpayable",
335
+ type: "function",
336
+ },
337
+ {
338
+ inputs: [{ internalType: "bytes", name: "initParams", type: "bytes" }],
339
+ name: "setUp",
340
+ outputs: [],
341
+ stateMutability: "nonpayable",
342
+ type: "function",
343
+ },
344
+ { inputs: [], name: "skipExpired", outputs: [], stateMutability: "nonpayable", type: "function" },
345
+ {
346
+ inputs: [],
347
+ name: "target",
348
+ outputs: [{ internalType: "address", name: "", type: "address" }],
349
+ stateMutability: "view",
350
+ type: "function",
351
+ },
352
+ {
353
+ inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
354
+ name: "transferOwnership",
355
+ outputs: [],
356
+ stateMutability: "nonpayable",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [],
361
+ name: "txCooldown",
362
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
363
+ stateMutability: "view",
364
+ type: "function",
365
+ },
366
+ {
367
+ inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
368
+ name: "txCreatedAt",
369
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
370
+ stateMutability: "view",
371
+ type: "function",
372
+ },
373
+ {
374
+ inputs: [],
375
+ name: "txExpiration",
376
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
377
+ stateMutability: "view",
378
+ type: "function",
379
+ },
380
+ {
381
+ inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
382
+ name: "txHash",
383
+ outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
384
+ stateMutability: "view",
385
+ type: "function",
386
+ },
387
+ {
388
+ inputs: [],
389
+ name: "txNonce",
390
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
391
+ stateMutability: "view",
392
+ type: "function",
393
+ },
394
+ ] as const;