@pimlico/alto 0.0.0-main.20250117T174933 → 0.0.0-main.20250121T120414

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/esm/cli/alto.js +1 -3
  2. package/esm/cli/alto.js.map +1 -1
  3. package/esm/cli/config/bundler.d.ts +346 -358
  4. package/esm/cli/config/bundler.js +1 -5
  5. package/esm/cli/config/bundler.js.map +1 -1
  6. package/esm/cli/config/options.d.ts +1 -2
  7. package/esm/cli/config/options.js +5 -12
  8. package/esm/cli/config/options.js.map +1 -1
  9. package/esm/cli/setupServer.js +3 -16
  10. package/esm/cli/setupServer.js.map +1 -1
  11. package/esm/executor/executor.d.ts +3 -11
  12. package/esm/executor/executor.js +42 -258
  13. package/esm/executor/executor.js.map +1 -1
  14. package/esm/executor/executorManager.d.ts +1 -1
  15. package/esm/executor/executorManager.js +4 -14
  16. package/esm/executor/executorManager.js.map +1 -1
  17. package/esm/executor/utils.d.ts +7 -17
  18. package/esm/executor/utils.js +29 -66
  19. package/esm/executor/utils.js.map +1 -1
  20. package/esm/handlers/index.d.ts +0 -1
  21. package/esm/handlers/index.js +0 -1
  22. package/esm/handlers/index.js.map +1 -1
  23. package/esm/rpc/rpcHandler.d.ts +3 -7
  24. package/esm/rpc/rpcHandler.js +9 -80
  25. package/esm/rpc/rpcHandler.js.map +1 -1
  26. package/esm/types/contracts/index.d.ts +0 -4
  27. package/esm/types/contracts/index.js +0 -4
  28. package/esm/types/contracts/index.js.map +1 -1
  29. package/esm/types/mempool.d.ts +2 -4
  30. package/esm/types/mempool.js +0 -6
  31. package/esm/types/mempool.js.map +1 -1
  32. package/esm/types/schemas.d.ts +224 -249
  33. package/esm/types/schemas.js +0 -10
  34. package/esm/types/schemas.js.map +1 -1
  35. package/esm/utils/bigInt.d.ts +1 -1
  36. package/esm/utils/bigInt.js +1 -1
  37. package/esm/utils/bigInt.js.map +1 -1
  38. package/esm/utils/userop.d.ts +1 -1
  39. package/esm/utils/validation.js +2 -2
  40. package/esm/utils/validation.js.map +1 -1
  41. package/lib/cli/alto.js +0 -2
  42. package/lib/cli/alto.js.map +1 -1
  43. package/lib/cli/config/bundler.d.ts +346 -358
  44. package/lib/cli/config/bundler.js +2 -6
  45. package/lib/cli/config/bundler.js.map +1 -1
  46. package/lib/cli/config/options.d.ts +1 -2
  47. package/lib/cli/config/options.js +6 -13
  48. package/lib/cli/config/options.js.map +1 -1
  49. package/lib/cli/setupServer.js +2 -15
  50. package/lib/cli/setupServer.js.map +1 -1
  51. package/lib/executor/executor.d.ts +3 -11
  52. package/lib/executor/executor.js +41 -257
  53. package/lib/executor/executor.js.map +1 -1
  54. package/lib/executor/executorManager.d.ts +1 -1
  55. package/lib/executor/executorManager.js +2 -12
  56. package/lib/executor/executorManager.js.map +1 -1
  57. package/lib/executor/utils.d.ts +7 -17
  58. package/lib/executor/utils.js +29 -67
  59. package/lib/executor/utils.js.map +1 -1
  60. package/lib/handlers/index.d.ts +0 -1
  61. package/lib/handlers/index.js +0 -1
  62. package/lib/handlers/index.js.map +1 -1
  63. package/lib/rpc/rpcHandler.d.ts +3 -7
  64. package/lib/rpc/rpcHandler.js +8 -79
  65. package/lib/rpc/rpcHandler.js.map +1 -1
  66. package/lib/types/contracts/index.d.ts +0 -4
  67. package/lib/types/contracts/index.js +0 -4
  68. package/lib/types/contracts/index.js.map +1 -1
  69. package/lib/types/mempool.d.ts +2 -4
  70. package/lib/types/mempool.js +1 -8
  71. package/lib/types/mempool.js.map +1 -1
  72. package/lib/types/schemas.d.ts +224 -249
  73. package/lib/types/schemas.js +0 -10
  74. package/lib/types/schemas.js.map +1 -1
  75. package/lib/utils/bigInt.d.ts +1 -1
  76. package/lib/utils/bigInt.js +1 -1
  77. package/lib/utils/bigInt.js.map +1 -1
  78. package/lib/utils/userop.d.ts +1 -1
  79. package/lib/utils/validation.js +2 -2
  80. package/lib/utils/validation.js.map +1 -1
  81. package/package.json +1 -1
  82. package/esm/handlers/compressionHandler.d.ts +0 -11
  83. package/esm/handlers/compressionHandler.js +0 -39
  84. package/esm/handlers/compressionHandler.js.map +0 -1
  85. package/esm/types/contracts/BundleBulker.d.ts +0 -120
  86. package/esm/types/contracts/BundleBulker.js +0 -157
  87. package/esm/types/contracts/BundleBulker.js.map +0 -1
  88. package/esm/types/contracts/IOpInflator.d.ts +0 -61
  89. package/esm/types/contracts/IOpInflator.js +0 -80
  90. package/esm/types/contracts/IOpInflator.js.map +0 -1
  91. package/esm/types/contracts/Inflator.d.ts +0 -65
  92. package/esm/types/contracts/Inflator.js +0 -84
  93. package/esm/types/contracts/Inflator.js.map +0 -1
  94. package/esm/types/contracts/PerOpInflator.d.ts +0 -176
  95. package/esm/types/contracts/PerOpInflator.js +0 -229
  96. package/esm/types/contracts/PerOpInflator.js.map +0 -1
  97. package/lib/handlers/compressionHandler.d.ts +0 -11
  98. package/lib/handlers/compressionHandler.js +0 -43
  99. package/lib/handlers/compressionHandler.js.map +0 -1
  100. package/lib/types/contracts/BundleBulker.d.ts +0 -120
  101. package/lib/types/contracts/BundleBulker.js +0 -160
  102. package/lib/types/contracts/BundleBulker.js.map +0 -1
  103. package/lib/types/contracts/IOpInflator.d.ts +0 -61
  104. package/lib/types/contracts/IOpInflator.js +0 -83
  105. package/lib/types/contracts/IOpInflator.js.map +0 -1
  106. package/lib/types/contracts/Inflator.d.ts +0 -65
  107. package/lib/types/contracts/Inflator.js +0 -87
  108. package/lib/types/contracts/Inflator.js.map +0 -1
  109. package/lib/types/contracts/PerOpInflator.d.ts +0 -176
  110. package/lib/types/contracts/PerOpInflator.js +0 -232
  111. package/lib/types/contracts/PerOpInflator.js.map +0 -1
