SessionKeyPluginExecutionFunctionAbi

1const SessionKeyPluginExecutionFunctionAbi: readonly [
2 {
3 inputs: readonly [
4 {
5 components: readonly [
6 {
7 internalType: "address";
8 name: "target";
9 type: "address";
10 },
11 {
12 internalType: "uint256";
13 name: "value";
14 type: "uint256";
15 },
16 {
17 internalType: "bytes";
18 name: "data";
19 type: "bytes";
20 },
21 ];
22 internalType: "struct Call[]";
23 name: "calls";
24 type: "tuple[]";
25 },
26 {
27 internalType: "address";
28 name: "sessionKey";
29 type: "address";
30 },
31 ];
32 name: "executeWithSessionKey";
33 outputs: readonly [
34 {
35 internalType: "bytes[]";
36 name: "";
37 type: "bytes[]";
38 },
39 ];
40 stateMutability: "nonpayable";
41 type: "function";
42 },
43 {
44 inputs: readonly [
45 {
46 internalType: "address";
47 name: "sessionKey";
48 type: "address";
49 },
50 {
51 internalType: "bytes32";
52 name: "tag";
53 type: "bytes32";
54 },
55 {
56 internalType: "bytes[]";
57 name: "permissionUpdates";
58 type: "bytes[]";
59 },
60 ];
61 name: "addSessionKey";
62 outputs: readonly [];
63 stateMutability: "nonpayable";
64 type: "function";
65 },
66 {
67 inputs: readonly [
68 {
69 internalType: "address";
70 name: "sessionKey";
71 type: "address";
72 },
73 {
74 internalType: "bytes32";
75 name: "predecessor";
76 type: "bytes32";
77 },
78 ];
79 name: "removeSessionKey";
80 outputs: readonly [];
81 stateMutability: "nonpayable";
82 type: "function";
83 },
84 {
85 inputs: readonly [
86 {
87 internalType: "address";
88 name: "oldSessionKey";
89 type: "address";
90 },
91 {
92 internalType: "bytes32";
93 name: "predecessor";
94 type: "bytes32";
95 },
96 {
97 internalType: "address";
98 name: "newSessionKey";
99 type: "address";
100 },
101 ];
102 name: "rotateSessionKey";
103 outputs: readonly [];
104 stateMutability: "nonpayable";
105 type: "function";
106 },
107 {
108 inputs: readonly [
109 {
110 internalType: "address";
111 name: "sessionKey";
112 type: "address";
113 },
114 {
115 internalType: "bytes[]";
116 name: "updates";
117 type: "bytes[]";
118 },
119 ];
120 name: "updateKeyPermissions";
121 outputs: readonly [];
122 stateMutability: "nonpayable";
123 type: "function";
124 },
125];

Defined in: account-kit/smart-contracts/src/msca/plugins/session-key/plugin.ts:476