@metamask/smart-accounts-kit 0.4.0-beta.0 → 0.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -1
- package/dist/actions/index.cjs +5 -5
- package/dist/actions/index.d.cts +2 -2
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/index.mjs +4 -4
- package/dist/{chunk-S2Q5ZC64.cjs → chunk-23YXLKTX.cjs} +58 -59
- package/dist/chunk-23YXLKTX.cjs.map +1 -0
- package/dist/{chunk-W6ZI7GWI.mjs → chunk-33AMUJBJ.mjs} +49 -52
- package/dist/chunk-33AMUJBJ.mjs.map +1 -0
- package/dist/{chunk-TEH426Y4.mjs → chunk-C5ZEEH2Z.mjs} +283 -184
- package/dist/chunk-C5ZEEH2Z.mjs.map +1 -0
- package/dist/{chunk-NTZ57GNF.cjs → chunk-DLD377CN.cjs} +17 -33
- package/dist/chunk-DLD377CN.cjs.map +1 -0
- package/dist/{chunk-5BYJZGRI.mjs → chunk-NOCLGZGB.mjs} +174 -129
- package/dist/chunk-NOCLGZGB.mjs.map +1 -0
- package/dist/{chunk-EHIZB5U7.mjs → chunk-QCULIK3O.mjs} +211 -97
- package/dist/chunk-QCULIK3O.mjs.map +1 -0
- package/dist/{chunk-YWRHYLKB.cjs → chunk-QMRKCB7T.cjs} +204 -159
- package/dist/chunk-QMRKCB7T.cjs.map +1 -0
- package/dist/{chunk-TXN7GX6Y.cjs → chunk-SOFB2MXG.cjs} +207 -93
- package/dist/chunk-SOFB2MXG.cjs.map +1 -0
- package/dist/{chunk-RAXFJGCS.cjs → chunk-UUOH2WAW.cjs} +19 -19
- package/dist/chunk-UUOH2WAW.cjs.map +1 -0
- package/dist/{chunk-AUCZDOTJ.mjs → chunk-WPVSFOQM.mjs} +11 -27
- package/dist/chunk-WPVSFOQM.mjs.map +1 -0
- package/dist/{chunk-4A5RMDDC.mjs → chunk-WV2R7BXP.mjs} +49 -50
- package/dist/chunk-WV2R7BXP.mjs.map +1 -0
- package/dist/{chunk-YTGYVHDF.cjs → chunk-XN36L4RX.cjs} +144 -147
- package/dist/chunk-XN36L4RX.cjs.map +1 -0
- package/dist/{chunk-MIP7KJYH.cjs → chunk-YDLLC6PP.cjs} +252 -153
- package/dist/chunk-YDLLC6PP.cjs.map +1 -0
- package/dist/{chunk-DPWYECSV.mjs → chunk-YTELOQ4I.mjs} +9 -9
- package/dist/chunk-YTELOQ4I.mjs.map +1 -0
- package/dist/contracts/index.cjs +5 -5
- package/dist/contracts/index.d.cts +3 -3
- package/dist/contracts/index.d.ts +3 -3
- package/dist/contracts/index.mjs +4 -4
- package/dist/{delegation-DHjM_pVa.d.ts → delegation-DGUfyX-C.d.ts} +52 -26
- package/dist/{delegation-BnhAvKt4.d.cts → delegation-D_TY-tAq.d.cts} +52 -26
- package/dist/experimental/index.cjs +4 -4
- package/dist/experimental/index.cjs.map +1 -1
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.mjs +5 -5
- package/dist/experimental/index.mjs.map +1 -1
- package/dist/{index-CX3hrztI.d.cts → index-B9bsjGqI.d.ts} +240 -38
- package/dist/{index-D04LO0vH.d.cts → index-CZes99jV.d.cts} +95 -62
- package/dist/{index-i8cod4JY.d.ts → index-DvcKJcXi.d.cts} +240 -38
- package/dist/{index-BlgCQ80b.d.ts → index-FpCh2419.d.ts} +95 -62
- package/dist/index.cjs +26 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -11
- package/dist/index.d.ts +9 -11
- package/dist/index.mjs +17 -15
- package/dist/index.mjs.map +1 -1
- package/dist/{smartAccountsEnvironment-SVknZ_3f.d.cts → smartAccountsEnvironment-BU8kjlEv.d.cts} +1 -1
- package/dist/{smartAccountsEnvironment-BOhrxEnt.d.ts → smartAccountsEnvironment-egxuflDO.d.ts} +1 -1
- package/dist/{types-Bwksz_U6.d.ts → types-BLYWtcR3.d.cts} +49 -31
- package/dist/{types-Bwksz_U6.d.cts → types-BLYWtcR3.d.ts} +49 -31
- package/dist/utils/index.cjs +7 -5
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +3 -4
- package/dist/utils/index.d.ts +3 -4
- package/dist/utils/index.mjs +12 -10
- package/package.json +6 -11
- package/dist/chunk-4A5RMDDC.mjs.map +0 -1
- package/dist/chunk-5BYJZGRI.mjs.map +0 -1
- package/dist/chunk-AUCZDOTJ.mjs.map +0 -1
- package/dist/chunk-DPWYECSV.mjs.map +0 -1
- package/dist/chunk-EHIZB5U7.mjs.map +0 -1
- package/dist/chunk-MIP7KJYH.cjs.map +0 -1
- package/dist/chunk-NTZ57GNF.cjs.map +0 -1
- package/dist/chunk-RAXFJGCS.cjs.map +0 -1
- package/dist/chunk-S2Q5ZC64.cjs.map +0 -1
- package/dist/chunk-TEH426Y4.mjs.map +0 -1
- package/dist/chunk-TXN7GX6Y.cjs.map +0 -1
- package/dist/chunk-W6ZI7GWI.mjs.map +0 -1
- package/dist/chunk-YTGYVHDF.cjs.map +0 -1
- package/dist/chunk-YWRHYLKB.cjs.map +0 -1
|
@@ -4,10 +4,11 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
__export,
|
|
6
6
|
toDelegationStruct
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C5ZEEH2Z.mjs";
|
|
8
8
|
|
|
9
9
|
// src/DelegationFramework/utils.ts
|
|
10
10
|
import { ERC1967Proxy } from "@metamask/delegation-abis";
|
|
11
|
+
import { ERC1967Proxy as ERC1967ProxyBytecode } from "@metamask/delegation-abis/bytecode";
|
|
11
12
|
import { encodeDeployData } from "viem";
|
|
12
13
|
import { getCode } from "viem/actions";
|
|
13
14
|
|
|
@@ -31,7 +32,7 @@ var read = async ({
|
|
|
31
32
|
contractAddress
|
|
32
33
|
}) => await readContract(client, {
|
|
33
34
|
address: contractAddress,
|
|
34
|
-
abi: DeleGatorCore
|
|
35
|
+
abi: DeleGatorCore,
|
|
35
36
|
functionName: "delegationManager"
|
|
36
37
|
});
|
|
37
38
|
|
|
@@ -43,7 +44,7 @@ var read2 = async ({
|
|
|
43
44
|
contractAddress
|
|
44
45
|
}) => await readContract2(client, {
|
|
45
46
|
address: contractAddress,
|
|
46
|
-
abi: DeleGatorCore2
|
|
47
|
+
abi: DeleGatorCore2,
|
|
47
48
|
functionName: "getDeposit"
|
|
48
49
|
});
|
|
49
50
|
|
|
@@ -55,7 +56,7 @@ var read3 = async ({
|
|
|
55
56
|
contractAddress
|
|
56
57
|
}) => await readContract3(client, {
|
|
57
58
|
address: contractAddress,
|
|
58
|
-
abi: DeleGatorCore3
|
|
59
|
+
abi: DeleGatorCore3,
|
|
59
60
|
functionName: "entryPoint"
|
|
60
61
|
});
|
|
61
62
|
|
|
@@ -68,7 +69,7 @@ var read4 = async ({
|
|
|
68
69
|
key
|
|
69
70
|
}) => await readContract4(client, {
|
|
70
71
|
address: contractAddress,
|
|
71
|
-
abi: DeleGatorCore4
|
|
72
|
+
abi: DeleGatorCore4,
|
|
72
73
|
functionName: "getNonce",
|
|
73
74
|
args: key ? [key] : void 0
|
|
74
75
|
});
|
|
@@ -81,7 +82,7 @@ var read5 = async ({
|
|
|
81
82
|
contractAddress
|
|
82
83
|
}) => await readContract5(client, {
|
|
83
84
|
address: contractAddress,
|
|
84
|
-
abi: DeleGatorCore5
|
|
85
|
+
abi: DeleGatorCore5,
|
|
85
86
|
functionName: "getImplementation"
|
|
86
87
|
});
|
|
87
88
|
|
|
@@ -93,7 +94,7 @@ var read6 = async ({
|
|
|
93
94
|
contractAddress
|
|
94
95
|
}) => await readContract6(client, {
|
|
95
96
|
address: contractAddress,
|
|
96
|
-
abi: DeleGatorCore6
|
|
97
|
+
abi: DeleGatorCore6,
|
|
97
98
|
functionName: "getInitializedVersion"
|
|
98
99
|
});
|
|
99
100
|
|
|
@@ -108,7 +109,7 @@ var read7 = async ({
|
|
|
108
109
|
signature
|
|
109
110
|
}) => await readContract7(client, {
|
|
110
111
|
address: contractAddress,
|
|
111
|
-
abi: DeleGatorCore7
|
|
112
|
+
abi: DeleGatorCore7,
|
|
112
113
|
functionName: "isValidSignature",
|
|
113
114
|
args: [hash, signature]
|
|
114
115
|
});
|
|
@@ -117,7 +118,7 @@ var encode = ({
|
|
|
117
118
|
signature
|
|
118
119
|
}) => {
|
|
119
120
|
return encodeFunctionData({
|
|
120
|
-
abi: DeleGatorCore7
|
|
121
|
+
abi: DeleGatorCore7,
|
|
121
122
|
functionName: "isValidSignature",
|
|
122
123
|
args: [hash, signature]
|
|
123
124
|
});
|
|
@@ -151,9 +152,9 @@ var encodeProxyCreationCode = ({
|
|
|
151
152
|
implementationAddress,
|
|
152
153
|
initcode
|
|
153
154
|
}) => encodeDeployData({
|
|
154
|
-
abi: ERC1967Proxy
|
|
155
|
+
abi: ERC1967Proxy,
|
|
155
156
|
args: [implementationAddress, initcode],
|
|
156
|
-
bytecode:
|
|
157
|
+
bytecode: ERC1967ProxyBytecode
|
|
157
158
|
});
|
|
158
159
|
|
|
159
160
|
// src/DelegationFramework/HybridDeleGator/methods/initialize.ts
|
|
@@ -168,7 +169,7 @@ var simulate = async ({
|
|
|
168
169
|
}) => {
|
|
169
170
|
return simulateContract(client, {
|
|
170
171
|
address: hybridDeleGatorAddress,
|
|
171
|
-
abi: HybridDeleGator
|
|
172
|
+
abi: HybridDeleGator,
|
|
172
173
|
functionName: "initialize",
|
|
173
174
|
args: [
|
|
174
175
|
eoaOwner,
|
|
@@ -183,7 +184,7 @@ var encode2 = ({
|
|
|
183
184
|
p256Owners
|
|
184
185
|
}) => {
|
|
185
186
|
return encodeFunctionData2({
|
|
186
|
-
abi: HybridDeleGator
|
|
187
|
+
abi: HybridDeleGator,
|
|
187
188
|
functionName: "initialize",
|
|
188
189
|
args: [
|
|
189
190
|
eoaOwner,
|
|
@@ -215,14 +216,14 @@ var simulate2 = async ({
|
|
|
215
216
|
}) => {
|
|
216
217
|
return simulateContract2(client, {
|
|
217
218
|
address: hybridDeleGatorAddress,
|
|
218
|
-
abi: HybridDeleGator2
|
|
219
|
+
abi: HybridDeleGator2,
|
|
219
220
|
functionName: "addKey",
|
|
220
221
|
args: [p256Owner.keyId, p256Owner.x, p256Owner.y]
|
|
221
222
|
});
|
|
222
223
|
};
|
|
223
224
|
var encode3 = ({ p256Owner }) => {
|
|
224
225
|
return encodeFunctionData3({
|
|
225
|
-
abi: HybridDeleGator2
|
|
226
|
+
abi: HybridDeleGator2,
|
|
226
227
|
functionName: "addKey",
|
|
227
228
|
args: [p256Owner.keyId, p256Owner.x, p256Owner.y]
|
|
228
229
|
});
|
|
@@ -242,7 +243,7 @@ var simulate3 = async ({
|
|
|
242
243
|
}) => {
|
|
243
244
|
return simulateContract3(client, {
|
|
244
245
|
address: hybridDeleGatorAddress,
|
|
245
|
-
abi: HybridDeleGator3
|
|
246
|
+
abi: HybridDeleGator3,
|
|
246
247
|
functionName: "reinitialize",
|
|
247
248
|
args: [
|
|
248
249
|
version,
|
|
@@ -261,7 +262,7 @@ var encode4 = ({
|
|
|
261
262
|
removeExistingP256Owners
|
|
262
263
|
}) => {
|
|
263
264
|
return encodeFunctionData4({
|
|
264
|
-
abi: HybridDeleGator3
|
|
265
|
+
abi: HybridDeleGator3,
|
|
265
266
|
functionName: "reinitialize",
|
|
266
267
|
args: [
|
|
267
268
|
version,
|
|
@@ -285,14 +286,14 @@ var simulate4 = async ({
|
|
|
285
286
|
}) => {
|
|
286
287
|
return simulateContract4(client, {
|
|
287
288
|
address: hybridDeleGatorAddress,
|
|
288
|
-
abi: HybridDeleGator4
|
|
289
|
+
abi: HybridDeleGator4,
|
|
289
290
|
functionName: "removeKey",
|
|
290
291
|
args: [keyId]
|
|
291
292
|
});
|
|
292
293
|
};
|
|
293
294
|
var encode5 = ({ keyId }) => {
|
|
294
295
|
return encodeFunctionData5({
|
|
295
|
-
abi: HybridDeleGator4
|
|
296
|
+
abi: HybridDeleGator4,
|
|
296
297
|
functionName: "removeKey",
|
|
297
298
|
args: [keyId]
|
|
298
299
|
});
|
|
@@ -310,7 +311,7 @@ var simulate5 = async ({
|
|
|
310
311
|
}) => {
|
|
311
312
|
return simulateContract5(client, {
|
|
312
313
|
address: hybridDeleGatorAddress,
|
|
313
|
-
abi: HybridDeleGator5
|
|
314
|
+
abi: HybridDeleGator5,
|
|
314
315
|
functionName: "updateSigners",
|
|
315
316
|
args: [
|
|
316
317
|
eoaOwner,
|
|
@@ -325,7 +326,7 @@ var encode6 = ({
|
|
|
325
326
|
p256Owners
|
|
326
327
|
}) => {
|
|
327
328
|
return encodeFunctionData6({
|
|
328
|
-
abi: HybridDeleGator5
|
|
329
|
+
abi: HybridDeleGator5,
|
|
329
330
|
functionName: "updateSigners",
|
|
330
331
|
args: [
|
|
331
332
|
eoaOwner,
|
|
@@ -348,14 +349,14 @@ var simulate6 = async ({
|
|
|
348
349
|
}) => {
|
|
349
350
|
return simulateContract6(client, {
|
|
350
351
|
address: multiSigDeleGatorAddress,
|
|
351
|
-
abi: MultiSigDeleGator
|
|
352
|
+
abi: MultiSigDeleGator,
|
|
352
353
|
functionName: "initialize",
|
|
353
354
|
args: [owners, threshold]
|
|
354
355
|
});
|
|
355
356
|
};
|
|
356
357
|
var encode7 = ({ owners, threshold }) => {
|
|
357
358
|
return encodeFunctionData7({
|
|
358
|
-
abi: MultiSigDeleGator
|
|
359
|
+
abi: MultiSigDeleGator,
|
|
359
360
|
functionName: "initialize",
|
|
360
361
|
args: [owners, threshold]
|
|
361
362
|
});
|
|
@@ -384,14 +385,14 @@ var simulate7 = async ({
|
|
|
384
385
|
}) => {
|
|
385
386
|
return simulateContract7(client, {
|
|
386
387
|
address: multiSigDeleGatorAddress,
|
|
387
|
-
abi: MultiSigDeleGator2
|
|
388
|
+
abi: MultiSigDeleGator2,
|
|
388
389
|
functionName: "addSigner",
|
|
389
390
|
args: [signer]
|
|
390
391
|
});
|
|
391
392
|
};
|
|
392
393
|
var encode8 = ({ signer }) => {
|
|
393
394
|
return encodeFunctionData8({
|
|
394
|
-
abi: MultiSigDeleGator2
|
|
395
|
+
abi: MultiSigDeleGator2,
|
|
395
396
|
functionName: "addSigner",
|
|
396
397
|
args: [signer]
|
|
397
398
|
});
|
|
@@ -411,7 +412,7 @@ var simulate8 = async ({
|
|
|
411
412
|
}) => {
|
|
412
413
|
return simulateContract8(client, {
|
|
413
414
|
address: multiSigDeleGatorAddress,
|
|
414
|
-
abi: MultiSigDeleGator3
|
|
415
|
+
abi: MultiSigDeleGator3,
|
|
415
416
|
functionName: "reinitialize",
|
|
416
417
|
args: [version, owners, threshold, removeExistingOwners]
|
|
417
418
|
});
|
|
@@ -423,7 +424,7 @@ var encode9 = ({
|
|
|
423
424
|
removeExistingOwners
|
|
424
425
|
}) => {
|
|
425
426
|
return encodeFunctionData9({
|
|
426
|
-
abi: MultiSigDeleGator3
|
|
427
|
+
abi: MultiSigDeleGator3,
|
|
427
428
|
functionName: "reinitialize",
|
|
428
429
|
args: [version, owners, threshold, removeExistingOwners]
|
|
429
430
|
});
|
|
@@ -440,14 +441,14 @@ var simulate9 = async ({
|
|
|
440
441
|
}) => {
|
|
441
442
|
return simulateContract9(client, {
|
|
442
443
|
address: multiSigDeleGatorAddress,
|
|
443
|
-
abi: MultiSigDeleGator4
|
|
444
|
+
abi: MultiSigDeleGator4,
|
|
444
445
|
functionName: "removeSigner",
|
|
445
446
|
args: [signer]
|
|
446
447
|
});
|
|
447
448
|
};
|
|
448
449
|
var encode10 = ({ signer }) => {
|
|
449
450
|
return encodeFunctionData10({
|
|
450
|
-
abi: MultiSigDeleGator4
|
|
451
|
+
abi: MultiSigDeleGator4,
|
|
451
452
|
functionName: "removeSigner",
|
|
452
453
|
args: [signer]
|
|
453
454
|
});
|
|
@@ -465,7 +466,7 @@ var simulate10 = async ({
|
|
|
465
466
|
}) => {
|
|
466
467
|
return simulateContract10(client, {
|
|
467
468
|
address: multiSigDeleGatorAddress,
|
|
468
|
-
abi: MultiSigDeleGator5
|
|
469
|
+
abi: MultiSigDeleGator5,
|
|
469
470
|
functionName: "replaceSigner",
|
|
470
471
|
args: [oldSigner, newSigner]
|
|
471
472
|
});
|
|
@@ -475,7 +476,7 @@ var encode11 = ({
|
|
|
475
476
|
newSigner
|
|
476
477
|
}) => {
|
|
477
478
|
return encodeFunctionData11({
|
|
478
|
-
abi: MultiSigDeleGator5
|
|
479
|
+
abi: MultiSigDeleGator5,
|
|
479
480
|
functionName: "replaceSigner",
|
|
480
481
|
args: [oldSigner, newSigner]
|
|
481
482
|
});
|
|
@@ -494,7 +495,7 @@ var simulate11 = async ({
|
|
|
494
495
|
}) => {
|
|
495
496
|
return simulateContract11(client, {
|
|
496
497
|
address: multiSigDeleGatorAddress,
|
|
497
|
-
abi: MultiSigDeleGator6
|
|
498
|
+
abi: MultiSigDeleGator6,
|
|
498
499
|
functionName: "updateMultiSigParameters",
|
|
499
500
|
args: [owners, threshold, removeExistingOwners]
|
|
500
501
|
});
|
|
@@ -505,7 +506,7 @@ var encode12 = ({
|
|
|
505
506
|
removeExistingOwners
|
|
506
507
|
}) => {
|
|
507
508
|
return encodeFunctionData12({
|
|
508
|
-
abi: MultiSigDeleGator6
|
|
509
|
+
abi: MultiSigDeleGator6,
|
|
509
510
|
functionName: "updateMultiSigParameters",
|
|
510
511
|
args: [owners, threshold, removeExistingOwners]
|
|
511
512
|
});
|
|
@@ -522,14 +523,14 @@ var simulate12 = async ({
|
|
|
522
523
|
}) => {
|
|
523
524
|
return simulateContract12(client, {
|
|
524
525
|
address: multiSigDeleGatorAddress,
|
|
525
|
-
abi: MultiSigDeleGator7
|
|
526
|
+
abi: MultiSigDeleGator7,
|
|
526
527
|
functionName: "updateThreshold",
|
|
527
528
|
args: [threshold]
|
|
528
529
|
});
|
|
529
530
|
};
|
|
530
531
|
var encode13 = ({ threshold }) => {
|
|
531
532
|
return encodeFunctionData13({
|
|
532
|
-
abi: MultiSigDeleGator7
|
|
533
|
+
abi: MultiSigDeleGator7,
|
|
533
534
|
functionName: "updateThreshold",
|
|
534
535
|
args: [threshold]
|
|
535
536
|
});
|
|
@@ -547,14 +548,14 @@ var simulate13 = async ({
|
|
|
547
548
|
}) => {
|
|
548
549
|
return simulateContract13(client, {
|
|
549
550
|
address: factoryAddress,
|
|
550
|
-
abi: SimpleFactory
|
|
551
|
+
abi: SimpleFactory,
|
|
551
552
|
functionName: "deploy",
|
|
552
553
|
args: [creationCode, salt]
|
|
553
554
|
});
|
|
554
555
|
};
|
|
555
556
|
var encode14 = (creationCode, salt) => {
|
|
556
557
|
return encodeFunctionData14({
|
|
557
|
-
abi: SimpleFactory
|
|
558
|
+
abi: SimpleFactory,
|
|
558
559
|
functionName: "deploy",
|
|
559
560
|
args: [creationCode, salt]
|
|
560
561
|
});
|
|
@@ -591,7 +592,7 @@ var simulate14 = async ({
|
|
|
591
592
|
}) => {
|
|
592
593
|
return simulateContract14(client, {
|
|
593
594
|
address: contractAddress,
|
|
594
|
-
abi: DeleGatorCore8
|
|
595
|
+
abi: DeleGatorCore8,
|
|
595
596
|
functionName: "execute",
|
|
596
597
|
args: [execution]
|
|
597
598
|
});
|
|
@@ -610,7 +611,7 @@ var execute2 = async ({
|
|
|
610
611
|
};
|
|
611
612
|
var encode15 = ({ execution }) => {
|
|
612
613
|
return encodeFunctionData15({
|
|
613
|
-
abi: DeleGatorCore8
|
|
614
|
+
abi: DeleGatorCore8,
|
|
614
615
|
functionName: "execute",
|
|
615
616
|
args: [execution]
|
|
616
617
|
});
|
|
@@ -628,7 +629,7 @@ var simulate15 = async ({
|
|
|
628
629
|
}) => {
|
|
629
630
|
return simulateContract15(client, {
|
|
630
631
|
address: contractAddress,
|
|
631
|
-
abi: DeleGatorCore9
|
|
632
|
+
abi: DeleGatorCore9,
|
|
632
633
|
functionName: "execute",
|
|
633
634
|
args: [mode, encodeExecutionCalldata(executions)]
|
|
634
635
|
});
|
|
@@ -652,7 +653,7 @@ var encode16 = ({
|
|
|
652
653
|
executions
|
|
653
654
|
}) => {
|
|
654
655
|
return encodeFunctionData16({
|
|
655
|
-
abi: DeleGatorCore9
|
|
656
|
+
abi: DeleGatorCore9,
|
|
656
657
|
functionName: "execute",
|
|
657
658
|
args: [mode, encodeExecutionCalldata(executions)]
|
|
658
659
|
});
|
|
@@ -678,11 +679,10 @@ var simulate16 = async ({
|
|
|
678
679
|
delegationManagerAddress,
|
|
679
680
|
delegation
|
|
680
681
|
}) => {
|
|
681
|
-
const abi = DeleGatorCore10.abi;
|
|
682
682
|
const delegationStruct = toDelegationStruct(delegation);
|
|
683
683
|
return simulateContract16(client, {
|
|
684
684
|
address: delegationManagerAddress,
|
|
685
|
-
abi,
|
|
685
|
+
abi: DeleGatorCore10,
|
|
686
686
|
functionName: "disableDelegation",
|
|
687
687
|
args: [delegationStruct]
|
|
688
688
|
});
|
|
@@ -702,7 +702,7 @@ var execute4 = async ({
|
|
|
702
702
|
var encode17 = ({ delegation }) => {
|
|
703
703
|
const delegationStruct = toDelegationStruct(delegation);
|
|
704
704
|
return encodeFunctionData17({
|
|
705
|
-
abi: DeleGatorCore10
|
|
705
|
+
abi: DeleGatorCore10,
|
|
706
706
|
functionName: "disableDelegation",
|
|
707
707
|
args: [delegationStruct]
|
|
708
708
|
});
|
|
@@ -717,11 +717,10 @@ var simulate17 = async ({
|
|
|
717
717
|
delegationManagerAddress,
|
|
718
718
|
delegation
|
|
719
719
|
}) => {
|
|
720
|
-
const abi = DeleGatorCore11.abi;
|
|
721
720
|
const delegationStruct = toDelegationStruct(delegation);
|
|
722
721
|
return simulateContract17(client, {
|
|
723
722
|
address: delegationManagerAddress,
|
|
724
|
-
abi,
|
|
723
|
+
abi: DeleGatorCore11,
|
|
725
724
|
functionName: "enableDelegation",
|
|
726
725
|
args: [delegationStruct]
|
|
727
726
|
});
|
|
@@ -741,7 +740,7 @@ var execute5 = async ({
|
|
|
741
740
|
var encode18 = ({ delegation }) => {
|
|
742
741
|
const delegationStruct = toDelegationStruct(delegation);
|
|
743
742
|
return encodeFunctionData18({
|
|
744
|
-
abi: DeleGatorCore11
|
|
743
|
+
abi: DeleGatorCore11,
|
|
745
744
|
functionName: "enableDelegation",
|
|
746
745
|
args: [delegationStruct]
|
|
747
746
|
});
|
|
@@ -759,7 +758,7 @@ var simulate18 = async ({
|
|
|
759
758
|
}) => {
|
|
760
759
|
return simulateContract18(client, {
|
|
761
760
|
address: contractAddress,
|
|
762
|
-
abi: DeleGatorCore12
|
|
761
|
+
abi: DeleGatorCore12,
|
|
763
762
|
functionName: "upgradeToAndCall",
|
|
764
763
|
args: [implementation, data]
|
|
765
764
|
});
|
|
@@ -783,7 +782,7 @@ var encode19 = ({
|
|
|
783
782
|
data
|
|
784
783
|
}) => {
|
|
785
784
|
return encodeFunctionData19({
|
|
786
|
-
abi: DeleGatorCore12
|
|
785
|
+
abi: DeleGatorCore12,
|
|
787
786
|
functionName: "upgradeToAndCall",
|
|
788
787
|
args: [implementation, data]
|
|
789
788
|
});
|
|
@@ -828,4 +827,4 @@ export {
|
|
|
828
827
|
execute6,
|
|
829
828
|
encode_exports4
|
|
830
829
|
};
|
|
831
|
-
//# sourceMappingURL=chunk-
|
|
830
|
+
//# sourceMappingURL=chunk-WV2R7BXP.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/DelegationFramework/utils.ts","../src/DelegationFramework/DeleGatorCore/read.ts","../src/DelegationFramework/DeleGatorCore/methods/getDelegationManager.ts","../src/DelegationFramework/DeleGatorCore/methods/getDeposit.ts","../src/DelegationFramework/DeleGatorCore/methods/getEntryPoint.ts","../src/DelegationFramework/DeleGatorCore/methods/getNonce.ts","../src/DelegationFramework/DeleGatorCore/methods/getProxyImplementation.ts","../src/DelegationFramework/DeleGatorCore/methods/getProxyVersion.ts","../src/DelegationFramework/DeleGatorCore/methods/isValidSignature.ts","../src/DelegationFramework/HybridDeleGator/methods/initialize.ts","../src/DelegationFramework/HybridDeleGator/encode.ts","../src/DelegationFramework/HybridDeleGator/methods/addKey.ts","../src/DelegationFramework/HybridDeleGator/methods/reinitialize.ts","../src/DelegationFramework/HybridDeleGator/methods/removeKey.ts","../src/DelegationFramework/HybridDeleGator/methods/updateSigners.ts","../src/DelegationFramework/MultiSigDeleGator/methods/initialize.ts","../src/DelegationFramework/MultiSigDeleGator/encode.ts","../src/DelegationFramework/MultiSigDeleGator/methods/addSigner.ts","../src/DelegationFramework/MultiSigDeleGator/methods/reinitialize.ts","../src/DelegationFramework/MultiSigDeleGator/methods/removeSigner.ts","../src/DelegationFramework/MultiSigDeleGator/methods/replaceSigner.ts","../src/DelegationFramework/MultiSigDeleGator/methods/updateMultiSigParameters.ts","../src/DelegationFramework/MultiSigDeleGator/methods/updateThreshold.ts","../src/DelegationFramework/SimpleFactory/methods/create2Deploy.ts","../src/DelegationFramework/SimpleFactory/encode.ts","../src/DelegationFramework/DeleGatorCore/methods/execute.ts","../src/DelegationFramework/DeleGatorCore/methods/executeWithMode.ts","../src/DelegationFramework/DeleGatorCore/encode.ts","../src/DelegationFramework/DeleGatorCore/methods/disableDelegation.ts","../src/DelegationFramework/DeleGatorCore/methods/enableDelegation.ts","../src/DelegationFramework/DeleGatorCore/methods/upgradeToAndCall.ts"],"sourcesContent":["import { ERC1967Proxy } from '@metamask/delegation-abis';\nimport { ERC1967Proxy as ERC1967ProxyBytecode } from '@metamask/delegation-abis/bytecode';\nimport type { Address, Client, Hex } from 'viem';\nimport { encodeDeployData } from 'viem';\nimport { getCode } from 'viem/actions';\n\nimport { getProxyImplementation } from './DeleGatorCore/read';\n\n/**\n * Checks if a contract is deployed at the given address.\n *\n * @param options - The options for checking contract deployment.\n * @param options.client - The client to use for the query.\n * @param options.contractAddress - The address to check for contract deployment.\n * @returns A boolean indicating whether a contract is deployed at the address.\n * @description This function checks if there is actual bytecode at the provided contract address.\n */\nexport async function isContractDeployed({\n client,\n contractAddress,\n}: {\n client: Client;\n contractAddress: Address;\n}): Promise<boolean> {\n const code = await getCode(client, {\n address: contractAddress,\n });\n return Boolean(code) && code !== '0x';\n}\n\n/**\n * Checks if a proxy contract at the given address points to the expected implementation.\n *\n * @param options - The options for checking the implementation.\n * @param options.client - The client to use for the query.\n * @param options.contractAddress - The address of the proxy contract.\n * @param options.expectedImplementationAddress - The address that the implementation should match.\n * @returns A boolean indicating whether the implementation matches the expected one.\n * @description This function verifies both that the contract exists and that its implementation address matches.\n */\nexport async function isImplementationExpected({\n client,\n contractAddress,\n expectedImplementationAddress,\n}: {\n client: Client;\n contractAddress: Address;\n expectedImplementationAddress: Address;\n}): Promise<boolean> {\n if (!(await isContractDeployed({ client, contractAddress }))) {\n return false;\n }\n\n const implementationAddress = await getProxyImplementation({\n client,\n contractAddress,\n });\n\n return implementationAddress === expectedImplementationAddress;\n}\n\n/**\n * Encodes the \"creation code\" for an ERC1967Proxy contract that will be deployed via CREATE2 with the given implementation and initialization code.\n *\n * @param options - The options for encoding the proxy creation code.\n * @param options.implementationAddress - The address of the implementation contract for the proxy to use.\n * @param options.initcode - The calldata for the initialization function of the implementation contract.\n * @returns The encoded creation code for the proxy.\n * @description This function prepares the deployment bytecode for an ERC1967 proxy pointing to the given implementation.\n */\nexport const encodeProxyCreationCode = ({\n implementationAddress,\n initcode,\n}: {\n implementationAddress: Address;\n initcode: Hex;\n}): Hex =>\n encodeDeployData({\n abi: ERC1967Proxy,\n args: [implementationAddress, initcode],\n bytecode: ERC1967ProxyBytecode,\n });\n","import { read as getDelegationManager } from './methods/getDelegationManager';\nimport { read as getDeposit } from './methods/getDeposit';\nimport { read as getEntryPoint } from './methods/getEntryPoint';\nimport { read as getNonce } from './methods/getNonce';\nimport { read as getProxyImplementation } from './methods/getProxyImplementation';\nimport { read as getProxyVersion } from './methods/getProxyVersion';\nimport { read as isValidSignature } from './methods/isValidSignature';\n\nexport {\n getDelegationManager,\n getDeposit,\n getEntryPoint,\n getNonce,\n getProxyImplementation,\n getProxyVersion,\n isValidSignature,\n};\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type ReadGetDelegationManagerParameters = {\n client: Client;\n contractAddress: Address;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n}: ReadGetDelegationManagerParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'delegationManager',\n });\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type ReadGetDepositParameters = {\n client: Client;\n contractAddress: Address;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n}: ReadGetDepositParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'getDeposit',\n });\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type ReadGetEntryPointParameters = {\n client: Client;\n contractAddress: Address;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n}: ReadGetEntryPointParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'entryPoint',\n });\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type ReadGetNonceParameters = {\n client: Client;\n contractAddress: Address;\n key?: bigint;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n key,\n}: ReadGetNonceParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'getNonce',\n args: key ? [key] : undefined,\n });\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type ReadGetProxyImplementationParameters = {\n client: Client;\n contractAddress: Address;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n}: ReadGetProxyImplementationParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'getImplementation',\n });\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type ReadGetProxyVersionParameters = {\n client: Client;\n contractAddress: Address;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n}: ReadGetProxyVersionParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'getInitializedVersion',\n });\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Hex, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { readContract } from 'viem/actions';\n\nexport type IsValidSignatureParameters = {\n client: Client;\n contractAddress: Address;\n hash: Hex;\n signature: Hex;\n};\n\nexport type EncodeIsValidSignatureParameters = {\n hash: Hex;\n signature: Hex;\n};\n\nexport const read = async ({\n client,\n contractAddress,\n hash,\n signature,\n}: IsValidSignatureParameters) =>\n await readContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'isValidSignature',\n args: [hash, signature],\n });\n\nexport const encode = ({\n hash,\n signature,\n}: EncodeIsValidSignatureParameters) => {\n return encodeFunctionData({\n abi: DeleGatorCore,\n functionName: 'isValidSignature',\n args: [hash, signature],\n });\n};\n","import { HybridDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { P256Owner, InitializedClient } from '../../types';\n\nexport type EncodeInitializeParameters = {\n eoaOwner: Address;\n p256Owners: P256Owner[];\n};\n\nexport type SimulateInitializeParameters = {\n client: Client;\n hybridDeleGatorAddress: Address;\n} & EncodeInitializeParameters;\n\nexport type ExecuteInitializeParameters = {\n client: InitializedClient;\n hybridDeleGatorAddress: Address;\n} & EncodeInitializeParameters;\n\nexport const simulate = async ({\n client,\n hybridDeleGatorAddress,\n eoaOwner,\n p256Owners,\n}: SimulateInitializeParameters) => {\n return simulateContract(client, {\n address: hybridDeleGatorAddress,\n abi: HybridDeleGator,\n functionName: 'initialize',\n args: [\n eoaOwner,\n p256Owners.map((p256Owner) => p256Owner.keyId),\n p256Owners.map((p256Owner) => p256Owner.x),\n p256Owners.map((p256Owner) => p256Owner.y),\n ],\n });\n};\n\nexport const execute = async ({\n client,\n hybridDeleGatorAddress,\n eoaOwner,\n p256Owners,\n}: ExecuteInitializeParameters) => {\n const { request } = await simulate({\n client,\n hybridDeleGatorAddress,\n eoaOwner,\n p256Owners,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n eoaOwner,\n p256Owners,\n}: EncodeInitializeParameters) => {\n return encodeFunctionData({\n abi: HybridDeleGator,\n functionName: 'initialize',\n args: [\n eoaOwner,\n p256Owners.map((p256Owner) => p256Owner.keyId),\n p256Owners.map((p256Owner) => p256Owner.x),\n p256Owners.map((p256Owner) => p256Owner.y),\n ],\n });\n};\n","import { encode as addKey } from './methods/addKey';\nimport { encode as initializeHybridDeleGator } from './methods/initialize';\nimport { encode as reinitializeHybridDeleGator } from './methods/reinitialize';\nimport { encode as removeKey } from './methods/removeKey';\nimport { encode as updateSigners } from './methods/updateSigners';\n\nexport {\n addKey,\n initializeHybridDeleGator,\n reinitializeHybridDeleGator,\n removeKey,\n updateSigners,\n};\n","import { HybridDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { P256Owner, InitializedClient } from '../../types';\n\nexport type EncodeAddKeyParameters = {\n p256Owner: P256Owner;\n};\n\nexport type SimulateAddKeyParameters = {\n client: Client;\n hybridDeleGatorAddress: Address;\n} & EncodeAddKeyParameters;\n\nexport type ExecuteAddKeyParameters = {\n client: InitializedClient;\n hybridDeleGatorAddress: Address;\n} & EncodeAddKeyParameters;\n\nexport const simulate = async ({\n client,\n hybridDeleGatorAddress,\n p256Owner,\n}: SimulateAddKeyParameters) => {\n return simulateContract(client, {\n address: hybridDeleGatorAddress,\n abi: HybridDeleGator,\n functionName: 'addKey',\n args: [p256Owner.keyId, p256Owner.x, p256Owner.y],\n });\n};\n\nexport const execute = async ({\n client,\n hybridDeleGatorAddress,\n p256Owner,\n}: ExecuteAddKeyParameters) => {\n const { request } = await simulate({\n client,\n hybridDeleGatorAddress,\n p256Owner,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ p256Owner }: EncodeAddKeyParameters) => {\n return encodeFunctionData({\n abi: HybridDeleGator,\n functionName: 'addKey',\n args: [p256Owner.keyId, p256Owner.x, p256Owner.y],\n });\n};\n","import { HybridDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { P256Owner, InitializedClient } from '../../types';\n\nexport type EncodeReinitializeParameters = {\n version: number;\n eoaOwner: Address;\n p256Owners: P256Owner[];\n removeExistingP256Owners: boolean;\n};\n\nexport type SimulateReinitializeParameters = {\n client: Client;\n hybridDeleGatorAddress: Address;\n} & EncodeReinitializeParameters;\n\nexport type ExecuteReinitializeParameters = {\n client: InitializedClient;\n hybridDeleGatorAddress: Address;\n} & EncodeReinitializeParameters;\n\nexport const simulate = async ({\n client,\n hybridDeleGatorAddress,\n version,\n eoaOwner,\n p256Owners,\n removeExistingP256Owners,\n}: SimulateReinitializeParameters) => {\n return simulateContract(client, {\n address: hybridDeleGatorAddress,\n abi: HybridDeleGator,\n functionName: 'reinitialize',\n args: [\n version,\n eoaOwner,\n p256Owners.map((p256Owner) => p256Owner.keyId),\n p256Owners.map((p256Owner) => p256Owner.x),\n p256Owners.map((p256Owner) => p256Owner.y),\n removeExistingP256Owners,\n ],\n });\n};\n\nexport const execute = async ({\n client,\n hybridDeleGatorAddress,\n version,\n eoaOwner,\n p256Owners,\n removeExistingP256Owners,\n}: ExecuteReinitializeParameters) => {\n const { request } = await simulate({\n client,\n hybridDeleGatorAddress,\n version,\n eoaOwner,\n p256Owners,\n removeExistingP256Owners,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n version,\n eoaOwner,\n p256Owners,\n removeExistingP256Owners,\n}: EncodeReinitializeParameters) => {\n return encodeFunctionData({\n abi: HybridDeleGator,\n functionName: 'reinitialize',\n args: [\n version,\n eoaOwner,\n p256Owners.map((p256Owner) => p256Owner.keyId),\n p256Owners.map((p256Owner) => p256Owner.x),\n p256Owners.map((p256Owner) => p256Owner.y),\n removeExistingP256Owners,\n ],\n });\n};\n","import { HybridDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeRemoveKeyParameters = {\n keyId: string;\n};\n\nexport type SimulateRemoveKeyParameters = {\n client: Client;\n hybridDeleGatorAddress: Address;\n} & EncodeRemoveKeyParameters;\n\nexport type ExecuteRemoveKeyParameters = {\n client: InitializedClient;\n hybridDeleGatorAddress: Address;\n} & EncodeRemoveKeyParameters;\n\nexport const simulate = async ({\n client,\n hybridDeleGatorAddress,\n keyId,\n}: SimulateRemoveKeyParameters) => {\n return simulateContract(client, {\n address: hybridDeleGatorAddress,\n abi: HybridDeleGator,\n functionName: 'removeKey',\n args: [keyId],\n });\n};\n\nexport const execute = async ({\n client,\n hybridDeleGatorAddress,\n keyId,\n}: ExecuteRemoveKeyParameters) => {\n const { request } = await simulate({\n client,\n hybridDeleGatorAddress,\n keyId,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ keyId }: EncodeRemoveKeyParameters) => {\n return encodeFunctionData({\n abi: HybridDeleGator,\n functionName: 'removeKey',\n args: [keyId],\n });\n};\n","import { HybridDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { P256Owner, InitializedClient } from '../../types';\n\nexport type EncodeUpdateSignersParameters = {\n eoaOwner: Address;\n p256Owners: P256Owner[];\n};\n\nexport type SimulateUpdateSignersParameters = {\n client: Client;\n hybridDeleGatorAddress: Address;\n} & EncodeUpdateSignersParameters;\n\nexport type ExecuteUpdateSignersParameters = {\n client: InitializedClient;\n hybridDeleGatorAddress: Address;\n} & EncodeUpdateSignersParameters;\n\nexport const simulate = async ({\n client,\n hybridDeleGatorAddress,\n eoaOwner,\n p256Owners,\n}: SimulateUpdateSignersParameters) => {\n return simulateContract(client, {\n address: hybridDeleGatorAddress,\n abi: HybridDeleGator,\n functionName: 'updateSigners',\n args: [\n eoaOwner,\n p256Owners.map((p256Owner) => p256Owner.keyId),\n p256Owners.map((p256Owner) => p256Owner.x),\n p256Owners.map((p256Owner) => p256Owner.y),\n ],\n });\n};\n\nexport const execute = async ({\n client,\n hybridDeleGatorAddress,\n eoaOwner,\n p256Owners,\n}: ExecuteUpdateSignersParameters) => {\n const { request } = await simulate({\n client,\n hybridDeleGatorAddress,\n eoaOwner,\n p256Owners,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n eoaOwner,\n p256Owners,\n}: EncodeUpdateSignersParameters) => {\n return encodeFunctionData({\n abi: HybridDeleGator,\n functionName: 'updateSigners',\n args: [\n eoaOwner,\n p256Owners.map((p256Owner) => p256Owner.keyId),\n p256Owners.map((p256Owner) => p256Owner.x),\n p256Owners.map((p256Owner) => p256Owner.y),\n ],\n });\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeInitializeParameters = {\n owners: Address[];\n threshold: bigint;\n};\n\nexport type SimulateInitializeParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeInitializeParameters;\n\nexport type ExecuteInitializeParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeInitializeParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n owners,\n threshold,\n}: SimulateInitializeParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'initialize',\n args: [owners, threshold],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n owners,\n threshold,\n}: ExecuteInitializeParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n owners,\n threshold,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ owners, threshold }: EncodeInitializeParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'initialize',\n args: [owners, threshold],\n });\n};\n","import { encode as addSigner } from './methods/addSigner';\nimport { encode as initializeMultiSigDeleGator } from './methods/initialize';\nimport { encode as reinitializeMultiSigDeleGator } from './methods/reinitialize';\nimport { encode as removeSigner } from './methods/removeSigner';\nimport { encode as replaceSigner } from './methods/replaceSigner';\nimport { encode as updateMultiSigParameters } from './methods/updateMultiSigParameters';\nimport { encode as updateThreshold } from './methods/updateThreshold';\n\nexport {\n addSigner,\n initializeMultiSigDeleGator,\n reinitializeMultiSigDeleGator,\n removeSigner,\n replaceSigner,\n updateThreshold,\n updateMultiSigParameters,\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeAddSignerParameters = {\n signer: Address;\n};\n\nexport type SimulateAddSignerParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeAddSignerParameters;\n\nexport type ExecuteAddSignerParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeAddSignerParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n signer,\n}: SimulateAddSignerParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'addSigner',\n args: [signer],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n signer,\n}: ExecuteAddSignerParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n signer,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ signer }: EncodeAddSignerParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'addSigner',\n args: [signer],\n });\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeReinitializeParameters = {\n version: bigint;\n owners: Address[];\n threshold: bigint;\n removeExistingOwners: boolean;\n};\n\nexport type SimulateReinitializeParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeReinitializeParameters;\n\nexport type ExecuteReinitializeParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeReinitializeParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n version,\n owners,\n threshold,\n removeExistingOwners,\n}: SimulateReinitializeParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'reinitialize',\n args: [version, owners, threshold, removeExistingOwners],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n version,\n owners,\n threshold,\n removeExistingOwners,\n}: ExecuteReinitializeParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n version,\n owners,\n threshold,\n removeExistingOwners,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n version,\n owners,\n threshold,\n removeExistingOwners,\n}: EncodeReinitializeParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'reinitialize',\n args: [version, owners, threshold, removeExistingOwners],\n });\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeRemoveSignerParameters = {\n signer: Address;\n};\n\nexport type SimulateRemoveSignerParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeRemoveSignerParameters;\n\nexport type ExecuteRemoveSignerParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeRemoveSignerParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n signer,\n}: SimulateRemoveSignerParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'removeSigner',\n args: [signer],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n signer,\n}: ExecuteRemoveSignerParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n signer,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ signer }: EncodeRemoveSignerParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'removeSigner',\n args: [signer],\n });\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeReplaceSignerParameters = {\n oldSigner: Address;\n newSigner: Address;\n};\n\nexport type SimulateReplaceSignerParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeReplaceSignerParameters;\n\nexport type ExecuteReplaceSignerParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeReplaceSignerParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n oldSigner,\n newSigner,\n}: SimulateReplaceSignerParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'replaceSigner',\n args: [oldSigner, newSigner],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n oldSigner,\n newSigner,\n}: ExecuteReplaceSignerParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n oldSigner,\n newSigner,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n oldSigner,\n newSigner,\n}: EncodeReplaceSignerParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'replaceSigner',\n args: [oldSigner, newSigner],\n });\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeUpdateMultiSigParametersParameters = {\n owners: Address[];\n threshold: bigint;\n removeExistingOwners: boolean;\n};\n\nexport type SimulateUpdateMultiSigParametersParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeUpdateMultiSigParametersParameters;\n\nexport type ExecuteUpdateMultiSigParametersParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeUpdateMultiSigParametersParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n owners,\n threshold,\n removeExistingOwners,\n}: SimulateUpdateMultiSigParametersParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'updateMultiSigParameters',\n args: [owners, threshold, removeExistingOwners],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n owners,\n threshold,\n removeExistingOwners,\n}: ExecuteUpdateMultiSigParametersParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n owners,\n threshold,\n removeExistingOwners,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n owners,\n threshold,\n removeExistingOwners,\n}: EncodeUpdateMultiSigParametersParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'updateMultiSigParameters',\n args: [owners, threshold, removeExistingOwners],\n });\n};\n","import { MultiSigDeleGator } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type EncodeUpdateThresholdParameters = {\n threshold: bigint;\n};\n\nexport type SimulateUpdateThresholdParameters = {\n client: Client;\n multiSigDeleGatorAddress: Address;\n} & EncodeUpdateThresholdParameters;\n\nexport type ExecuteUpdateThresholdParameters = {\n client: InitializedClient;\n multiSigDeleGatorAddress: Address;\n} & EncodeUpdateThresholdParameters;\n\nexport const simulate = async ({\n client,\n multiSigDeleGatorAddress,\n threshold,\n}: SimulateUpdateThresholdParameters) => {\n return simulateContract(client, {\n address: multiSigDeleGatorAddress,\n abi: MultiSigDeleGator,\n functionName: 'updateThreshold',\n args: [threshold],\n });\n};\n\nexport const execute = async ({\n client,\n multiSigDeleGatorAddress,\n threshold,\n}: ExecuteUpdateThresholdParameters) => {\n const { request } = await simulate({\n client,\n multiSigDeleGatorAddress,\n threshold,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ threshold }: EncodeUpdateThresholdParameters) => {\n return encodeFunctionData({\n abi: MultiSigDeleGator,\n functionName: 'updateThreshold',\n args: [threshold],\n });\n};\n","import { SimpleFactory } from '@metamask/delegation-abis';\nimport type { Address, Hex, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type SimulateCreate2DeployParameters = {\n client: Client;\n factoryAddress: Address;\n creationCode: Hex;\n salt: Hex;\n};\n\nexport type ExecuteCreate2DeployParameters = {\n client: InitializedClient;\n factoryAddress: Address;\n creationCode: Hex;\n salt: Hex;\n};\n\nexport const simulate = async ({\n client,\n factoryAddress,\n creationCode,\n salt,\n}: SimulateCreate2DeployParameters) => {\n return simulateContract(client, {\n address: factoryAddress,\n abi: SimpleFactory,\n functionName: 'deploy',\n args: [creationCode, salt],\n });\n};\n\nexport const encode = (creationCode: Hex, salt: Hex) => {\n return encodeFunctionData({\n abi: SimpleFactory,\n functionName: 'deploy',\n args: [creationCode, salt],\n });\n};\n\nexport const execute = async ({\n client,\n factoryAddress,\n creationCode,\n salt,\n}: ExecuteCreate2DeployParameters) => {\n const { request } = await simulate({\n client,\n factoryAddress,\n creationCode,\n salt,\n });\n return writeContract(client, request);\n};\n","import { encode as create2Deploy } from './methods/create2Deploy';\n\nexport { create2Deploy };\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { ExecutionStruct } from '../../../executions';\nimport type { InitializedClient } from '../../types';\n\nexport type SimulateExecuteParameters = {\n client: Client;\n contractAddress: Address;\n execution: ExecutionStruct;\n};\n\nexport type EncodeExecuteParameters = {\n execution: ExecutionStruct;\n};\n\nexport type ExecuteExecuteParameters = {\n client: InitializedClient;\n contractAddress: Address;\n execution: ExecutionStruct;\n};\n\nexport const simulate = async ({\n client,\n contractAddress,\n execution,\n}: SimulateExecuteParameters) => {\n return simulateContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'execute',\n args: [execution],\n });\n};\n\nexport const execute = async ({\n client,\n contractAddress,\n execution,\n}: ExecuteExecuteParameters) => {\n const { request } = await simulate({\n client,\n contractAddress,\n execution,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ execution }: EncodeExecuteParameters) => {\n return encodeFunctionData({\n abi: DeleGatorCore,\n functionName: 'execute',\n args: [execution],\n });\n};\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport { encodeFunctionData } from 'viem';\nimport type { Address, Client } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport { encodeExecutionCalldata } from '../../../executions';\nimport type { ExecutionStruct, ExecutionMode } from '../../../executions';\nimport type { InitializedClient } from '../../types';\n\nexport type SimulateExecuteWithModeParameters = {\n client: Client;\n contractAddress: Address;\n} & EncodeExecuteWithModeParameters;\nexport type EncodeExecuteWithModeParameters = {\n mode: ExecutionMode;\n executions: ExecutionStruct[];\n};\n\nexport type ExecuteExecuteWithModeParameters = {\n client: InitializedClient;\n contractAddress: Address;\n} & EncodeExecuteWithModeParameters;\n\nexport const simulate = async ({\n client,\n contractAddress,\n mode,\n executions,\n}: SimulateExecuteWithModeParameters) => {\n return simulateContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'execute',\n args: [mode, encodeExecutionCalldata(executions)],\n });\n};\n\nexport const execute = async ({\n client,\n contractAddress,\n mode,\n executions,\n}: ExecuteExecuteWithModeParameters) => {\n const { request } = await simulate({\n client,\n contractAddress,\n mode,\n executions,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n mode,\n executions,\n}: EncodeExecuteWithModeParameters) => {\n return encodeFunctionData({\n abi: DeleGatorCore,\n functionName: 'execute',\n args: [mode, encodeExecutionCalldata(executions)],\n });\n};\n","import { encode as disableDelegation } from './methods/disableDelegation';\nimport { encode as enableDelegation } from './methods/enableDelegation';\nimport { encode as execute } from './methods/execute';\nimport { encode as executeWithMode } from './methods/executeWithMode';\nimport { encode as isValidSignature } from './methods/isValidSignature';\nimport { encode as upgradeToAndCall } from './methods/upgradeToAndCall';\n\nexport {\n disableDelegation,\n enableDelegation,\n execute,\n executeWithMode,\n upgradeToAndCall,\n isValidSignature,\n};\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport { encodeFunctionData } from 'viem';\nimport type { Address, Client } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport { toDelegationStruct } from '../../../delegation';\nimport type { Delegation } from '../../../types';\nimport type { InitializedClient } from '../../types';\n\nexport type SimulateDisableDelegationParameters = {\n client: Client;\n delegationManagerAddress: Address;\n delegation: Delegation;\n};\n\nexport type EncodeDisableDelegationParameters = {\n delegation: Delegation;\n};\n\nexport type ExecuteDisableDelegationParameters = {\n client: InitializedClient;\n delegationManagerAddress: Address;\n delegation: Delegation;\n};\n\nexport const simulate = async ({\n client,\n delegationManagerAddress,\n delegation,\n}: SimulateDisableDelegationParameters) => {\n const delegationStruct = toDelegationStruct(delegation);\n\n return simulateContract(client, {\n address: delegationManagerAddress,\n abi: DeleGatorCore,\n functionName: 'disableDelegation',\n args: [delegationStruct],\n });\n};\n\nexport const execute = async ({\n client,\n delegationManagerAddress,\n delegation,\n}: ExecuteDisableDelegationParameters) => {\n const { request } = await simulate({\n client,\n delegationManagerAddress,\n delegation,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ delegation }: EncodeDisableDelegationParameters) => {\n const delegationStruct = toDelegationStruct(delegation);\n\n return encodeFunctionData({\n abi: DeleGatorCore,\n functionName: 'disableDelegation',\n args: [delegationStruct],\n });\n};\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport { encodeFunctionData } from 'viem';\nimport type { Address, Client } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport { toDelegationStruct } from '../../../delegation';\nimport type { Delegation } from '../../../types';\nimport type { InitializedClient } from '../../types';\n\nexport type SimulateEnableDelegationParameters = {\n client: Client;\n delegationManagerAddress: Address;\n delegation: Delegation;\n};\n\nexport type EncodeEnableDelegationParameters = {\n delegation: Delegation;\n};\n\nexport type ExecuteEnableDelegationParameters = {\n client: InitializedClient;\n delegationManagerAddress: Address;\n delegation: Delegation;\n};\n\nexport const simulate = async ({\n client,\n delegationManagerAddress,\n delegation,\n}: SimulateEnableDelegationParameters) => {\n const delegationStruct = toDelegationStruct(delegation);\n\n return simulateContract(client, {\n address: delegationManagerAddress,\n abi: DeleGatorCore,\n functionName: 'enableDelegation',\n args: [delegationStruct],\n });\n};\n\nexport const execute = async ({\n client,\n delegationManagerAddress,\n delegation,\n}: ExecuteEnableDelegationParameters) => {\n const { request } = await simulate({\n client,\n delegationManagerAddress,\n delegation,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({ delegation }: EncodeEnableDelegationParameters) => {\n const delegationStruct = toDelegationStruct(delegation);\n\n return encodeFunctionData({\n abi: DeleGatorCore,\n functionName: 'enableDelegation',\n args: [delegationStruct],\n });\n};\n","import { DeleGatorCore } from '@metamask/delegation-abis';\nimport type { Address, Hex, Client } from 'viem';\nimport { encodeFunctionData } from 'viem';\nimport { simulateContract, writeContract } from 'viem/actions';\n\nimport type { InitializedClient } from '../../types';\n\nexport type SimulateUpgradeToAndCallParameters = {\n client: Client;\n contractAddress: Address;\n} & EncodeUpgradeToAndCallParameters;\n\nexport type EncodeUpgradeToAndCallParameters = {\n implementation: Address;\n data: Hex;\n};\n\nexport type ExecuteUpgradeToAndCallParameters = {\n client: InitializedClient;\n contractAddress: Address;\n} & EncodeUpgradeToAndCallParameters;\n\nexport const simulate = async ({\n client,\n contractAddress,\n implementation,\n data,\n}: SimulateUpgradeToAndCallParameters) => {\n return simulateContract(client, {\n address: contractAddress,\n abi: DeleGatorCore,\n functionName: 'upgradeToAndCall',\n args: [implementation, data],\n });\n};\n\nexport const execute = async ({\n client,\n contractAddress,\n implementation,\n data,\n}: ExecuteUpgradeToAndCallParameters) => {\n const { request } = await simulate({\n client,\n contractAddress,\n implementation,\n data,\n });\n\n return writeContract(client, request);\n};\n\nexport const encode = ({\n implementation,\n data,\n}: EncodeUpgradeToAndCallParameters) => {\n return encodeFunctionData({\n abi: DeleGatorCore,\n functionName: 'upgradeToAndCall',\n args: [implementation, data],\n });\n};\n"],"mappings":";;;;;;;;;AAAA,SAAS,oBAAoB;AAC7B,SAAS,gBAAgB,4BAA4B;AAErD,SAAS,wBAAwB;AACjC,SAAS,eAAe;;;ACJxB;AAAA;AAAA;AAAA,oBAAAA;AAAA,EAAA,qBAAAA;AAAA,EAAA,gBAAAA;AAAA,EAAA,8BAAAA;AAAA,EAAA,uBAAAA;AAAA,EAAA,wBAAAA;AAAA;;;ACAA,SAAS,qBAAqB;AAE9B,SAAS,oBAAoB;AAOtB,IAAM,OAAO,OAAO;AAAA,EACzB;AAAA,EACA;AACF,MACE,MAAM,aAAa,QAAQ;AAAA,EACzB,SAAS;A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;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAA0C;AACxC,SAAOF,mBAAiB,QAAQ;AAAA,IAC9B,SAAS;AAAA,IACT,KAAKF;AAAA,IACL,cAAc;AAAA,IACd,MAAM,CAAC,gBAAgB,IAAI;AAAA,EAC7B,CAAC;AACH;AAEO,IAAMK,WAAU,OAAO;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAyC;AACvC,QAAM,EAAE,QAAQ,IAAI,MAAMD,WAAS;AAAA,IACjC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AAED,SAAOD,gBAAc,QAAQ,OAAO;AACtC;AAEO,IAAMG,WAAS,CAAC;AAAA,EACrB;AAAA,EACA;AACF,MAAwC;AACtC,SAAOL,qBAAmB;AAAA,IACxB,KAAKD;AAAA,IACL,cAAc;AAAA,IACd,MAAM,CAAC,gBAAgB,IAAI;AAAA,EAC7B,CAAC;AACH;","names":["read","DeleGatorCore","readContract","read","DeleGatorCore","readContract","read","DeleGatorCore","readContract","read","DeleGatorCore","readContract","read","DeleGatorCore","readContract","read","DeleGatorCore","readContract","read","read","encodeFunctionData","encode","encodeFunctionData","encode","HybridDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","HybridDeleGator","HybridDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","HybridDeleGator","HybridDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","HybridDeleGator","HybridDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","HybridDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","encode_exports","encode","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","MultiSigDeleGator","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","MultiSigDeleGator","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","MultiSigDeleGator","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","MultiSigDeleGator","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","MultiSigDeleGator","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encodeFunctionData","MultiSigDeleGator","encodeFunctionData","simulateContract","writeContract","simulate","encode","encode_exports","encode","DeleGatorCore","encodeFunctionData","simulateContract","writeContract","simulate","execute","encode","DeleGatorCore","encodeFunctionData","simulateContract","writeContract","simulate","simulateContract","DeleGatorCore","execute","writeContract","encode","encodeFunctionData","encode_exports","encode","DeleGatorCore","encodeFunctionData","simulateContract","writeContract","simulate","simulateContract","DeleGatorCore","execute","writeContract","encode","encodeFunctionData","DeleGatorCore","encodeFunctionData","simulateContract","writeContract","simulate","simulateContract","DeleGatorCore","execute","writeContract","encode","encodeFunctionData","DeleGatorCore","encodeFunctionData","simulateContract","writeContract","simulate","execute","encode"]}
|