@@ -1,229 +0,0 @@
1
- export const PerOpInflatorAbi = [
2
- {
3
- type: "constructor",
4
- inputs: [
5
- {
6
- name: "_owner",
7
- type: "address",
8
- internalType: "address"
9
- }
10
- ],
11
- stateMutability: "nonpayable"
12
- },
13
- {
14
- type: "function",
15
- name: "beneficiary",
16
- inputs: [],
17
- outputs: [
18
- {
19
- name: "",
20
- type: "address",
21
- internalType: "address payable"
22
- }
23
- ],
24
- stateMutability: "view"
25
- },
26
- {
27
- type: "function",
28
- name: "idToInflator",
29
- inputs: [
30
- {
31
- name: "",
32
- type: "uint32",
33
- internalType: "uint32"
34
- }
35
- ],
36
- outputs: [
37
- {
38
- name: "",
39
- type: "address",
40
- internalType: "contract IOpInflator"
41
- }
42
- ],
43
- stateMutability: "view"
44
- },
45
- {
46
- type: "function",
47
- name: "inflate",
48
- inputs: [
49
- {
50
- name: "compressed",
51
- type: "bytes",
52
- internalType: "bytes"
53
- }
54
- ],
55
- outputs: [
56
- {
57
- name: "",
58
- type: "tuple[]",
59
- internalType: "struct UserOperation[]",
60
- components: [
61
- {
62
- name: "sender",
63
- type: "address",
64
- internalType: "address"
65
- },
66
- {
67
- name: "nonce",
68
- type: "uint256",
69
- internalType: "uint256"
70
- },
71
- {
72
- name: "initCode",
73
- type: "bytes",
74
- internalType: "bytes"
75
- },
76
- {
77
- name: "callData",
78
- type: "bytes",
79
- internalType: "bytes"
80
- },
81
- {
82
- name: "callGasLimit",
83
- type: "uint256",
84
- internalType: "uint256"
85
- },
86
- {
87
- name: "verificationGasLimit",
88
- type: "uint256",
89
- internalType: "uint256"
90
- },
91
- {
92
- name: "preVerificationGas",
93
- type: "uint256",
94
- internalType: "uint256"
95
- },
96
- {
97
- name: "maxFeePerGas",
98
- type: "uint256",
99
- internalType: "uint256"
100
- },
101
- {
102
- name: "maxPriorityFeePerGas",
103
- type: "uint256",
104
- internalType: "uint256"
105
- },
106
- {
107
- name: "paymasterAndData",
108
- type: "bytes",
109
- internalType: "bytes"
110
- },
111
- {
112
- name: "signature",
113
- type: "bytes",
114
- internalType: "bytes"
115
- }
116
- ]
117
- },
118
- {
119
- name: "",
120
- type: "address",
121
- internalType: "address payable"
122
- }
123
- ],
124
- stateMutability: "view"
125
- },
126
- {
127
- type: "function",
128
- name: "inflatorToID",
129
- inputs: [
130
- {
131
- name: "",
132
- type: "address",
133
- internalType: "contract IOpInflator"
134
- }
135
- ],
136
- outputs: [
137
- {
138
- name: "",
139
- type: "uint32",
140
- internalType: "uint32"
141
- }
142
- ],
143
- stateMutability: "view"
144
- },
145
- {
146
- type: "function",
147
- name: "owner",
148
- inputs: [],
149
- outputs: [
150
- {
151
- name: "",
152
- type: "address",
153
- internalType: "address"
154
- }
155
- ],
156
- stateMutability: "view"
157
- },
158
- {
159
- type: "function",
160
- name: "registerOpInflator",
161
- inputs: [
162
- {
163
- name: "inflatorId",
164
- type: "uint32",
165
- internalType: "uint32"
166
- },
167
- {
168
- name: "inflator",
169
- type: "address",
170
- internalType: "contract IOpInflator"
171
- }
172
- ],
173
- outputs: [],
174
- stateMutability: "nonpayable"
175
- },
176
- {
177
- type: "function",
178
- name: "renounceOwnership",
179
- inputs: [],
180
- outputs: [],
181
- stateMutability: "nonpayable"
182
- },
183
- {
184
- type: "function",
185
- name: "setBeneficiary",
186
- inputs: [
187
- {
188
- name: "_beneficiary",
189
- type: "address",
190
- internalType: "address payable"
191
- }
192
- ],
193
- outputs: [],
194
- stateMutability: "nonpayable"
195
- },
196
- {
197
- type: "function",
198
- name: "transferOwnership",
199
- inputs: [
200
- {
201
- name: "newOwner",
202
- type: "address",
203
- internalType: "address"
204
- }
205
- ],
206
- outputs: [],
207
- stateMutability: "nonpayable"
208
- },
209
- {
210
- type: "event",
211
- name: "OwnershipTransferred",
212
- inputs: [
213
- {
214
- name: "previousOwner",
215
- type: "address",
216
- indexed: true,
217
- internalType: "address"
218
- },
219
- {
220
- name: "newOwner",
221
- type: "address",
222
- indexed: true,
223
- internalType: "address"
224
- }
225
- ],
226
- anonymous: false
227
- }
228
- ];
229
- //# sourceMappingURL=PerOpInflator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PerOpInflator.js","sourceRoot":"","sources":["../../../types/contracts/PerOpInflator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC5B;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E,IAAI;gBACb,YAAY,EAAE,SAAS;aAC1B;SACJ;QACD,SAAS,EAAE,KAAK;KACnB;CACK,CAAA"}
@@ -1,11 +0,0 @@
1
- import { type Address } from "../types/index.js";
2
- import { type Client, type PublicClient } from "viem";
3
- export declare class CompressionHandler {
4
- bundleBulkerAddress: Address;
5
- perOpInflatorAddress: Address;
6
- perOpInflatorId: number;
7
- private constructor();
8
- static createAsync: (bundleBulkerAddress: Address, perOpInflatorAddress: Address, publicClient: PublicClient) => Promise<CompressionHandler>;
9
- getInflatorRegisteredId(inflator: Address, publicClient: Client): Promise<number>;
10
- }
11
- //# sourceMappingURL=compressionHandler.d.ts.map
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CompressionHandler = void 0;
4
- const types_1 = require("../types/index.js");
5
- const viem_1 = require("viem");
6
- class CompressionHandler {
7
- bundleBulkerAddress;
8
- perOpInflatorAddress;
9
- perOpInflatorId;
10
- constructor(bundleBulkerAddress, perOpInflatorAddress, perOpInflatorId) {
11
- this.bundleBulkerAddress = bundleBulkerAddress;
12
- this.perOpInflatorAddress = perOpInflatorAddress;
13
- this.perOpInflatorId = perOpInflatorId;
14
- }
15
- static createAsync = async (bundleBulkerAddress, perOpInflatorAddress, publicClient) => {
16
- const compressionHandler = new CompressionHandler(bundleBulkerAddress, perOpInflatorAddress, 0);
17
- const bundleBulker = (0, viem_1.getContract)({
18
- address: bundleBulkerAddress,
19
- abi: types_1.BundleBulkerAbi,
20
- client: {
21
- public: publicClient
22
- }
23
- });
24
- compressionHandler.perOpInflatorId =
25
- await bundleBulker.read.inflatorToID([perOpInflatorAddress]);
26
- if (compressionHandler.perOpInflatorId === 0) {
27
- throw new Error(`PerOpInflator (${perOpInflatorAddress}) is not registered with BundleBulker (${bundleBulkerAddress})`);
28
- }
29
- return compressionHandler;
30
- };
31
- async getInflatorRegisteredId(inflator, publicClient) {
32
- const perOpInflator = (0, viem_1.getContract)({
33
- address: this.perOpInflatorAddress,
34
- abi: types_1.PerOpInflatorAbi,
35
- client: {
36
- public: publicClient
37
- }
38
- });
39
- return await perOpInflator.read.inflatorToID([inflator]);
40
- }
41
- }
42
- exports.CompressionHandler = CompressionHandler;
43
- //# sourceMappingURL=compressionHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compressionHandler.js","sourceRoot":"","sources":["../../handlers/compressionHandler.ts"],"names":[],"mappings":";;;AAAA,uCAA6E;AAC7E,+BAAkE;AAElE,MAAa,kBAAkB;IAC3B,mBAAmB,CAAS;IAC5B,oBAAoB,CAAS;IAC7B,eAAe,CAAQ;IAEvB,YACI,mBAA4B,EAC5B,oBAA6B,EAC7B,eAAuB;QAEvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;IAC1C,CAAC;IAEM,MAAM,CAAC,WAAW,GAAG,KAAK,EAC7B,mBAA4B,EAC5B,oBAA6B,EAC7B,YAA0B,EAC5B,EAAE;QACA,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,CAC7C,mBAAmB,EACnB,oBAAoB,EACpB,CAAC,CACJ,CAAA;QAED,MAAM,YAAY,GAAG,IAAA,kBAAW,EAAC;YAC7B,OAAO,EAAE,mBAAmB;YAC5B,GAAG,EAAE,uBAAe;YACpB,MAAM,EAAE;gBACJ,MAAM,EAAE,YAAY;aACvB;SACJ,CAAC,CAAA;QAEF,kBAAkB,CAAC,eAAe;YAC9B,MAAM,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAA;QAEhE,IAAI,kBAAkB,CAAC,eAAe,KAAK,CAAC,EAAE,CAAC;YAC3C,MAAM,IAAI,KAAK,CACX,kBAAkB,oBAAoB,0CAA0C,mBAAmB,GAAG,CACzG,CAAA;QACL,CAAC;QAED,OAAO,kBAAkB,CAAA;IAC7B,CAAC,CAAA;IAEM,KAAK,CAAC,uBAAuB,CAChC,QAAiB,EACjB,YAAoB;QAEpB,MAAM,aAAa,GAAG,IAAA,kBAAW,EAAC;YAC9B,OAAO,EAAE,IAAI,CAAC,oBAAoB;YAClC,GAAG,EAAE,wBAAgB;YACrB,MAAM,EAAE;gBACJ,MAAM,EAAE,YAAY;aACvB;SACJ,CAAC,CAAA;QAEF,OAAO,MAAM,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC5D,CAAC;;AA3DL,gDA4DC"}
@@ -1,120 +0,0 @@
1
- export declare const BundleBulkerAbi: readonly [{
2
- readonly type: "fallback";
3
- readonly stateMutability: "nonpayable";
4
- }, {
5
- readonly type: "function";
6
- readonly name: "ENTRY_POINT";
7
- readonly inputs: readonly [];
8
- readonly outputs: readonly [{
9
- readonly name: "";
10
- readonly type: "address";
11
- readonly internalType: "address";
12
- }];
13
- readonly stateMutability: "view";
14
- }, {
15
- readonly type: "function";
16
- readonly name: "idToInflator";
17
- readonly inputs: readonly [{
18
- readonly name: "";
19
- readonly type: "uint32";
20
- readonly internalType: "uint32";
21
- }];
22
- readonly outputs: readonly [{
23
- readonly name: "";
24
- readonly type: "address";
25
- readonly internalType: "contract IInflator";
26
- }];
27
- readonly stateMutability: "view";
28
- }, {
29
- readonly type: "function";
30
- readonly name: "inflate";
31
- readonly inputs: readonly [{
32
- readonly name: "compressed";
33
- readonly type: "bytes";
34
- readonly internalType: "bytes";
35
- }];
36
- readonly outputs: readonly [{
37
- readonly name: "ops";
38
- readonly type: "tuple[]";
39
- readonly internalType: "struct UserOperation[]";
40
- readonly components: readonly [{
41
- readonly name: "sender";
42
- readonly type: "address";
43
- readonly internalType: "address";
44
- }, {
45
- readonly name: "nonce";
46
- readonly type: "uint256";
47
- readonly internalType: "uint256";
48
- }, {
49
- readonly name: "initCode";
50
- readonly type: "bytes";
51
- readonly internalType: "bytes";
52
- }, {
53
- readonly name: "callData";
54
- readonly type: "bytes";
55
- readonly internalType: "bytes";
56
- }, {
57
- readonly name: "callGasLimit";
58
- readonly type: "uint256";
59
- readonly internalType: "uint256";
60
- }, {
61
- readonly name: "verificationGasLimit";
62
- readonly type: "uint256";
63
- readonly internalType: "uint256";
64
- }, {
65
- readonly name: "preVerificationGas";
66
- readonly type: "uint256";
67
- readonly internalType: "uint256";
68
- }, {
69
- readonly name: "maxFeePerGas";
70
- readonly type: "uint256";
71
- readonly internalType: "uint256";
72
- }, {
73
- readonly name: "maxPriorityFeePerGas";
74
- readonly type: "uint256";
75
- readonly internalType: "uint256";
76
- }, {
77
- readonly name: "paymasterAndData";
78
- readonly type: "bytes";
79
- readonly internalType: "bytes";
80
- }, {
81
- readonly name: "signature";
82
- readonly type: "bytes";
83
- readonly internalType: "bytes";
84
- }];
85
- }, {
86
- readonly name: "beneficiary";
87
- readonly type: "address";
88
- readonly internalType: "address payable";
89
- }];
90
- readonly stateMutability: "view";
91
- }, {
92
- readonly type: "function";
93
- readonly name: "inflatorToID";
94
- readonly inputs: readonly [{
95
- readonly name: "";
96
- readonly type: "address";
97
- readonly internalType: "contract IInflator";
98
- }];
99
- readonly outputs: readonly [{
100
- readonly name: "";
101
- readonly type: "uint32";
102
- readonly internalType: "uint32";
103
- }];
104
- readonly stateMutability: "view";
105
- }, {
106
- readonly type: "function";
107
- readonly name: "registerInflator";
108
- readonly inputs: readonly [{
109
- readonly name: "inflatorId";
110
- readonly type: "uint32";
111
- readonly internalType: "uint32";
112
- }, {
113
- readonly name: "inflator";
114
- readonly type: "address";
115
- readonly internalType: "contract IInflator";
116
- }];
117
- readonly outputs: readonly [];
118
- readonly stateMutability: "nonpayable";
119
- }];
120
- //# sourceMappingURL=BundleBulker.d.ts.map
@@ -1,160 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BundleBulkerAbi = void 0;
4
- exports.BundleBulkerAbi = [
5
- {
6
- type: "fallback",
7
- stateMutability: "nonpayable"
8
- },
9
- {
10
- type: "function",
11
- name: "ENTRY_POINT",
12
- inputs: [],
13
- outputs: [
14
- {
15
- name: "",
16
- type: "address",
17
- internalType: "address"
18
- }
19
- ],
20
- stateMutability: "view"
21
- },
22
- {
23
- type: "function",
24
- name: "idToInflator",
25
- inputs: [
26
- {
27
- name: "",
28
- type: "uint32",
29
- internalType: "uint32"
30
- }
31
- ],
32
- outputs: [
33
- {
34
- name: "",
35
- type: "address",
36
- internalType: "contract IInflator"
37
- }
38
- ],
39
- stateMutability: "view"
40
- },
41
- {
42
- type: "function",
43
- name: "inflate",
44
- inputs: [
45
- {
46
- name: "compressed",
47
- type: "bytes",
48
- internalType: "bytes"
49
- }
50
- ],
51
- outputs: [
52
- {
53
- name: "ops",
54
- type: "tuple[]",
55
- internalType: "struct UserOperation[]",
56
- components: [
57
- {
58
- name: "sender",
59
- type: "address",
60
- internalType: "address"
61
- },
62
- {
63
- name: "nonce",
64
- type: "uint256",
65
- internalType: "uint256"
66
- },
67
- {
68
- name: "initCode",
69
- type: "bytes",
70
- internalType: "bytes"
71
- },
72
- {
73
- name: "callData",
74
- type: "bytes",
75
- internalType: "bytes"
76
- },
77
- {
78
- name: "callGasLimit",
79
- type: "uint256",
80
- internalType: "uint256"
81
- },
82
- {
83
- name: "verificationGasLimit",
84
- type: "uint256",
85
- internalType: "uint256"
86
- },
87
- {
88
- name: "preVerificationGas",
89
- type: "uint256",
90
- internalType: "uint256"
91
- },
92
- {
93
- name: "maxFeePerGas",
94
- type: "uint256",
95
- internalType: "uint256"
96
- },
97
- {
98
- name: "maxPriorityFeePerGas",
99
- type: "uint256",
100
- internalType: "uint256"
101
- },
102
- {
103
- name: "paymasterAndData",
104
- type: "bytes",
105
- internalType: "bytes"
106
- },
107
- {
108
- name: "signature",
109
- type: "bytes",
110
- internalType: "bytes"
111
- }
112
- ]
113
- },
114
- {
115
- name: "beneficiary",
116
- type: "address",
117
- internalType: "address payable"
118
- }
119
- ],
120
- stateMutability: "view"
121
- },
122
- {
123
- type: "function",
124
- name: "inflatorToID",
125
- inputs: [
126
- {
127
- name: "",
128
- type: "address",
129
- internalType: "contract IInflator"
130
- }
131
- ],
132
- outputs: [
133
- {
134
- name: "",
135
- type: "uint32",
136
- internalType: "uint32"
137
- }
138
- ],
139
- stateMutability: "view"
140
- },
141
- {
142
- type: "function",
143
- name: "registerInflator",
144
- inputs: [
145
- {
146
- name: "inflatorId",
147
- type: "uint32",
148
- internalType: "uint32"
149
- },
150
- {
151
- name: "inflator",
152
- type: "address",
153
- internalType: "contract IInflator"
154
- }
155
- ],
156
- outputs: [],
157
- stateMutability: "nonpayable"
158
- }
159
- ];
160
- //# sourceMappingURL=BundleBulker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BundleBulker.js","sourceRoot":"","sources":["../../../types/contracts/BundleBulker.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC3B;QACI,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,YAAY;KAChC;IACD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aAC1B;SACJ;QACD,eAAe,EAAE,MAAM;KAC1B;IACD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE;YACJ;gBACI,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,YAAY,EAAE,QAAQ;aACzB;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,oBAAoB;aACrC;SACJ;QACD,eAAe,EAAE,MAAM;KAC1B;IACD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACJ;gBACI,IAAI,EAAE,YAAY;gBAClB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AAiB;aAClC;SACJ;QACD,eAAe,EAAE,MAAM;KAC1B;IACD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE;YACJ;gBACI,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,oBAAoB;aACrC;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,YAAY,EAAE,QAAQ;aACzB;SACJ;QACD,eAAe,EAAE,MAAM;KAC1B;IACD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE;YACJ;gBACI,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,YAAY,EAAE,QAAQ;aACzB;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,oBAAoB;aACrC;SACJ;QACD,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;KAChC;CACK,CAAA"}
@@ -1,61 +0,0 @@
1
- export declare const IOpInflatorAbi: readonly [{
2
- readonly type: "function";
3
- readonly name: "inflate";
4
- readonly inputs: readonly [{
5
- readonly name: "compressed";
6
- readonly type: "bytes";
7
- readonly internalType: "bytes";
8
- }];
9
- readonly outputs: readonly [{
10
- readonly name: "op";
11
- readonly type: "tuple";
12
- readonly internalType: "struct UserOperation";
13
- readonly components: readonly [{
14
- readonly name: "sender";
15
- readonly type: "address";
16
- readonly internalType: "address";
17
- }, {
18
- readonly name: "nonce";
19
- readonly type: "uint256";
20
- readonly internalType: "uint256";
21
- }, {
22
- readonly name: "initCode";
23
- readonly type: "bytes";
24
- readonly internalType: "bytes";
25
- }, {
26
- readonly name: "callData";
27
- readonly type: "bytes";
28
- readonly internalType: "bytes";
29
- }, {
30
- readonly name: "callGasLimit";
31
- readonly type: "uint256";
32
- readonly internalType: "uint256";
33
- }, {
34
- readonly name: "verificationGasLimit";
35
- readonly type: "uint256";
36
- readonly internalType: "uint256";
37
- }, {
38
- readonly name: "preVerificationGas";
39
- readonly type: "uint256";
40
- readonly internalType: "uint256";
41
- }, {
42
- readonly name: "maxFeePerGas";
43
- readonly type: "uint256";
44
- readonly internalType: "uint256";
45
- }, {
46
- readonly name: "maxPriorityFeePerGas";
47
- readonly type: "uint256";
48
- readonly internalType: "uint256";
49
- }, {
50
- readonly name: "paymasterAndData";
51
- readonly type: "bytes";
52
- readonly internalType: "bytes";
53
- }, {
54
- readonly name: "signature";
55
- readonly type: "bytes";
56
- readonly internalType: "bytes";
57
- }];
58
- }];
59
- readonly stateMutability: "view";
60
- }];
61
- //# sourceMappingURL=IOpInflator.d.ts.map