@cleanmate/cip-sdk 1.1.0 → 1.1.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/dist/abis/GasMeter.d.ts +432 -0
- package/dist/abis/GasMeter.d.ts.map +1 -0
- package/dist/abis/GasMeter.js +569 -0
- package/dist/abis/GasMeter.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
export declare const GasMeterABI: readonly [{
|
|
2
|
+
readonly inputs: readonly [];
|
|
3
|
+
readonly stateMutability: "nonpayable";
|
|
4
|
+
readonly type: "constructor";
|
|
5
|
+
}, {
|
|
6
|
+
readonly inputs: readonly [];
|
|
7
|
+
readonly name: "InvalidInput";
|
|
8
|
+
readonly type: "error";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [{
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "owner";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}];
|
|
15
|
+
readonly name: "OwnableInvalidOwner";
|
|
16
|
+
readonly type: "error";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly name: "account";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "ZeroAddress";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly anonymous: false;
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly indexed: true;
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly name: "_address";
|
|
35
|
+
readonly type: "address";
|
|
36
|
+
}];
|
|
37
|
+
readonly name: "AddressBlacklisted";
|
|
38
|
+
readonly type: "event";
|
|
39
|
+
}, {
|
|
40
|
+
readonly anonymous: false;
|
|
41
|
+
readonly inputs: readonly [{
|
|
42
|
+
readonly indexed: true;
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
readonly name: "_address";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "AddressRemovedFromBlacklist";
|
|
48
|
+
readonly type: "event";
|
|
49
|
+
}, {
|
|
50
|
+
readonly anonymous: false;
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "_address";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "AddressRemovedFromWhitelist";
|
|
58
|
+
readonly type: "event";
|
|
59
|
+
}, {
|
|
60
|
+
readonly anonymous: false;
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly indexed: true;
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "_address";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "AddressWhitelisted";
|
|
68
|
+
readonly type: "event";
|
|
69
|
+
}, {
|
|
70
|
+
readonly anonymous: false;
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly indexed: true;
|
|
73
|
+
readonly internalType: "address";
|
|
74
|
+
readonly name: "_address";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
}];
|
|
77
|
+
readonly name: "DestinationAllowed";
|
|
78
|
+
readonly type: "event";
|
|
79
|
+
}, {
|
|
80
|
+
readonly anonymous: false;
|
|
81
|
+
readonly inputs: readonly [{
|
|
82
|
+
readonly indexed: true;
|
|
83
|
+
readonly internalType: "address";
|
|
84
|
+
readonly name: "_address";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}];
|
|
87
|
+
readonly name: "DestinationDisallowed";
|
|
88
|
+
readonly type: "event";
|
|
89
|
+
}, {
|
|
90
|
+
readonly anonymous: false;
|
|
91
|
+
readonly inputs: readonly [{
|
|
92
|
+
readonly indexed: true;
|
|
93
|
+
readonly internalType: "address";
|
|
94
|
+
readonly name: "previousOwner";
|
|
95
|
+
readonly type: "address";
|
|
96
|
+
}, {
|
|
97
|
+
readonly indexed: true;
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly name: "newOwner";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly name: "OwnershipTransferred";
|
|
103
|
+
readonly type: "event";
|
|
104
|
+
}, {
|
|
105
|
+
readonly anonymous: false;
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly indexed: false;
|
|
108
|
+
readonly internalType: "uint8";
|
|
109
|
+
readonly name: "oldMode";
|
|
110
|
+
readonly type: "uint8";
|
|
111
|
+
}, {
|
|
112
|
+
readonly indexed: false;
|
|
113
|
+
readonly internalType: "uint8";
|
|
114
|
+
readonly name: "newMode";
|
|
115
|
+
readonly type: "uint8";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "SponsorshipModeChanged";
|
|
118
|
+
readonly type: "event";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "MODE_BLACKLIST";
|
|
122
|
+
readonly outputs: readonly [{
|
|
123
|
+
readonly internalType: "uint8";
|
|
124
|
+
readonly name: "";
|
|
125
|
+
readonly type: "uint8";
|
|
126
|
+
}];
|
|
127
|
+
readonly stateMutability: "view";
|
|
128
|
+
readonly type: "function";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "MODE_DESTINATION_ONLY";
|
|
132
|
+
readonly outputs: readonly [{
|
|
133
|
+
readonly internalType: "uint8";
|
|
134
|
+
readonly name: "";
|
|
135
|
+
readonly type: "uint8";
|
|
136
|
+
}];
|
|
137
|
+
readonly stateMutability: "view";
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
}, {
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly name: "MODE_OPEN";
|
|
142
|
+
readonly outputs: readonly [{
|
|
143
|
+
readonly internalType: "uint8";
|
|
144
|
+
readonly name: "";
|
|
145
|
+
readonly type: "uint8";
|
|
146
|
+
}];
|
|
147
|
+
readonly stateMutability: "view";
|
|
148
|
+
readonly type: "function";
|
|
149
|
+
}, {
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly name: "MODE_WHITELIST";
|
|
152
|
+
readonly outputs: readonly [{
|
|
153
|
+
readonly internalType: "uint8";
|
|
154
|
+
readonly name: "";
|
|
155
|
+
readonly type: "uint8";
|
|
156
|
+
}];
|
|
157
|
+
readonly stateMutability: "view";
|
|
158
|
+
readonly type: "function";
|
|
159
|
+
}, {
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
readonly name: "_address";
|
|
163
|
+
readonly type: "address";
|
|
164
|
+
}];
|
|
165
|
+
readonly name: "addAllowedDestination";
|
|
166
|
+
readonly outputs: readonly [];
|
|
167
|
+
readonly stateMutability: "nonpayable";
|
|
168
|
+
readonly type: "function";
|
|
169
|
+
}, {
|
|
170
|
+
readonly inputs: readonly [{
|
|
171
|
+
readonly internalType: "address[]";
|
|
172
|
+
readonly name: "_addresses";
|
|
173
|
+
readonly type: "address[]";
|
|
174
|
+
}];
|
|
175
|
+
readonly name: "addMultipleAllowedDestinations";
|
|
176
|
+
readonly outputs: readonly [];
|
|
177
|
+
readonly stateMutability: "nonpayable";
|
|
178
|
+
readonly type: "function";
|
|
179
|
+
}, {
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly internalType: "address[]";
|
|
182
|
+
readonly name: "_addresses";
|
|
183
|
+
readonly type: "address[]";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "addMultipleToBlacklist";
|
|
186
|
+
readonly outputs: readonly [];
|
|
187
|
+
readonly stateMutability: "nonpayable";
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
}, {
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly internalType: "address[]";
|
|
192
|
+
readonly name: "_addresses";
|
|
193
|
+
readonly type: "address[]";
|
|
194
|
+
}];
|
|
195
|
+
readonly name: "addMultipleToWhitelist";
|
|
196
|
+
readonly outputs: readonly [];
|
|
197
|
+
readonly stateMutability: "nonpayable";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly internalType: "address";
|
|
202
|
+
readonly name: "_address";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "addToBlacklist";
|
|
206
|
+
readonly outputs: readonly [];
|
|
207
|
+
readonly stateMutability: "nonpayable";
|
|
208
|
+
readonly type: "function";
|
|
209
|
+
}, {
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly internalType: "address";
|
|
212
|
+
readonly name: "_address";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
}];
|
|
215
|
+
readonly name: "addToWhitelist";
|
|
216
|
+
readonly outputs: readonly [];
|
|
217
|
+
readonly stateMutability: "nonpayable";
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
}, {
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly internalType: "address";
|
|
222
|
+
readonly name: "";
|
|
223
|
+
readonly type: "address";
|
|
224
|
+
}];
|
|
225
|
+
readonly name: "allowedDestinations";
|
|
226
|
+
readonly outputs: readonly [{
|
|
227
|
+
readonly internalType: "bool";
|
|
228
|
+
readonly name: "";
|
|
229
|
+
readonly type: "bool";
|
|
230
|
+
}];
|
|
231
|
+
readonly stateMutability: "view";
|
|
232
|
+
readonly type: "function";
|
|
233
|
+
}, {
|
|
234
|
+
readonly inputs: readonly [{
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}];
|
|
239
|
+
readonly name: "blacklistedAddresses";
|
|
240
|
+
readonly outputs: readonly [{
|
|
241
|
+
readonly internalType: "bool";
|
|
242
|
+
readonly name: "";
|
|
243
|
+
readonly type: "bool";
|
|
244
|
+
}];
|
|
245
|
+
readonly stateMutability: "view";
|
|
246
|
+
readonly type: "function";
|
|
247
|
+
}, {
|
|
248
|
+
readonly inputs: readonly [{
|
|
249
|
+
readonly internalType: "address";
|
|
250
|
+
readonly name: "_origin";
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
}, {
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly name: "_to";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
}, {
|
|
257
|
+
readonly internalType: "bytes";
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "bytes";
|
|
260
|
+
}];
|
|
261
|
+
readonly name: "canSponsorTransactionFor";
|
|
262
|
+
readonly outputs: readonly [{
|
|
263
|
+
readonly internalType: "bool";
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "bool";
|
|
266
|
+
}];
|
|
267
|
+
readonly stateMutability: "view";
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly internalType: "address";
|
|
272
|
+
readonly name: "_address";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
}];
|
|
275
|
+
readonly name: "isAllowedDestination";
|
|
276
|
+
readonly outputs: readonly [{
|
|
277
|
+
readonly internalType: "bool";
|
|
278
|
+
readonly name: "";
|
|
279
|
+
readonly type: "bool";
|
|
280
|
+
}];
|
|
281
|
+
readonly stateMutability: "view";
|
|
282
|
+
readonly type: "function";
|
|
283
|
+
}, {
|
|
284
|
+
readonly inputs: readonly [{
|
|
285
|
+
readonly internalType: "address";
|
|
286
|
+
readonly name: "_address";
|
|
287
|
+
readonly type: "address";
|
|
288
|
+
}];
|
|
289
|
+
readonly name: "isBlacklisted";
|
|
290
|
+
readonly outputs: readonly [{
|
|
291
|
+
readonly internalType: "bool";
|
|
292
|
+
readonly name: "";
|
|
293
|
+
readonly type: "bool";
|
|
294
|
+
}];
|
|
295
|
+
readonly stateMutability: "view";
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
}, {
|
|
298
|
+
readonly inputs: readonly [{
|
|
299
|
+
readonly internalType: "address";
|
|
300
|
+
readonly name: "_address";
|
|
301
|
+
readonly type: "address";
|
|
302
|
+
}];
|
|
303
|
+
readonly name: "isWhitelisted";
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly internalType: "bool";
|
|
306
|
+
readonly name: "";
|
|
307
|
+
readonly type: "bool";
|
|
308
|
+
}];
|
|
309
|
+
readonly stateMutability: "view";
|
|
310
|
+
readonly type: "function";
|
|
311
|
+
}, {
|
|
312
|
+
readonly inputs: readonly [];
|
|
313
|
+
readonly name: "owner";
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
}, {
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly internalType: "address";
|
|
324
|
+
readonly name: "_address";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
}];
|
|
327
|
+
readonly name: "removeAllowedDestination";
|
|
328
|
+
readonly outputs: readonly [];
|
|
329
|
+
readonly stateMutability: "nonpayable";
|
|
330
|
+
readonly type: "function";
|
|
331
|
+
}, {
|
|
332
|
+
readonly inputs: readonly [{
|
|
333
|
+
readonly internalType: "address";
|
|
334
|
+
readonly name: "_address";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
}];
|
|
337
|
+
readonly name: "removeFromBlacklist";
|
|
338
|
+
readonly outputs: readonly [];
|
|
339
|
+
readonly stateMutability: "nonpayable";
|
|
340
|
+
readonly type: "function";
|
|
341
|
+
}, {
|
|
342
|
+
readonly inputs: readonly [{
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
readonly name: "_address";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
}];
|
|
347
|
+
readonly name: "removeFromWhitelist";
|
|
348
|
+
readonly outputs: readonly [];
|
|
349
|
+
readonly stateMutability: "nonpayable";
|
|
350
|
+
readonly type: "function";
|
|
351
|
+
}, {
|
|
352
|
+
readonly inputs: readonly [{
|
|
353
|
+
readonly internalType: "address[]";
|
|
354
|
+
readonly name: "_addresses";
|
|
355
|
+
readonly type: "address[]";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "removeMultipleAllowedDestinations";
|
|
358
|
+
readonly outputs: readonly [];
|
|
359
|
+
readonly stateMutability: "nonpayable";
|
|
360
|
+
readonly type: "function";
|
|
361
|
+
}, {
|
|
362
|
+
readonly inputs: readonly [{
|
|
363
|
+
readonly internalType: "address[]";
|
|
364
|
+
readonly name: "_addresses";
|
|
365
|
+
readonly type: "address[]";
|
|
366
|
+
}];
|
|
367
|
+
readonly name: "removeMultipleFromBlacklist";
|
|
368
|
+
readonly outputs: readonly [];
|
|
369
|
+
readonly stateMutability: "nonpayable";
|
|
370
|
+
readonly type: "function";
|
|
371
|
+
}, {
|
|
372
|
+
readonly inputs: readonly [{
|
|
373
|
+
readonly internalType: "address[]";
|
|
374
|
+
readonly name: "_addresses";
|
|
375
|
+
readonly type: "address[]";
|
|
376
|
+
}];
|
|
377
|
+
readonly name: "removeMultipleFromWhitelist";
|
|
378
|
+
readonly outputs: readonly [];
|
|
379
|
+
readonly stateMutability: "nonpayable";
|
|
380
|
+
readonly type: "function";
|
|
381
|
+
}, {
|
|
382
|
+
readonly inputs: readonly [];
|
|
383
|
+
readonly name: "renounceOwnership";
|
|
384
|
+
readonly outputs: readonly [];
|
|
385
|
+
readonly stateMutability: "nonpayable";
|
|
386
|
+
readonly type: "function";
|
|
387
|
+
}, {
|
|
388
|
+
readonly inputs: readonly [{
|
|
389
|
+
readonly internalType: "uint8";
|
|
390
|
+
readonly name: "_mode";
|
|
391
|
+
readonly type: "uint8";
|
|
392
|
+
}];
|
|
393
|
+
readonly name: "setSponsorshipMode";
|
|
394
|
+
readonly outputs: readonly [];
|
|
395
|
+
readonly stateMutability: "nonpayable";
|
|
396
|
+
readonly type: "function";
|
|
397
|
+
}, {
|
|
398
|
+
readonly inputs: readonly [];
|
|
399
|
+
readonly name: "sponsorshipMode";
|
|
400
|
+
readonly outputs: readonly [{
|
|
401
|
+
readonly internalType: "uint8";
|
|
402
|
+
readonly name: "";
|
|
403
|
+
readonly type: "uint8";
|
|
404
|
+
}];
|
|
405
|
+
readonly stateMutability: "view";
|
|
406
|
+
readonly type: "function";
|
|
407
|
+
}, {
|
|
408
|
+
readonly inputs: readonly [{
|
|
409
|
+
readonly internalType: "address";
|
|
410
|
+
readonly name: "newOwner";
|
|
411
|
+
readonly type: "address";
|
|
412
|
+
}];
|
|
413
|
+
readonly name: "transferOwnership";
|
|
414
|
+
readonly outputs: readonly [];
|
|
415
|
+
readonly stateMutability: "nonpayable";
|
|
416
|
+
readonly type: "function";
|
|
417
|
+
}, {
|
|
418
|
+
readonly inputs: readonly [{
|
|
419
|
+
readonly internalType: "address";
|
|
420
|
+
readonly name: "";
|
|
421
|
+
readonly type: "address";
|
|
422
|
+
}];
|
|
423
|
+
readonly name: "whitelistedAddresses";
|
|
424
|
+
readonly outputs: readonly [{
|
|
425
|
+
readonly internalType: "bool";
|
|
426
|
+
readonly name: "";
|
|
427
|
+
readonly type: "bool";
|
|
428
|
+
}];
|
|
429
|
+
readonly stateMutability: "view";
|
|
430
|
+
readonly type: "function";
|
|
431
|
+
}];
|
|
432
|
+
//# sourceMappingURL=GasMeter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GasMeter.d.ts","sourceRoot":"","sources":["../../src/abis/GasMeter.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAojBd,CAAC"}
|
|
@@ -0,0 +1,569 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GasMeterABI = void 0;
|
|
4
|
+
exports.GasMeterABI = [
|
|
5
|
+
{
|
|
6
|
+
inputs: [],
|
|
7
|
+
stateMutability: "nonpayable",
|
|
8
|
+
type: "constructor",
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "InvalidInput",
|
|
13
|
+
type: "error",
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
inputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "owner",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
name: "OwnableInvalidOwner",
|
|
24
|
+
type: "error",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [
|
|
28
|
+
{
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "account",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
name: "OwnableUnauthorizedAccount",
|
|
35
|
+
type: "error",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [],
|
|
39
|
+
name: "ZeroAddress",
|
|
40
|
+
type: "error",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
anonymous: false,
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
indexed: true,
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "_address",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
name: "AddressBlacklisted",
|
|
53
|
+
type: "event",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
anonymous: false,
|
|
57
|
+
inputs: [
|
|
58
|
+
{
|
|
59
|
+
indexed: true,
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "_address",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
name: "AddressRemovedFromBlacklist",
|
|
66
|
+
type: "event",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
anonymous: false,
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
indexed: true,
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "_address",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "AddressRemovedFromWhitelist",
|
|
79
|
+
type: "event",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
anonymous: false,
|
|
83
|
+
inputs: [
|
|
84
|
+
{
|
|
85
|
+
indexed: true,
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "_address",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "AddressWhitelisted",
|
|
92
|
+
type: "event",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
anonymous: false,
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
indexed: true,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "_address",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "DestinationAllowed",
|
|
105
|
+
type: "event",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
anonymous: false,
|
|
109
|
+
inputs: [
|
|
110
|
+
{
|
|
111
|
+
indexed: true,
|
|
112
|
+
internalType: "address",
|
|
113
|
+
name: "_address",
|
|
114
|
+
type: "address",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "DestinationDisallowed",
|
|
118
|
+
type: "event",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
anonymous: false,
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
indexed: true,
|
|
125
|
+
internalType: "address",
|
|
126
|
+
name: "previousOwner",
|
|
127
|
+
type: "address",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: true,
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "newOwner",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
name: "OwnershipTransferred",
|
|
137
|
+
type: "event",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
anonymous: false,
|
|
141
|
+
inputs: [
|
|
142
|
+
{
|
|
143
|
+
indexed: false,
|
|
144
|
+
internalType: "uint8",
|
|
145
|
+
name: "oldMode",
|
|
146
|
+
type: "uint8",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
indexed: false,
|
|
150
|
+
internalType: "uint8",
|
|
151
|
+
name: "newMode",
|
|
152
|
+
type: "uint8",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
name: "SponsorshipModeChanged",
|
|
156
|
+
type: "event",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
inputs: [],
|
|
160
|
+
name: "MODE_BLACKLIST",
|
|
161
|
+
outputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "uint8",
|
|
164
|
+
name: "",
|
|
165
|
+
type: "uint8",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
stateMutability: "view",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: "MODE_DESTINATION_ONLY",
|
|
174
|
+
outputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: "uint8",
|
|
177
|
+
name: "",
|
|
178
|
+
type: "uint8",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
stateMutability: "view",
|
|
182
|
+
type: "function",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
inputs: [],
|
|
186
|
+
name: "MODE_OPEN",
|
|
187
|
+
outputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "uint8",
|
|
190
|
+
name: "",
|
|
191
|
+
type: "uint8",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [],
|
|
199
|
+
name: "MODE_WHITELIST",
|
|
200
|
+
outputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "uint8",
|
|
203
|
+
name: "",
|
|
204
|
+
type: "uint8",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
stateMutability: "view",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
internalType: "address",
|
|
214
|
+
name: "_address",
|
|
215
|
+
type: "address",
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
name: "addAllowedDestination",
|
|
219
|
+
outputs: [],
|
|
220
|
+
stateMutability: "nonpayable",
|
|
221
|
+
type: "function",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
inputs: [
|
|
225
|
+
{
|
|
226
|
+
internalType: "address[]",
|
|
227
|
+
name: "_addresses",
|
|
228
|
+
type: "address[]",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
name: "addMultipleAllowedDestinations",
|
|
232
|
+
outputs: [],
|
|
233
|
+
stateMutability: "nonpayable",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
inputs: [
|
|
238
|
+
{
|
|
239
|
+
internalType: "address[]",
|
|
240
|
+
name: "_addresses",
|
|
241
|
+
type: "address[]",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
name: "addMultipleToBlacklist",
|
|
245
|
+
outputs: [],
|
|
246
|
+
stateMutability: "nonpayable",
|
|
247
|
+
type: "function",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
inputs: [
|
|
251
|
+
{
|
|
252
|
+
internalType: "address[]",
|
|
253
|
+
name: "_addresses",
|
|
254
|
+
type: "address[]",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
name: "addMultipleToWhitelist",
|
|
258
|
+
outputs: [],
|
|
259
|
+
stateMutability: "nonpayable",
|
|
260
|
+
type: "function",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
inputs: [
|
|
264
|
+
{
|
|
265
|
+
internalType: "address",
|
|
266
|
+
name: "_address",
|
|
267
|
+
type: "address",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
name: "addToBlacklist",
|
|
271
|
+
outputs: [],
|
|
272
|
+
stateMutability: "nonpayable",
|
|
273
|
+
type: "function",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [
|
|
277
|
+
{
|
|
278
|
+
internalType: "address",
|
|
279
|
+
name: "_address",
|
|
280
|
+
type: "address",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
name: "addToWhitelist",
|
|
284
|
+
outputs: [],
|
|
285
|
+
stateMutability: "nonpayable",
|
|
286
|
+
type: "function",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [
|
|
290
|
+
{
|
|
291
|
+
internalType: "address",
|
|
292
|
+
name: "",
|
|
293
|
+
type: "address",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
name: "allowedDestinations",
|
|
297
|
+
outputs: [
|
|
298
|
+
{
|
|
299
|
+
internalType: "bool",
|
|
300
|
+
name: "",
|
|
301
|
+
type: "bool",
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
stateMutability: "view",
|
|
305
|
+
type: "function",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
inputs: [
|
|
309
|
+
{
|
|
310
|
+
internalType: "address",
|
|
311
|
+
name: "",
|
|
312
|
+
type: "address",
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
name: "blacklistedAddresses",
|
|
316
|
+
outputs: [
|
|
317
|
+
{
|
|
318
|
+
internalType: "bool",
|
|
319
|
+
name: "",
|
|
320
|
+
type: "bool",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
stateMutability: "view",
|
|
324
|
+
type: "function",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [
|
|
328
|
+
{
|
|
329
|
+
internalType: "address",
|
|
330
|
+
name: "_origin",
|
|
331
|
+
type: "address",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "_to",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
internalType: "bytes",
|
|
340
|
+
name: "",
|
|
341
|
+
type: "bytes",
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
name: "canSponsorTransactionFor",
|
|
345
|
+
outputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "bool",
|
|
348
|
+
name: "",
|
|
349
|
+
type: "bool",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
stateMutability: "view",
|
|
353
|
+
type: "function",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
inputs: [
|
|
357
|
+
{
|
|
358
|
+
internalType: "address",
|
|
359
|
+
name: "_address",
|
|
360
|
+
type: "address",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
name: "isAllowedDestination",
|
|
364
|
+
outputs: [
|
|
365
|
+
{
|
|
366
|
+
internalType: "bool",
|
|
367
|
+
name: "",
|
|
368
|
+
type: "bool",
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
stateMutability: "view",
|
|
372
|
+
type: "function",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
inputs: [
|
|
376
|
+
{
|
|
377
|
+
internalType: "address",
|
|
378
|
+
name: "_address",
|
|
379
|
+
type: "address",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
name: "isBlacklisted",
|
|
383
|
+
outputs: [
|
|
384
|
+
{
|
|
385
|
+
internalType: "bool",
|
|
386
|
+
name: "",
|
|
387
|
+
type: "bool",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
stateMutability: "view",
|
|
391
|
+
type: "function",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
inputs: [
|
|
395
|
+
{
|
|
396
|
+
internalType: "address",
|
|
397
|
+
name: "_address",
|
|
398
|
+
type: "address",
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
name: "isWhitelisted",
|
|
402
|
+
outputs: [
|
|
403
|
+
{
|
|
404
|
+
internalType: "bool",
|
|
405
|
+
name: "",
|
|
406
|
+
type: "bool",
|
|
407
|
+
},
|
|
408
|
+
],
|
|
409
|
+
stateMutability: "view",
|
|
410
|
+
type: "function",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
inputs: [],
|
|
414
|
+
name: "owner",
|
|
415
|
+
outputs: [
|
|
416
|
+
{
|
|
417
|
+
internalType: "address",
|
|
418
|
+
name: "",
|
|
419
|
+
type: "address",
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
stateMutability: "view",
|
|
423
|
+
type: "function",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
inputs: [
|
|
427
|
+
{
|
|
428
|
+
internalType: "address",
|
|
429
|
+
name: "_address",
|
|
430
|
+
type: "address",
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
name: "removeAllowedDestination",
|
|
434
|
+
outputs: [],
|
|
435
|
+
stateMutability: "nonpayable",
|
|
436
|
+
type: "function",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
inputs: [
|
|
440
|
+
{
|
|
441
|
+
internalType: "address",
|
|
442
|
+
name: "_address",
|
|
443
|
+
type: "address",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
name: "removeFromBlacklist",
|
|
447
|
+
outputs: [],
|
|
448
|
+
stateMutability: "nonpayable",
|
|
449
|
+
type: "function",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
inputs: [
|
|
453
|
+
{
|
|
454
|
+
internalType: "address",
|
|
455
|
+
name: "_address",
|
|
456
|
+
type: "address",
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
name: "removeFromWhitelist",
|
|
460
|
+
outputs: [],
|
|
461
|
+
stateMutability: "nonpayable",
|
|
462
|
+
type: "function",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
inputs: [
|
|
466
|
+
{
|
|
467
|
+
internalType: "address[]",
|
|
468
|
+
name: "_addresses",
|
|
469
|
+
type: "address[]",
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
name: "removeMultipleAllowedDestinations",
|
|
473
|
+
outputs: [],
|
|
474
|
+
stateMutability: "nonpayable",
|
|
475
|
+
type: "function",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
inputs: [
|
|
479
|
+
{
|
|
480
|
+
internalType: "address[]",
|
|
481
|
+
name: "_addresses",
|
|
482
|
+
type: "address[]",
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
name: "removeMultipleFromBlacklist",
|
|
486
|
+
outputs: [],
|
|
487
|
+
stateMutability: "nonpayable",
|
|
488
|
+
type: "function",
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
inputs: [
|
|
492
|
+
{
|
|
493
|
+
internalType: "address[]",
|
|
494
|
+
name: "_addresses",
|
|
495
|
+
type: "address[]",
|
|
496
|
+
},
|
|
497
|
+
],
|
|
498
|
+
name: "removeMultipleFromWhitelist",
|
|
499
|
+
outputs: [],
|
|
500
|
+
stateMutability: "nonpayable",
|
|
501
|
+
type: "function",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
inputs: [],
|
|
505
|
+
name: "renounceOwnership",
|
|
506
|
+
outputs: [],
|
|
507
|
+
stateMutability: "nonpayable",
|
|
508
|
+
type: "function",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
inputs: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "uint8",
|
|
514
|
+
name: "_mode",
|
|
515
|
+
type: "uint8",
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
name: "setSponsorshipMode",
|
|
519
|
+
outputs: [],
|
|
520
|
+
stateMutability: "nonpayable",
|
|
521
|
+
type: "function",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
inputs: [],
|
|
525
|
+
name: "sponsorshipMode",
|
|
526
|
+
outputs: [
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint8",
|
|
529
|
+
name: "",
|
|
530
|
+
type: "uint8",
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
stateMutability: "view",
|
|
534
|
+
type: "function",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
inputs: [
|
|
538
|
+
{
|
|
539
|
+
internalType: "address",
|
|
540
|
+
name: "newOwner",
|
|
541
|
+
type: "address",
|
|
542
|
+
},
|
|
543
|
+
],
|
|
544
|
+
name: "transferOwnership",
|
|
545
|
+
outputs: [],
|
|
546
|
+
stateMutability: "nonpayable",
|
|
547
|
+
type: "function",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
inputs: [
|
|
551
|
+
{
|
|
552
|
+
internalType: "address",
|
|
553
|
+
name: "",
|
|
554
|
+
type: "address",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
name: "whitelistedAddresses",
|
|
558
|
+
outputs: [
|
|
559
|
+
{
|
|
560
|
+
internalType: "bool",
|
|
561
|
+
name: "",
|
|
562
|
+
type: "bool",
|
|
563
|
+
},
|
|
564
|
+
],
|
|
565
|
+
stateMutability: "view",
|
|
566
|
+
type: "function",
|
|
567
|
+
},
|
|
568
|
+
];
|
|
569
|
+
//# sourceMappingURL=GasMeter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GasMeter.js","sourceRoot":"","sources":["../../src/abis/GasMeter.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB;QACE,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,4BAA4B;QAClC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,OAAO;KACd;IACD;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YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,sBAAsB;QAC5B,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -19,4 +19,5 @@ export { UserRegistryABI } from "./abis/UserRegistry";
|
|
|
19
19
|
export { RewardsManagerABI } from "./abis/RewardsManager";
|
|
20
20
|
export { StreakABI } from "./abis/Streak";
|
|
21
21
|
export { NativePassportABI } from "./abis/NativePassport";
|
|
22
|
+
export { GasMeterABI } from "./abis/GasMeter";
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AAGzB,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAGhB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AAGzB,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAGhB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AAGjC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
23
23
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.NativePassportABI = exports.StreakABI = exports.RewardsManagerABI = exports.UserRegistryABI = exports.CleanupABI = exports.isMetadataObject = exports.hasRequiredFields = exports.stringifyMetadata = exports.parseMetadata = void 0;
|
|
26
|
+
exports.GasMeterABI = exports.NativePassportABI = exports.StreakABI = exports.RewardsManagerABI = exports.UserRegistryABI = exports.CleanupABI = exports.isMetadataObject = exports.hasRequiredFields = exports.stringifyMetadata = exports.parseMetadata = void 0;
|
|
27
27
|
// Export metadata modules
|
|
28
28
|
__exportStar(require("./cleanup"), exports);
|
|
29
29
|
__exportStar(require("./user"), exports);
|
|
@@ -47,4 +47,6 @@ var Streak_1 = require("./abis/Streak");
|
|
|
47
47
|
Object.defineProperty(exports, "StreakABI", { enumerable: true, get: function () { return Streak_1.StreakABI; } });
|
|
48
48
|
var NativePassport_1 = require("./abis/NativePassport");
|
|
49
49
|
Object.defineProperty(exports, "NativePassportABI", { enumerable: true, get: function () { return NativePassport_1.NativePassportABI; } });
|
|
50
|
+
var GasMeter_1 = require("./abis/GasMeter");
|
|
51
|
+
Object.defineProperty(exports, "GasMeterABI", { enumerable: true, get: function () { return GasMeter_1.GasMeterABI; } });
|
|
50
52
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;;;;;;;;;;;;;;;AAEH,0BAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AAIzB,+BAKgB;AAJd,qGAAA,aAAa,OAAA;AACb,yGAAA,iBAAiB,OAAA;AACjB,yGAAA,iBAAiB,OAAA;AACjB,wGAAA,gBAAgB,OAAA;AAGlB,0BAA0B;AAC1B,qDAAmC;AACnC,mDAAiC;AAEjC,cAAc;AACd,0CAA4C;AAAnC,qGAAA,UAAU,OAAA;AACnB,oDAAsD;AAA7C,+GAAA,eAAe,OAAA;AACxB,wDAA0D;AAAjD,mHAAA,iBAAiB,OAAA;AAC1B,wCAA0C;AAAjC,mGAAA,SAAS,OAAA;AAClB,wDAA0D;AAAjD,mHAAA,iBAAiB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;;;;;;;;;;;;;;;AAEH,0BAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AAIzB,+BAKgB;AAJd,qGAAA,aAAa,OAAA;AACb,yGAAA,iBAAiB,OAAA;AACjB,yGAAA,iBAAiB,OAAA;AACjB,wGAAA,gBAAgB,OAAA;AAGlB,0BAA0B;AAC1B,qDAAmC;AACnC,mDAAiC;AAEjC,cAAc;AACd,0CAA4C;AAAnC,qGAAA,UAAU,OAAA;AACnB,oDAAsD;AAA7C,+GAAA,eAAe,OAAA;AACxB,wDAA0D;AAAjD,mHAAA,iBAAiB,OAAA;AAC1B,wCAA0C;AAAjC,mGAAA,SAAS,OAAA;AAClB,wDAA0D;AAAjD,mHAAA,iBAAiB,OAAA;AAC1B,4CAA8C;AAArC,uGAAA,WAAW,OAAA"}
|
package/package.json
CHANGED