@lit-protocol/vincent-ability-sdk 2.3.4 → 2.4.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.
- package/CHANGELOG.md +26 -0
- package/README.md +49 -1
- package/dist/CHANGELOG.md +6 -0
- package/dist/README.md +49 -1
- package/dist/package.json +7 -1
- package/dist/src/gatedSigner.d.ts +2 -0
- package/dist/src/gatedSigner.d.ts.map +1 -0
- package/dist/src/gatedSigner.js +5 -0
- package/dist/src/gatedSigner.js.map +1 -0
- package/dist/src/lib/abilityHelpers/gasSponsorship/get-alchemy-chain-config.js +1 -1
- package/dist/src/lib/abilityHelpers/gasSponsorship/get-alchemy-chain-config.js.map +1 -1
- package/dist/src/lib/gatedSigner/helpers/eip712.d.ts +34 -0
- package/dist/src/lib/gatedSigner/helpers/eip712.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/eip712.js +30 -0
- package/dist/src/lib/gatedSigner/helpers/eip712.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/hex.d.ts +5 -0
- package/dist/src/lib/gatedSigner/helpers/hex.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/hex.js +16 -0
- package/dist/src/lib/gatedSigner/helpers/hex.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.d.ts +56 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.js +91 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.d.ts +13 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.js +21 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.d.ts +925 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.js +64 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.d.ts +9 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.js +30 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.d.ts +15 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.js +115 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.d.ts +204 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.js +93 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.d.ts +8 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.js +177 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.d.ts +26 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.js +195 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.d.ts +20 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.js +69 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.d.ts +148 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.js +87 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.d.ts +200 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.js +106 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/validation.d.ts +43 -0
- package/dist/src/lib/gatedSigner/helpers/validation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/validation.js +81 -0
- package/dist/src/lib/gatedSigner/helpers/validation.js.map +1 -0
- package/dist/src/lib/gatedSigner/index.d.ts +12 -0
- package/dist/src/lib/gatedSigner/index.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/index.js +19 -0
- package/dist/src/lib/gatedSigner/index.js.map +1 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.d.ts +566 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.js +48 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.js.map +1 -0
- package/dist/src/type-inference-verification/ability-definition-tests.d.ts +6 -6
- package/dist/src/type-inference-verification/allow-deny-test-cases-ability.d.ts +90 -90
- package/dist/src/type-inference-verification/allow-deny-test-cases.d.ts +8 -8
- package/dist/src/type-inference-verification/context-switching-tests.d.ts +3 -3
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.d.ts +533 -0
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.d.ts.map +1 -0
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.js +19 -0
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.js.map +1 -0
- package/dist/src/type-inference-verification/parameter-inference-tests-tool.d.ts +58 -58
- package/dist/src/type-inference-verification/parameter-inference-tests.d.ts +5 -5
- package/dist/src/type-inference-verification/playground.d.ts +8 -8
- package/dist/src/type-inference-verification/schema-test.d.ts +5 -5
- package/package.json +8 -2
|
@@ -50,9 +50,9 @@ export declare function testAllowFunctionWithDifferentTypes(): {
|
|
|
50
50
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
51
51
|
ipfsCid: "19ofnsfoj908r21on";
|
|
52
52
|
abilityParameterMappings: Partial<{
|
|
53
|
-
action: "actionType";
|
|
54
53
|
target: "actionType";
|
|
55
54
|
amount: "actionType";
|
|
55
|
+
action: "actionType";
|
|
56
56
|
}>;
|
|
57
57
|
vincentAbilityApiVersion: string;
|
|
58
58
|
__schemaTypes: {
|
|
@@ -128,9 +128,9 @@ export declare function testAllowFunctionWithDifferentTypes(): {
|
|
|
128
128
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
129
129
|
ipfsCid: "asdjlkajsda";
|
|
130
130
|
abilityParameterMappings: Partial<{
|
|
131
|
-
action: "actionType";
|
|
132
131
|
target: "actionType";
|
|
133
132
|
amount: "actionType";
|
|
133
|
+
action: "actionType";
|
|
134
134
|
}>;
|
|
135
135
|
vincentAbilityApiVersion: string;
|
|
136
136
|
__schemaTypes: {
|
|
@@ -188,9 +188,9 @@ export declare function testAllowFunctionWithDifferentTypes(): {
|
|
|
188
188
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
189
189
|
ipfsCid: "0398109sfawrt2-itxzdkvj3810938123";
|
|
190
190
|
abilityParameterMappings: Partial<{
|
|
191
|
-
action: "actionType";
|
|
192
191
|
target: "actionType";
|
|
193
192
|
amount: "actionType";
|
|
193
|
+
action: "actionType";
|
|
194
194
|
}>;
|
|
195
195
|
vincentAbilityApiVersion: string;
|
|
196
196
|
__schemaTypes: {
|
|
@@ -248,9 +248,9 @@ export declare function testAllowFunctionWithDifferentTypes(): {
|
|
|
248
248
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
249
249
|
ipfsCid: "094821ksjf8u2nuif908j2";
|
|
250
250
|
abilityParameterMappings: Partial<{
|
|
251
|
-
action: "actionType";
|
|
252
251
|
target: "actionType";
|
|
253
252
|
amount: "actionType";
|
|
253
|
+
action: "actionType";
|
|
254
254
|
}>;
|
|
255
255
|
vincentAbilityApiVersion: string;
|
|
256
256
|
__schemaTypes: {
|
|
@@ -331,9 +331,9 @@ export declare function testDenyFunctionWithDifferentTypes(): {
|
|
|
331
331
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
332
332
|
ipfsCid: "01943fnjksf9843nr";
|
|
333
333
|
abilityParameterMappings: Partial<{
|
|
334
|
-
action: "actionType";
|
|
335
334
|
target: "actionType";
|
|
336
335
|
amount: "actionType";
|
|
336
|
+
action: "actionType";
|
|
337
337
|
}>;
|
|
338
338
|
vincentAbilityApiVersion: string;
|
|
339
339
|
__schemaTypes: {
|
|
@@ -409,9 +409,9 @@ export declare function testDenyFunctionWithDifferentTypes(): {
|
|
|
409
409
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
410
410
|
ipfsCid: "asdkfjofs2";
|
|
411
411
|
abilityParameterMappings: Partial<{
|
|
412
|
-
action: "actionType";
|
|
413
412
|
target: "actionType";
|
|
414
413
|
amount: "actionType";
|
|
414
|
+
action: "actionType";
|
|
415
415
|
}>;
|
|
416
416
|
vincentAbilityApiVersion: string;
|
|
417
417
|
__schemaTypes: {
|
|
@@ -469,9 +469,9 @@ export declare function testDenyFunctionWithDifferentTypes(): {
|
|
|
469
469
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
470
470
|
ipfsCid: "oi2jsldkfjsdfijsdflkj";
|
|
471
471
|
abilityParameterMappings: Partial<{
|
|
472
|
-
action: "actionType";
|
|
473
472
|
target: "actionType";
|
|
474
473
|
amount: "actionType";
|
|
474
|
+
action: "actionType";
|
|
475
475
|
}>;
|
|
476
476
|
vincentAbilityApiVersion: string;
|
|
477
477
|
__schemaTypes: {
|
|
@@ -569,9 +569,9 @@ export declare function testCommitAllowDeny(): {
|
|
|
569
569
|
}>>>;
|
|
570
570
|
ipfsCid: "owijfiuhwf98234j";
|
|
571
571
|
abilityParameterMappings: Partial<{
|
|
572
|
-
action: "actionType";
|
|
573
572
|
target: "actionType";
|
|
574
573
|
amount: "actionType";
|
|
574
|
+
action: "actionType";
|
|
575
575
|
}>;
|
|
576
576
|
vincentAbilityApiVersion: string;
|
|
577
577
|
__schemaTypes: {
|
|
@@ -79,9 +79,9 @@ declare function testPrecheckEvaluateContextSwitching(): {
|
|
|
79
79
|
}>>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
80
80
|
ipfsCid: "02u3kjwdsnfs2890hf";
|
|
81
81
|
abilityParameterMappings: Partial<{
|
|
82
|
-
action: "actionType";
|
|
83
82
|
target: "actionType";
|
|
84
83
|
amount: "actionType";
|
|
84
|
+
action: "actionType";
|
|
85
85
|
}>;
|
|
86
86
|
vincentAbilityApiVersion: string;
|
|
87
87
|
__schemaTypes: {
|
|
@@ -250,9 +250,9 @@ declare function testEvaluateCommitContextSwitching(): {
|
|
|
250
250
|
}>>>;
|
|
251
251
|
ipfsCid: "048oifjnwfoij3208h";
|
|
252
252
|
abilityParameterMappings: Partial<{
|
|
253
|
-
action: "actionType";
|
|
254
253
|
target: "actionType";
|
|
255
254
|
amount: "actionType";
|
|
255
|
+
action: "actionType";
|
|
256
256
|
}>;
|
|
257
257
|
vincentAbilityApiVersion: string;
|
|
258
258
|
__schemaTypes: {
|
|
@@ -484,9 +484,9 @@ declare function testFullPolicyContextSwitching(): {
|
|
|
484
484
|
}>>>;
|
|
485
485
|
ipfsCid: "908joiun2f928q1hjbfn";
|
|
486
486
|
abilityParameterMappings: Partial<{
|
|
487
|
-
action: "amount" | "actionType";
|
|
488
487
|
target: "amount" | "actionType";
|
|
489
488
|
amount: "amount" | "actionType";
|
|
489
|
+
action: "amount" | "actionType";
|
|
490
490
|
}>;
|
|
491
491
|
vincentAbilityApiVersion: string;
|
|
492
492
|
__schemaTypes: {
|
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
export declare const gatedSignerAbility: import("..").VincentAbility<import("zod").ZodUnion<[import("zod").ZodObject<{} & {
|
|
2
|
+
userOp: import("zod").ZodObject<{
|
|
3
|
+
sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
4
|
+
nonce: import("zod").ZodString;
|
|
5
|
+
callData: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
6
|
+
callGasLimit: import("zod").ZodString;
|
|
7
|
+
verificationGasLimit: import("zod").ZodString;
|
|
8
|
+
preVerificationGas: import("zod").ZodString;
|
|
9
|
+
maxFeePerGas: import("zod").ZodString;
|
|
10
|
+
maxPriorityFeePerGas: import("zod").ZodString;
|
|
11
|
+
signature: import("zod").ZodDefault<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
12
|
+
eip7702Auth: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
13
|
+
chain_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
|
|
15
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
y_parity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
r: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
s: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
20
|
+
nonce?: string | undefined;
|
|
21
|
+
chain_id?: string | undefined;
|
|
22
|
+
address?: `0x${string}` | undefined;
|
|
23
|
+
y_parity?: string | undefined;
|
|
24
|
+
r?: string | undefined;
|
|
25
|
+
s?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
nonce?: string | undefined;
|
|
28
|
+
chain_id?: string | undefined;
|
|
29
|
+
address?: string | undefined;
|
|
30
|
+
y_parity?: string | undefined;
|
|
31
|
+
r?: string | undefined;
|
|
32
|
+
s?: string | undefined;
|
|
33
|
+
}>>;
|
|
34
|
+
} & {
|
|
35
|
+
paymaster: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
|
|
36
|
+
paymasterData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
37
|
+
paymasterVerificationGasLimit: import("zod").ZodString;
|
|
38
|
+
factory: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
|
|
39
|
+
factoryData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
40
|
+
paymasterPostOpGasLimit: import("zod").ZodString;
|
|
41
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
42
|
+
sender: `0x${string}`;
|
|
43
|
+
nonce: string;
|
|
44
|
+
callData: `0x${string}`;
|
|
45
|
+
callGasLimit: string;
|
|
46
|
+
verificationGasLimit: string;
|
|
47
|
+
preVerificationGas: string;
|
|
48
|
+
maxFeePerGas: string;
|
|
49
|
+
maxPriorityFeePerGas: string;
|
|
50
|
+
signature: `0x${string}`;
|
|
51
|
+
paymasterVerificationGasLimit: string;
|
|
52
|
+
paymasterPostOpGasLimit: string;
|
|
53
|
+
eip7702Auth?: {
|
|
54
|
+
nonce?: string | undefined;
|
|
55
|
+
chain_id?: string | undefined;
|
|
56
|
+
address?: `0x${string}` | undefined;
|
|
57
|
+
y_parity?: string | undefined;
|
|
58
|
+
r?: string | undefined;
|
|
59
|
+
s?: string | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
paymaster?: `0x${string}` | undefined;
|
|
62
|
+
paymasterData?: `0x${string}` | undefined;
|
|
63
|
+
factory?: `0x${string}` | undefined;
|
|
64
|
+
factoryData?: `0x${string}` | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
sender: string;
|
|
67
|
+
nonce: string;
|
|
68
|
+
callData: `0x${string}`;
|
|
69
|
+
callGasLimit: string;
|
|
70
|
+
verificationGasLimit: string;
|
|
71
|
+
preVerificationGas: string;
|
|
72
|
+
maxFeePerGas: string;
|
|
73
|
+
maxPriorityFeePerGas: string;
|
|
74
|
+
paymasterVerificationGasLimit: string;
|
|
75
|
+
paymasterPostOpGasLimit: string;
|
|
76
|
+
signature?: `0x${string}` | undefined;
|
|
77
|
+
eip7702Auth?: {
|
|
78
|
+
nonce?: string | undefined;
|
|
79
|
+
chain_id?: string | undefined;
|
|
80
|
+
address?: string | undefined;
|
|
81
|
+
y_parity?: string | undefined;
|
|
82
|
+
r?: string | undefined;
|
|
83
|
+
s?: string | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
paymaster?: string | undefined;
|
|
86
|
+
paymasterData?: `0x${string}` | undefined;
|
|
87
|
+
factory?: string | undefined;
|
|
88
|
+
factoryData?: `0x${string}` | undefined;
|
|
89
|
+
}>;
|
|
90
|
+
entryPointAddress: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>;
|
|
91
|
+
alchemyRpcUrl: import("zod").ZodString;
|
|
92
|
+
validAfter: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
93
|
+
validUntil: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
94
|
+
safe4337ModuleAddress: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
|
|
95
|
+
eip712Params: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
96
|
+
domain: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
|
|
97
|
+
types: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
|
|
98
|
+
name: import("zod").ZodString;
|
|
99
|
+
type: import("zod").ZodString;
|
|
100
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
101
|
+
type: string;
|
|
102
|
+
name: string;
|
|
103
|
+
}, {
|
|
104
|
+
type: string;
|
|
105
|
+
name: string;
|
|
106
|
+
}>, "many">>;
|
|
107
|
+
primaryType: import("zod").ZodString;
|
|
108
|
+
message: import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>]>>, Record<string, string | Record<string, any>>, Record<string, string | Record<string, any>>>;
|
|
109
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
110
|
+
message: Record<string, string | Record<string, any>>;
|
|
111
|
+
domain: Record<string, any>;
|
|
112
|
+
types: Record<string, {
|
|
113
|
+
type: string;
|
|
114
|
+
name: string;
|
|
115
|
+
}[]>;
|
|
116
|
+
primaryType: string;
|
|
117
|
+
}, {
|
|
118
|
+
message: Record<string, string | Record<string, any>>;
|
|
119
|
+
domain: Record<string, any>;
|
|
120
|
+
types: Record<string, {
|
|
121
|
+
type: string;
|
|
122
|
+
name: string;
|
|
123
|
+
}[]>;
|
|
124
|
+
primaryType: string;
|
|
125
|
+
}>>;
|
|
126
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
127
|
+
userOp: {
|
|
128
|
+
sender: `0x${string}`;
|
|
129
|
+
nonce: string;
|
|
130
|
+
callData: `0x${string}`;
|
|
131
|
+
callGasLimit: string;
|
|
132
|
+
verificationGasLimit: string;
|
|
133
|
+
preVerificationGas: string;
|
|
134
|
+
maxFeePerGas: string;
|
|
135
|
+
maxPriorityFeePerGas: string;
|
|
136
|
+
signature: `0x${string}`;
|
|
137
|
+
paymasterVerificationGasLimit: string;
|
|
138
|
+
paymasterPostOpGasLimit: string;
|
|
139
|
+
eip7702Auth?: {
|
|
140
|
+
nonce?: string | undefined;
|
|
141
|
+
chain_id?: string | undefined;
|
|
142
|
+
address?: `0x${string}` | undefined;
|
|
143
|
+
y_parity?: string | undefined;
|
|
144
|
+
r?: string | undefined;
|
|
145
|
+
s?: string | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
paymaster?: `0x${string}` | undefined;
|
|
148
|
+
paymasterData?: `0x${string}` | undefined;
|
|
149
|
+
factory?: `0x${string}` | undefined;
|
|
150
|
+
factoryData?: `0x${string}` | undefined;
|
|
151
|
+
};
|
|
152
|
+
validAfter: number;
|
|
153
|
+
validUntil: number;
|
|
154
|
+
entryPointAddress: `0x${string}`;
|
|
155
|
+
alchemyRpcUrl: string;
|
|
156
|
+
safe4337ModuleAddress: `0x${string}`;
|
|
157
|
+
eip712Params?: {
|
|
158
|
+
message: Record<string, string | Record<string, any>>;
|
|
159
|
+
domain: Record<string, any>;
|
|
160
|
+
types: Record<string, {
|
|
161
|
+
type: string;
|
|
162
|
+
name: string;
|
|
163
|
+
}[]>;
|
|
164
|
+
primaryType: string;
|
|
165
|
+
} | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
userOp: {
|
|
168
|
+
sender: string;
|
|
169
|
+
nonce: string;
|
|
170
|
+
callData: `0x${string}`;
|
|
171
|
+
callGasLimit: string;
|
|
172
|
+
verificationGasLimit: string;
|
|
173
|
+
preVerificationGas: string;
|
|
174
|
+
maxFeePerGas: string;
|
|
175
|
+
maxPriorityFeePerGas: string;
|
|
176
|
+
paymasterVerificationGasLimit: string;
|
|
177
|
+
paymasterPostOpGasLimit: string;
|
|
178
|
+
signature?: `0x${string}` | undefined;
|
|
179
|
+
eip7702Auth?: {
|
|
180
|
+
nonce?: string | undefined;
|
|
181
|
+
chain_id?: string | undefined;
|
|
182
|
+
address?: string | undefined;
|
|
183
|
+
y_parity?: string | undefined;
|
|
184
|
+
r?: string | undefined;
|
|
185
|
+
s?: string | undefined;
|
|
186
|
+
} | undefined;
|
|
187
|
+
paymaster?: string | undefined;
|
|
188
|
+
paymasterData?: `0x${string}` | undefined;
|
|
189
|
+
factory?: string | undefined;
|
|
190
|
+
factoryData?: `0x${string}` | undefined;
|
|
191
|
+
};
|
|
192
|
+
alchemyRpcUrl: string;
|
|
193
|
+
validAfter?: number | undefined;
|
|
194
|
+
validUntil?: number | undefined;
|
|
195
|
+
entryPointAddress?: string | undefined;
|
|
196
|
+
safe4337ModuleAddress?: string | undefined;
|
|
197
|
+
eip712Params?: {
|
|
198
|
+
message: Record<string, string | Record<string, any>>;
|
|
199
|
+
domain: Record<string, any>;
|
|
200
|
+
types: Record<string, {
|
|
201
|
+
type: string;
|
|
202
|
+
name: string;
|
|
203
|
+
}[]>;
|
|
204
|
+
primaryType: string;
|
|
205
|
+
} | undefined;
|
|
206
|
+
}>, import("zod").ZodObject<{} & {
|
|
207
|
+
alchemyRpcUrl: import("zod").ZodString;
|
|
208
|
+
transaction: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
|
|
209
|
+
data: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
210
|
+
from: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
211
|
+
to: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
212
|
+
value: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
213
|
+
nonce: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
214
|
+
gas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
215
|
+
gasLimit: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
216
|
+
gasPrice: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
217
|
+
maxFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
218
|
+
maxPriorityFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
219
|
+
chainId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>]>;
|
|
220
|
+
type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
221
|
+
accessList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
222
|
+
address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
223
|
+
storageKeys: import("zod").ZodArray<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>, "many">;
|
|
224
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
225
|
+
address: `0x${string}`;
|
|
226
|
+
storageKeys: `0x${string}`[];
|
|
227
|
+
}, {
|
|
228
|
+
address: string;
|
|
229
|
+
storageKeys: `0x${string}`[];
|
|
230
|
+
}>, "many">>;
|
|
231
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
232
|
+
value: `0x${string}`;
|
|
233
|
+
nonce: `0x${string}`;
|
|
234
|
+
to: `0x${string}`;
|
|
235
|
+
data: `0x${string}`;
|
|
236
|
+
chainId: number | `0x${string}`;
|
|
237
|
+
from: `0x${string}`;
|
|
238
|
+
type?: string | number | undefined;
|
|
239
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
240
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
241
|
+
gas?: `0x${string}` | undefined;
|
|
242
|
+
gasLimit?: `0x${string}` | undefined;
|
|
243
|
+
gasPrice?: `0x${string}` | undefined;
|
|
244
|
+
accessList?: {
|
|
245
|
+
address: `0x${string}`;
|
|
246
|
+
storageKeys: `0x${string}`[];
|
|
247
|
+
}[] | undefined;
|
|
248
|
+
}, {
|
|
249
|
+
value: `0x${string}`;
|
|
250
|
+
nonce: `0x${string}`;
|
|
251
|
+
to: string;
|
|
252
|
+
data: `0x${string}`;
|
|
253
|
+
chainId: number | `0x${string}`;
|
|
254
|
+
from: string;
|
|
255
|
+
type?: string | number | undefined;
|
|
256
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
257
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
258
|
+
gas?: `0x${string}` | undefined;
|
|
259
|
+
gasLimit?: `0x${string}` | undefined;
|
|
260
|
+
gasPrice?: `0x${string}` | undefined;
|
|
261
|
+
accessList?: {
|
|
262
|
+
address: string;
|
|
263
|
+
storageKeys: `0x${string}`[];
|
|
264
|
+
}[] | undefined;
|
|
265
|
+
}>, {
|
|
266
|
+
value: `0x${string}`;
|
|
267
|
+
nonce: `0x${string}`;
|
|
268
|
+
to: `0x${string}`;
|
|
269
|
+
data: `0x${string}`;
|
|
270
|
+
chainId: number | `0x${string}`;
|
|
271
|
+
from: `0x${string}`;
|
|
272
|
+
type?: string | number | undefined;
|
|
273
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
274
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
275
|
+
gas?: `0x${string}` | undefined;
|
|
276
|
+
gasLimit?: `0x${string}` | undefined;
|
|
277
|
+
gasPrice?: `0x${string}` | undefined;
|
|
278
|
+
accessList?: {
|
|
279
|
+
address: `0x${string}`;
|
|
280
|
+
storageKeys: `0x${string}`[];
|
|
281
|
+
}[] | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
value: `0x${string}`;
|
|
284
|
+
nonce: `0x${string}`;
|
|
285
|
+
to: string;
|
|
286
|
+
data: `0x${string}`;
|
|
287
|
+
chainId: number | `0x${string}`;
|
|
288
|
+
from: string;
|
|
289
|
+
type?: string | number | undefined;
|
|
290
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
291
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
292
|
+
gas?: `0x${string}` | undefined;
|
|
293
|
+
gasLimit?: `0x${string}` | undefined;
|
|
294
|
+
gasPrice?: `0x${string}` | undefined;
|
|
295
|
+
accessList?: {
|
|
296
|
+
address: string;
|
|
297
|
+
storageKeys: `0x${string}`[];
|
|
298
|
+
}[] | undefined;
|
|
299
|
+
}>, {
|
|
300
|
+
value: `0x${string}`;
|
|
301
|
+
nonce: `0x${string}`;
|
|
302
|
+
to: `0x${string}`;
|
|
303
|
+
data: `0x${string}`;
|
|
304
|
+
chainId: number | `0x${string}`;
|
|
305
|
+
from: `0x${string}`;
|
|
306
|
+
type?: string | number | undefined;
|
|
307
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
308
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
309
|
+
gas?: `0x${string}` | undefined;
|
|
310
|
+
gasLimit?: `0x${string}` | undefined;
|
|
311
|
+
gasPrice?: `0x${string}` | undefined;
|
|
312
|
+
accessList?: {
|
|
313
|
+
address: `0x${string}`;
|
|
314
|
+
storageKeys: `0x${string}`[];
|
|
315
|
+
}[] | undefined;
|
|
316
|
+
}, {
|
|
317
|
+
value: `0x${string}`;
|
|
318
|
+
nonce: `0x${string}`;
|
|
319
|
+
to: string;
|
|
320
|
+
data: `0x${string}`;
|
|
321
|
+
chainId: number | `0x${string}`;
|
|
322
|
+
from: string;
|
|
323
|
+
type?: string | number | undefined;
|
|
324
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
325
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
326
|
+
gas?: `0x${string}` | undefined;
|
|
327
|
+
gasLimit?: `0x${string}` | undefined;
|
|
328
|
+
gasPrice?: `0x${string}` | undefined;
|
|
329
|
+
accessList?: {
|
|
330
|
+
address: string;
|
|
331
|
+
storageKeys: `0x${string}`[];
|
|
332
|
+
}[] | undefined;
|
|
333
|
+
}>;
|
|
334
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
335
|
+
transaction: {
|
|
336
|
+
value: `0x${string}`;
|
|
337
|
+
nonce: `0x${string}`;
|
|
338
|
+
to: `0x${string}`;
|
|
339
|
+
data: `0x${string}`;
|
|
340
|
+
chainId: number | `0x${string}`;
|
|
341
|
+
from: `0x${string}`;
|
|
342
|
+
type?: string | number | undefined;
|
|
343
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
344
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
345
|
+
gas?: `0x${string}` | undefined;
|
|
346
|
+
gasLimit?: `0x${string}` | undefined;
|
|
347
|
+
gasPrice?: `0x${string}` | undefined;
|
|
348
|
+
accessList?: {
|
|
349
|
+
address: `0x${string}`;
|
|
350
|
+
storageKeys: `0x${string}`[];
|
|
351
|
+
}[] | undefined;
|
|
352
|
+
};
|
|
353
|
+
alchemyRpcUrl: string;
|
|
354
|
+
}, {
|
|
355
|
+
transaction: {
|
|
356
|
+
value: `0x${string}`;
|
|
357
|
+
nonce: `0x${string}`;
|
|
358
|
+
to: string;
|
|
359
|
+
data: `0x${string}`;
|
|
360
|
+
chainId: number | `0x${string}`;
|
|
361
|
+
from: string;
|
|
362
|
+
type?: string | number | undefined;
|
|
363
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
364
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
365
|
+
gas?: `0x${string}` | undefined;
|
|
366
|
+
gasLimit?: `0x${string}` | undefined;
|
|
367
|
+
gasPrice?: `0x${string}` | undefined;
|
|
368
|
+
accessList?: {
|
|
369
|
+
address: string;
|
|
370
|
+
storageKeys: `0x${string}`[];
|
|
371
|
+
}[] | undefined;
|
|
372
|
+
};
|
|
373
|
+
alchemyRpcUrl: string;
|
|
374
|
+
}>]>, string, import("../internal").AbilityPolicyMap<readonly [], never>, {}, import("zod").ZodObject<{
|
|
375
|
+
simulationChanges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
376
|
+
assetType: import("zod").ZodNativeEnum<typeof import("../lib/gatedSigner/helpers/simulation").SimulateAssetType>;
|
|
377
|
+
changeType: import("zod").ZodNativeEnum<typeof import("../lib/gatedSigner/helpers/simulation").SimulateChangeType>;
|
|
378
|
+
from: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
379
|
+
to: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
380
|
+
rawAmount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
381
|
+
amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
382
|
+
contractAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
|
|
383
|
+
tokenId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
384
|
+
decimals: import("zod").ZodNumber;
|
|
385
|
+
symbol: import("zod").ZodString;
|
|
386
|
+
name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
387
|
+
logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
388
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
389
|
+
symbol: string;
|
|
390
|
+
to: `0x${string}`;
|
|
391
|
+
from: `0x${string}`;
|
|
392
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
393
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
394
|
+
decimals: number;
|
|
395
|
+
tokenId?: string | null | undefined;
|
|
396
|
+
name?: string | null | undefined;
|
|
397
|
+
rawAmount?: string | null | undefined;
|
|
398
|
+
amount?: string | null | undefined;
|
|
399
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
400
|
+
logo?: string | null | undefined;
|
|
401
|
+
}, {
|
|
402
|
+
symbol: string;
|
|
403
|
+
to: `0x${string}`;
|
|
404
|
+
from: `0x${string}`;
|
|
405
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
406
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
407
|
+
decimals: number;
|
|
408
|
+
tokenId?: string | null | undefined;
|
|
409
|
+
name?: string | null | undefined;
|
|
410
|
+
rawAmount?: string | null | undefined;
|
|
411
|
+
amount?: string | null | undefined;
|
|
412
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
413
|
+
logo?: string | null | undefined;
|
|
414
|
+
}>, "many">;
|
|
415
|
+
} & {
|
|
416
|
+
signature: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
417
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
418
|
+
signature: `0x${string}`;
|
|
419
|
+
simulationChanges: {
|
|
420
|
+
symbol: string;
|
|
421
|
+
to: `0x${string}`;
|
|
422
|
+
from: `0x${string}`;
|
|
423
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
424
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
425
|
+
decimals: number;
|
|
426
|
+
tokenId?: string | null | undefined;
|
|
427
|
+
name?: string | null | undefined;
|
|
428
|
+
rawAmount?: string | null | undefined;
|
|
429
|
+
amount?: string | null | undefined;
|
|
430
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
431
|
+
logo?: string | null | undefined;
|
|
432
|
+
}[];
|
|
433
|
+
}, {
|
|
434
|
+
signature: `0x${string}`;
|
|
435
|
+
simulationChanges: {
|
|
436
|
+
symbol: string;
|
|
437
|
+
to: `0x${string}`;
|
|
438
|
+
from: `0x${string}`;
|
|
439
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
440
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
441
|
+
decimals: number;
|
|
442
|
+
tokenId?: string | null | undefined;
|
|
443
|
+
name?: string | null | undefined;
|
|
444
|
+
rawAmount?: string | null | undefined;
|
|
445
|
+
amount?: string | null | undefined;
|
|
446
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
447
|
+
logo?: string | null | undefined;
|
|
448
|
+
}[];
|
|
449
|
+
}>, import("zod").ZodObject<{
|
|
450
|
+
error: import("zod").ZodString;
|
|
451
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
452
|
+
error: string;
|
|
453
|
+
}, {
|
|
454
|
+
error: string;
|
|
455
|
+
}>, import("zod").ZodObject<{
|
|
456
|
+
simulationChanges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
457
|
+
assetType: import("zod").ZodNativeEnum<typeof import("../lib/gatedSigner/helpers/simulation").SimulateAssetType>;
|
|
458
|
+
changeType: import("zod").ZodNativeEnum<typeof import("../lib/gatedSigner/helpers/simulation").SimulateChangeType>;
|
|
459
|
+
from: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
460
|
+
to: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
|
|
461
|
+
rawAmount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
462
|
+
amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
463
|
+
contractAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
|
|
464
|
+
tokenId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
465
|
+
decimals: import("zod").ZodNumber;
|
|
466
|
+
symbol: import("zod").ZodString;
|
|
467
|
+
name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
468
|
+
logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
469
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
470
|
+
symbol: string;
|
|
471
|
+
to: `0x${string}`;
|
|
472
|
+
from: `0x${string}`;
|
|
473
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
474
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
475
|
+
decimals: number;
|
|
476
|
+
tokenId?: string | null | undefined;
|
|
477
|
+
name?: string | null | undefined;
|
|
478
|
+
rawAmount?: string | null | undefined;
|
|
479
|
+
amount?: string | null | undefined;
|
|
480
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
481
|
+
logo?: string | null | undefined;
|
|
482
|
+
}, {
|
|
483
|
+
symbol: string;
|
|
484
|
+
to: `0x${string}`;
|
|
485
|
+
from: `0x${string}`;
|
|
486
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
487
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
488
|
+
decimals: number;
|
|
489
|
+
tokenId?: string | null | undefined;
|
|
490
|
+
name?: string | null | undefined;
|
|
491
|
+
rawAmount?: string | null | undefined;
|
|
492
|
+
amount?: string | null | undefined;
|
|
493
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
494
|
+
logo?: string | null | undefined;
|
|
495
|
+
}>, "many">;
|
|
496
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
497
|
+
simulationChanges: {
|
|
498
|
+
symbol: string;
|
|
499
|
+
to: `0x${string}`;
|
|
500
|
+
from: `0x${string}`;
|
|
501
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
502
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
503
|
+
decimals: number;
|
|
504
|
+
tokenId?: string | null | undefined;
|
|
505
|
+
name?: string | null | undefined;
|
|
506
|
+
rawAmount?: string | null | undefined;
|
|
507
|
+
amount?: string | null | undefined;
|
|
508
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
509
|
+
logo?: string | null | undefined;
|
|
510
|
+
}[];
|
|
511
|
+
}, {
|
|
512
|
+
simulationChanges: {
|
|
513
|
+
symbol: string;
|
|
514
|
+
to: `0x${string}`;
|
|
515
|
+
from: `0x${string}`;
|
|
516
|
+
assetType: import("../lib/gatedSigner/helpers/simulation").SimulateAssetType;
|
|
517
|
+
changeType: import("../lib/gatedSigner/helpers/simulation").SimulateChangeType;
|
|
518
|
+
decimals: number;
|
|
519
|
+
tokenId?: string | null | undefined;
|
|
520
|
+
name?: string | null | undefined;
|
|
521
|
+
rawAmount?: string | null | undefined;
|
|
522
|
+
amount?: string | null | undefined;
|
|
523
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
524
|
+
logo?: string | null | undefined;
|
|
525
|
+
}[];
|
|
526
|
+
}>, import("zod").ZodObject<{
|
|
527
|
+
error: import("zod").ZodString;
|
|
528
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
529
|
+
error: string;
|
|
530
|
+
}, {
|
|
531
|
+
error: string;
|
|
532
|
+
}>>;
|
|
533
|
+
//# sourceMappingURL=create-vincent-gated-signer-ability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-vincent-gated-signer-ability.d.ts","sourceRoot":"","sources":["../../../src/type-inference-verification/create-vincent-gated-signer-ability.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAa7B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// src/type-inference-verification/create-vincent-gated-signer-ability.ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.gatedSignerAbility = void 0;
|
|
5
|
+
const vincentGatedSignerAbility_1 = require("../lib/gatedSigner/vincentGatedSignerAbility");
|
|
6
|
+
exports.gatedSignerAbility = (0, vincentGatedSignerAbility_1.createVincentGatedSignerAbility)({
|
|
7
|
+
packageName: 'gated-signer-ability@1.0.0',
|
|
8
|
+
abilityDescription: 'Gated Signer Ability',
|
|
9
|
+
decodeTransaction: () => {
|
|
10
|
+
throw new Error('TODO decodeTransaction');
|
|
11
|
+
},
|
|
12
|
+
validateTransaction: () => {
|
|
13
|
+
throw new Error('TODO validateTransaction');
|
|
14
|
+
},
|
|
15
|
+
validateSimulation: () => {
|
|
16
|
+
throw new Error('TODO validateSimulation');
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=create-vincent-gated-signer-ability.js.map
|