@towns-protocol/generated 0.0.383 → 0.0.385

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 (45) hide show
  1. package/dev/.contracts-hash +1 -1
  2. package/dev/abis/Channels.abi.json +10 -10
  3. package/dev/abis/Channels.abi.ts +10 -10
  4. package/dev/abis/EntitlementsManager.abi.json +10 -10
  5. package/dev/abis/EntitlementsManager.abi.ts +10 -10
  6. package/dev/abis/IAppFactory.abi.json +224 -0
  7. package/dev/abis/IAppFactory.abi.ts +224 -0
  8. package/dev/abis/IAppFactoryBase.abi.json +72 -0
  9. package/dev/abis/IAppFactoryBase.abi.ts +72 -0
  10. package/dev/abis/IAppRegistry.abi.json +10 -10
  11. package/dev/abis/IAppRegistry.abi.ts +10 -10
  12. package/dev/abis/IAppRegistryBase.abi.json +10 -10
  13. package/dev/abis/IAppRegistryBase.abi.ts +10 -10
  14. package/dev/abis/ISimpleApp.abi.json +203 -0
  15. package/dev/abis/ISimpleApp.abi.ts +203 -0
  16. package/dev/abis/ISimpleAppBase.abi.json +146 -0
  17. package/dev/abis/ISimpleAppBase.abi.ts +146 -0
  18. package/dev/abis/ITownsApp.abi.json +194 -0
  19. package/dev/abis/ITownsApp.abi.ts +194 -0
  20. package/dev/abis/MembershipFacet.abi.json +10 -10
  21. package/dev/abis/MembershipFacet.abi.ts +10 -10
  22. package/dev/abis/PrepayFacet.abi.json +10 -10
  23. package/dev/abis/PrepayFacet.abi.ts +10 -10
  24. package/dev/abis/Roles.abi.json +10 -10
  25. package/dev/abis/Roles.abi.ts +10 -10
  26. package/dev/typings/IAppFactory.ts +284 -1
  27. package/dev/typings/ISimpleApp.ts +344 -0
  28. package/dev/typings/ITownsApp.ts +371 -0
  29. package/dev/typings/factories/Channels__factory.ts +10 -10
  30. package/dev/typings/factories/EntitlementsManager__factory.ts +10 -10
  31. package/dev/typings/factories/IAppFactory__factory.ts +224 -0
  32. package/dev/typings/factories/IAppRegistry__factory.ts +10 -10
  33. package/dev/typings/factories/ISimpleApp__factory.ts +224 -0
  34. package/dev/typings/factories/ITownsApp__factory.ts +215 -0
  35. package/dev/typings/factories/MembershipFacet__factory.ts +10 -10
  36. package/dev/typings/factories/PrepayFacet__factory.ts +10 -10
  37. package/dev/typings/factories/Roles__factory.ts +10 -10
  38. package/dev/typings/factories/index.ts +2 -1
  39. package/dev/typings/index.ts +4 -2
  40. package/package.json +3 -3
  41. package/scripts/prepare.js +10 -2
  42. package/dev/abis/SimpleApp.abi.json +0 -563
  43. package/dev/abis/SimpleApp.abi.ts +0 -563
  44. package/dev/typings/SimpleApp.ts +0 -923
  45. package/dev/typings/factories/SimpleApp__factory.ts +0 -620
@@ -1,620 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import type { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type { SimpleApp, SimpleAppInterface } from "../SimpleApp";
7
-
8
- const _abi = [
9
- {
10
- type: "receive",
11
- stateMutability: "payable",
12
- },
13
- {
14
- type: "function",
15
- name: "accessDuration",
16
- inputs: [],
17
- outputs: [
18
- {
19
- name: "",
20
- type: "uint48",
21
- internalType: "uint48",
22
- },
23
- ],
24
- stateMutability: "view",
25
- },
26
- {
27
- type: "function",
28
- name: "cancelOwnershipHandover",
29
- inputs: [],
30
- outputs: [],
31
- stateMutability: "payable",
32
- },
33
- {
34
- type: "function",
35
- name: "completeOwnershipHandover",
36
- inputs: [
37
- {
38
- name: "pendingOwner",
39
- type: "address",
40
- internalType: "address",
41
- },
42
- ],
43
- outputs: [],
44
- stateMutability: "payable",
45
- },
46
- {
47
- type: "function",
48
- name: "executionManifest",
49
- inputs: [],
50
- outputs: [
51
- {
52
- name: "",
53
- type: "tuple",
54
- internalType: "struct ExecutionManifest",
55
- components: [
56
- {
57
- name: "executionFunctions",
58
- type: "tuple[]",
59
- internalType: "struct ManifestExecutionFunction[]",
60
- components: [
61
- {
62
- name: "executionSelector",
63
- type: "bytes4",
64
- internalType: "bytes4",
65
- },
66
- {
67
- name: "skipRuntimeValidation",
68
- type: "bool",
69
- internalType: "bool",
70
- },
71
- {
72
- name: "allowGlobalValidation",
73
- type: "bool",
74
- internalType: "bool",
75
- },
76
- ],
77
- },
78
- {
79
- name: "executionHooks",
80
- type: "tuple[]",
81
- internalType: "struct ManifestExecutionHook[]",
82
- components: [
83
- {
84
- name: "executionSelector",
85
- type: "bytes4",
86
- internalType: "bytes4",
87
- },
88
- {
89
- name: "entityId",
90
- type: "uint32",
91
- internalType: "uint32",
92
- },
93
- {
94
- name: "isPreHook",
95
- type: "bool",
96
- internalType: "bool",
97
- },
98
- {
99
- name: "isPostHook",
100
- type: "bool",
101
- internalType: "bool",
102
- },
103
- ],
104
- },
105
- {
106
- name: "interfaceIds",
107
- type: "bytes4[]",
108
- internalType: "bytes4[]",
109
- },
110
- ],
111
- },
112
- ],
113
- stateMutability: "pure",
114
- },
115
- {
116
- type: "function",
117
- name: "initialize",
118
- inputs: [
119
- {
120
- name: "owner",
121
- type: "address",
122
- internalType: "address",
123
- },
124
- {
125
- name: "appId",
126
- type: "string",
127
- internalType: "string",
128
- },
129
- {
130
- name: "permissions",
131
- type: "bytes32[]",
132
- internalType: "bytes32[]",
133
- },
134
- {
135
- name: "installPrice",
136
- type: "uint256",
137
- internalType: "uint256",
138
- },
139
- {
140
- name: "accessDuration",
141
- type: "uint48",
142
- internalType: "uint48",
143
- },
144
- {
145
- name: "client",
146
- type: "address",
147
- internalType: "address",
148
- },
149
- ],
150
- outputs: [],
151
- stateMutability: "nonpayable",
152
- },
153
- {
154
- type: "function",
155
- name: "installPrice",
156
- inputs: [],
157
- outputs: [
158
- {
159
- name: "",
160
- type: "uint256",
161
- internalType: "uint256",
162
- },
163
- ],
164
- stateMutability: "view",
165
- },
166
- {
167
- type: "function",
168
- name: "moduleId",
169
- inputs: [],
170
- outputs: [
171
- {
172
- name: "",
173
- type: "string",
174
- internalType: "string",
175
- },
176
- ],
177
- stateMutability: "view",
178
- },
179
- {
180
- type: "function",
181
- name: "moduleOwner",
182
- inputs: [],
183
- outputs: [
184
- {
185
- name: "",
186
- type: "address",
187
- internalType: "address",
188
- },
189
- ],
190
- stateMutability: "view",
191
- },
192
- {
193
- type: "function",
194
- name: "onInstall",
195
- inputs: [
196
- {
197
- name: "postInstallData",
198
- type: "bytes",
199
- internalType: "bytes",
200
- },
201
- ],
202
- outputs: [],
203
- stateMutability: "nonpayable",
204
- },
205
- {
206
- type: "function",
207
- name: "onUninstall",
208
- inputs: [
209
- {
210
- name: "postUninstallData",
211
- type: "bytes",
212
- internalType: "bytes",
213
- },
214
- ],
215
- outputs: [],
216
- stateMutability: "nonpayable",
217
- },
218
- {
219
- type: "function",
220
- name: "owner",
221
- inputs: [],
222
- outputs: [
223
- {
224
- name: "result",
225
- type: "address",
226
- internalType: "address",
227
- },
228
- ],
229
- stateMutability: "view",
230
- },
231
- {
232
- type: "function",
233
- name: "ownershipHandoverExpiresAt",
234
- inputs: [
235
- {
236
- name: "pendingOwner",
237
- type: "address",
238
- internalType: "address",
239
- },
240
- ],
241
- outputs: [
242
- {
243
- name: "result",
244
- type: "uint256",
245
- internalType: "uint256",
246
- },
247
- ],
248
- stateMutability: "view",
249
- },
250
- {
251
- type: "function",
252
- name: "renounceOwnership",
253
- inputs: [],
254
- outputs: [],
255
- stateMutability: "payable",
256
- },
257
- {
258
- type: "function",
259
- name: "requestOwnershipHandover",
260
- inputs: [],
261
- outputs: [],
262
- stateMutability: "payable",
263
- },
264
- {
265
- type: "function",
266
- name: "requiredPermissions",
267
- inputs: [],
268
- outputs: [
269
- {
270
- name: "",
271
- type: "bytes32[]",
272
- internalType: "bytes32[]",
273
- },
274
- ],
275
- stateMutability: "view",
276
- },
277
- {
278
- type: "function",
279
- name: "sendCurrency",
280
- inputs: [
281
- {
282
- name: "recipient",
283
- type: "address",
284
- internalType: "address",
285
- },
286
- {
287
- name: "currency",
288
- type: "address",
289
- internalType: "address",
290
- },
291
- {
292
- name: "amount",
293
- type: "uint256",
294
- internalType: "uint256",
295
- },
296
- ],
297
- outputs: [],
298
- stateMutability: "nonpayable",
299
- },
300
- {
301
- type: "function",
302
- name: "supportsInterface",
303
- inputs: [
304
- {
305
- name: "interfaceId",
306
- type: "bytes4",
307
- internalType: "bytes4",
308
- },
309
- ],
310
- outputs: [
311
- {
312
- name: "",
313
- type: "bool",
314
- internalType: "bool",
315
- },
316
- ],
317
- stateMutability: "pure",
318
- },
319
- {
320
- type: "function",
321
- name: "transferOwnership",
322
- inputs: [
323
- {
324
- name: "newOwner",
325
- type: "address",
326
- internalType: "address",
327
- },
328
- ],
329
- outputs: [],
330
- stateMutability: "payable",
331
- },
332
- {
333
- type: "function",
334
- name: "updatePermissions",
335
- inputs: [
336
- {
337
- name: "permissions",
338
- type: "bytes32[]",
339
- internalType: "bytes32[]",
340
- },
341
- ],
342
- outputs: [],
343
- stateMutability: "nonpayable",
344
- },
345
- {
346
- type: "function",
347
- name: "updatePricing",
348
- inputs: [
349
- {
350
- name: "installPrice",
351
- type: "uint256",
352
- internalType: "uint256",
353
- },
354
- {
355
- name: "accessDuration",
356
- type: "uint48",
357
- internalType: "uint48",
358
- },
359
- ],
360
- outputs: [],
361
- stateMutability: "nonpayable",
362
- },
363
- {
364
- type: "function",
365
- name: "withdrawETH",
366
- inputs: [
367
- {
368
- name: "recipient",
369
- type: "address",
370
- internalType: "address",
371
- },
372
- ],
373
- outputs: [],
374
- stateMutability: "nonpayable",
375
- },
376
- {
377
- type: "event",
378
- name: "Initialized",
379
- inputs: [
380
- {
381
- name: "version",
382
- type: "uint64",
383
- indexed: false,
384
- internalType: "uint64",
385
- },
386
- ],
387
- anonymous: false,
388
- },
389
- {
390
- type: "event",
391
- name: "OwnershipHandoverCanceled",
392
- inputs: [
393
- {
394
- name: "pendingOwner",
395
- type: "address",
396
- indexed: true,
397
- internalType: "address",
398
- },
399
- ],
400
- anonymous: false,
401
- },
402
- {
403
- type: "event",
404
- name: "OwnershipHandoverRequested",
405
- inputs: [
406
- {
407
- name: "pendingOwner",
408
- type: "address",
409
- indexed: true,
410
- internalType: "address",
411
- },
412
- ],
413
- anonymous: false,
414
- },
415
- {
416
- type: "event",
417
- name: "OwnershipTransferred",
418
- inputs: [
419
- {
420
- name: "oldOwner",
421
- type: "address",
422
- indexed: true,
423
- internalType: "address",
424
- },
425
- {
426
- name: "newOwner",
427
- type: "address",
428
- indexed: true,
429
- internalType: "address",
430
- },
431
- ],
432
- anonymous: false,
433
- },
434
- {
435
- type: "event",
436
- name: "PermissionsUpdated",
437
- inputs: [
438
- {
439
- name: "permissions",
440
- type: "bytes32[]",
441
- indexed: false,
442
- internalType: "bytes32[]",
443
- },
444
- ],
445
- anonymous: false,
446
- },
447
- {
448
- type: "event",
449
- name: "PricingUpdated",
450
- inputs: [
451
- {
452
- name: "installPrice",
453
- type: "uint256",
454
- indexed: false,
455
- internalType: "uint256",
456
- },
457
- {
458
- name: "accessDuration",
459
- type: "uint48",
460
- indexed: false,
461
- internalType: "uint48",
462
- },
463
- ],
464
- anonymous: false,
465
- },
466
- {
467
- type: "event",
468
- name: "SendCurrency",
469
- inputs: [
470
- {
471
- name: "recipient",
472
- type: "address",
473
- indexed: true,
474
- internalType: "address",
475
- },
476
- {
477
- name: "currency",
478
- type: "address",
479
- indexed: true,
480
- internalType: "address",
481
- },
482
- {
483
- name: "amount",
484
- type: "uint256",
485
- indexed: false,
486
- internalType: "uint256",
487
- },
488
- ],
489
- anonymous: false,
490
- },
491
- {
492
- type: "event",
493
- name: "Withdrawal",
494
- inputs: [
495
- {
496
- name: "recipient",
497
- type: "address",
498
- indexed: true,
499
- internalType: "address",
500
- },
501
- {
502
- name: "amount",
503
- type: "uint256",
504
- indexed: false,
505
- internalType: "uint256",
506
- },
507
- ],
508
- anonymous: false,
509
- },
510
- {
511
- type: "error",
512
- name: "AlreadyInitialized",
513
- inputs: [],
514
- },
515
- {
516
- type: "error",
517
- name: "InvalidAddressInput",
518
- inputs: [],
519
- },
520
- {
521
- type: "error",
522
- name: "InvalidAmount",
523
- inputs: [],
524
- },
525
- {
526
- type: "error",
527
- name: "InvalidCaller",
528
- inputs: [],
529
- },
530
- {
531
- type: "error",
532
- name: "InvalidCurrency",
533
- inputs: [],
534
- },
535
- {
536
- type: "error",
537
- name: "InvalidInitialization",
538
- inputs: [],
539
- },
540
- {
541
- type: "error",
542
- name: "NewOwnerIsZeroAddress",
543
- inputs: [],
544
- },
545
- {
546
- type: "error",
547
- name: "NoBalanceToWithdraw",
548
- inputs: [],
549
- },
550
- {
551
- type: "error",
552
- name: "NoHandoverRequest",
553
- inputs: [],
554
- },
555
- {
556
- type: "error",
557
- name: "NotInitializing",
558
- inputs: [],
559
- },
560
- {
561
- type: "error",
562
- name: "Unauthorized",
563
- inputs: [],
564
- },
565
- {
566
- type: "error",
567
- name: "ZeroAddress",
568
- inputs: [],
569
- },
570
- ] as const;
571
-
572
- const _bytecode =
573
- "0x6080604052348015600e575f5ffd5b506117658061001c5f395ff3fe608060405260043610610165575f3560e01c80638a91b0e3116100c6578063a41c85be1161007c578063f04e283e11610057578063f04e283e14610392578063f2fde38b146103a5578063fee81cf4146103b8575f5ffd5b8063a41c85be14610330578063ae5628c614610352578063e6a3a3e014610373575f5ffd5b80639cb99c8b116100ac5780639cb99c8b146102d1578063a1308f27146102f0578063a3274edd14610311575f5ffd5b80638a91b0e3146102785780638da5cb5b1461029e575f5ffd5b8063452c04b11161011b578063690d832011610101578063690d8320146102595780636d61fe7014610278578063715018a614610296575f5ffd5b8063452c04b11461021857806354d1f13d14610251575f5ffd5b80632382f0461161014b5780632382f046146101d057806325692962146101ef5780632e7ad41f146101f7575f5ffd5b806301ffc9a7146101715780630a88fcad146101a5575f5ffd5b3661016d575b005b5f5ffd5b34801561017c575f5ffd5b5061019061018b36600461101b565b6103e9565b60405190151581526020015b60405180910390f35b3480156101b0575f5ffd5b506101b96104cd565b60405165ffffffffffff909116815260200161019c565b3480156101db575f5ffd5b5061016b6101ea36600461107b565b610503565b61016b6105e5565b348015610202575f5ffd5b5061020b610632565b60405161019c91906110a5565b348015610223575f5ffd5b5061022c6106aa565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161019c565b61016b6106b3565b348015610264575f5ffd5b5061016b61027336600461110a565b6106ec565b348015610283575f5ffd5b5061016b610292366004611168565b5050565b61016b6107c8565b3480156102a9575f5ffd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275461022c565b3480156102dc575f5ffd5b5061016b6102eb3660046111a7565b6107db565b3480156102fb575f5ffd5b5061030461094d565b60405161019c91906111e1565b34801561031c575f5ffd5b5061016b61032b366004611275565b6109f8565b34801561033b575f5ffd5b50610344610b2d565b60405190815260200161019c565b34801561035d575f5ffd5b50610366610b56565b60405161019c91906113fb565b34801561037e575f5ffd5b5061016b61038d366004611502565b610b7d565b61016b6103a036600461110a565b610c03565b61016b6103b336600461110a565b610c40565b3480156103c3575f5ffd5b506103446103d236600461110a565b63389a75e1600c9081525f91909152602090205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fae5628c600000000000000000000000000000000000000000000000000000000148061047b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f46c0c1b400000000000000000000000000000000000000000000000000000000145b806104c757507fffffffff0000000000000000000000000000000000000000000000000000000082167fc5c2a9bd00000000000000000000000000000000000000000000000000000000145b92915050565b5f6104fe7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be035465ffffffffffff1690565b905090565b61050b610c66565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be028290557f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be0380547fffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000001665ffffffffffff83169081179091556040805184815260208101929092527f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be00917f98dae91994793f47b29bee1a4ebfd76c60d7b1c071e23c6926cff278ebac379891015b60405180910390a1505050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f5fa250565b60605f7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be006001810180546040805160208084028201810190925282815293945083018282801561069f57602002820191905f5260205f20905b81548152602001906001019080831161068b575b505050505091505090565b5f6104fe610c9b565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f5fa2565b6106f4610c66565b73ffffffffffffffffffffffffffffffffffffffff8116610738576107387fd92e233d00000000000000000000000000000000000000000000000000000000610cc4565b475f81900361076a5761076a7fbbd8170800000000000000000000000000000000000000000000000000000000610cc4565b6107748282610ccc565b8173ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65826040516107bc91815260200190565b60405180910390a25050565b6107d0610c66565b6107d95f610cec565b565b6107e3610d51565b73ffffffffffffffffffffffffffffffffffffffff8316610827576108277fd92e233d00000000000000000000000000000000000000000000000000000000610cc4565b73ffffffffffffffffffffffffffffffffffffffff821661085e5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee91506108a5565b8173ffffffffffffffffffffffffffffffffffffffff163b5f036108a5576108a57ff599342800000000000000000000000000000000000000000000000000000000610cc4565b805f036108d5576108d57f2c5211c600000000000000000000000000000000000000000000000000000000610cc4565b6108e182308584610e04565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f5124f757d1fab3d73629fc081e448028338686bf63d522d1298bf155630d9b718360405161094091815260200190565b60405180910390a3505050565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be00805460609190819061097f90611535565b80601f01602080910402602001604051908101604052809291908181526020018280546109ab90611535565b801561069f5780601f106109cd5761010080835404028352916020019161069f565b820191905f5260205f20905b8154815290600101906020018083116109d95750939695505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf6011328054600382558015610a495760018160011c14303b10610a405763f92ee8a95f526004601cfd5b818160ff1b1b91505b50610a5389610cec565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be0080610a80898b836115ff565b50610a8f600182018888610fbe565b5060028101859055600301805473ffffffffffffffffffffffffffffffffffffffff84166601000000000000027fffffffffffff000000000000000000000000000000000000000000000000000090911665ffffffffffff8616171790558015610b22576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050505050505050565b5f6104fe7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be025490565b610b7a60405180606001604052806060815260200160608152602001606081525090565b90565b610b85610c66565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be00610bd17f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be018484610fbe565b507f3afc3680664ba97756a728984fde0b6031be4a50f7b8b71587ba6533e853efe983836040516105d8929190611715565b610c0b610c66565b63389a75e1600c52805f526020600c208054421115610c3157636f5e88185f526004601cfd5b5f9055610c3d81610cec565b50565b610c48610c66565b8060601b610c5d57637448fbae5f526004601cfd5b610c3d81610cec565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275433146107d9576382b429005f526004601cfd5b5f6104fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275490565b805f5260045ffd5b61029273ffffffffffffffffffffffffffffffffffffffff831682610e5c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff163303610d9157565b7f83d7ef17df984d8e84ee79017942cb0329f48e2d537ef8c418bc299c6878be03546601000000000000900473ffffffffffffffffffffffffffffffffffffffff163303610ddb57565b6107d97f48f5c3ed00000000000000000000000000000000000000000000000000000000610cc4565b8015610e565773ffffffffffffffffffffffffffffffffffffffff841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610e4c57610e4784848484610e75565b610e56565b610e568282610ccc565b50505050565b5f385f3884865af16102925763b12d13eb5f526004601cfd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160315610e565773ffffffffffffffffffffffffffffffffffffffff83163014610ee857610e4773ffffffffffffffffffffffffffffffffffffffff8516848484610f09565b610e5673ffffffffffffffffffffffffffffffffffffffff85168383610f6b565b60405181606052826040528360601b602c526f23b872dd000000000000000000000000600c5260205f6064601c5f895af18060015f511416610f5d57803d873b151710610f5d57637939f4245f526004601cfd5b505f60605260405250505050565b81601452806034526fa9059cbb0000000000000000000000005f5260205f604460105f875af18060015f511416610fb457803d853b151710610fb4576390b8ec185f526004601cfd5b505f603452505050565b828054828255905f5260205f20908101928215610ff7579160200282015b82811115610ff7578235825591602001919060010190610fdc565b50611003929150611007565b5090565b5b80821115611003575f8155600101611008565b5f6020828403121561102b575f5ffd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461105a575f5ffd5b9392505050565b803565ffffffffffff81168114611076575f5ffd5b919050565b5f5f6040838503121561108c575f5ffd5b8235915061109c60208401611061565b90509250929050565b602080825282518282018190525f918401906040840190835b818110156110dc5783518352602093840193909201916001016110be565b509095945050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611076575f5ffd5b5f6020828403121561111a575f5ffd5b61105a826110e7565b5f5f83601f840112611133575f5ffd5b50813567ffffffffffffffff81111561114a575f5ffd5b602083019150836020828501011115611161575f5ffd5b9250929050565b5f5f60208385031215611179575f5ffd5b823567ffffffffffffffff81111561118f575f5ffd5b61119b85828601611123565b90969095509350505050565b5f5f5f606084860312156111b9575f5ffd5b6111c2846110e7565b92506111d0602085016110e7565b929592945050506040919091013590565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b5f5f83601f840112611244575f5ffd5b50813567ffffffffffffffff81111561125b575f5ffd5b6020830191508360208260051b8501011115611161575f5ffd5b5f5f5f5f5f5f5f5f60c0898b03121561128c575f5ffd5b611295896110e7565b9750602089013567ffffffffffffffff8111156112b0575f5ffd5b6112bc8b828c01611123565b909850965050604089013567ffffffffffffffff8111156112db575f5ffd5b6112e78b828c01611234565b9096509450506060890135925061130060808a01611061565b915061130e60a08a016110e7565b90509295985092959890939650565b5f8151808452602084019350602083015f5b8281101561139f5781517fffffffff00000000000000000000000000000000000000000000000000000000815116875263ffffffff60208201511660208801526040810151151560408801526060810151151560608801525060808601955060208201915060018101905061132f565b5093949350505050565b5f8151808452602084019350602083015f5b8281101561139f5781517fffffffff00000000000000000000000000000000000000000000000000000000168652602095860195909101906001016113bb565b602080825282516060838301528051608084018190525f929190910190829060a08501905b808310156114805783517fffffffff00000000000000000000000000000000000000000000000000000000815116835260208101511515602084015260408101511515604084015250606082019150602084019350600183019250611420565b50602086015192507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08582030160408601526114bc818461131d565b9250505060408401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08483030160608501526114f982826113a9565b95945050505050565b5f5f60208385031215611513575f5ffd5b823567ffffffffffffffff811115611529575f5ffd5b61119b85828601611234565b600181811c9082168061154957607f821691505b602082108103611580577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b601f8211156115fa57805f5260205f20601f840160051c810160208510156115d85750805b601f840160051c820191505b818110156115f7575f81556001016115e4565b50505b505050565b67ffffffffffffffff83111561161757611617611586565b61162b836116258354611535565b836115b3565b5f601f84116001811461167b575f85156116455750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b1783556115f7565b5f838152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08716915b828110156116c857868501358255602094850194600190920191016116a8565b5086821015611703577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b602081528160208201525f7f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561174c575f5ffd5b8260051b8085604085013791909101604001939250505056";
574
-
575
- type SimpleAppConstructorParams =
576
- | [signer?: Signer]
577
- | ConstructorParameters<typeof ContractFactory>;
578
-
579
- const isSuperArgs = (
580
- xs: SimpleAppConstructorParams
581
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
582
-
583
- export class SimpleApp__factory extends ContractFactory {
584
- constructor(...args: SimpleAppConstructorParams) {
585
- if (isSuperArgs(args)) {
586
- super(...args);
587
- } else {
588
- super(_abi, _bytecode, args[0]);
589
- }
590
- }
591
-
592
- override deploy(
593
- overrides?: Overrides & { from?: string }
594
- ): Promise<SimpleApp> {
595
- return super.deploy(overrides || {}) as Promise<SimpleApp>;
596
- }
597
- override getDeployTransaction(
598
- overrides?: Overrides & { from?: string }
599
- ): TransactionRequest {
600
- return super.getDeployTransaction(overrides || {});
601
- }
602
- override attach(address: string): SimpleApp {
603
- return super.attach(address) as SimpleApp;
604
- }
605
- override connect(signer: Signer): SimpleApp__factory {
606
- return super.connect(signer) as SimpleApp__factory;
607
- }
608
-
609
- static readonly bytecode = _bytecode;
610
- static readonly abi = _abi;
611
- static createInterface(): SimpleAppInterface {
612
- return new utils.Interface(_abi) as SimpleAppInterface;
613
- }
614
- static connect(
615
- address: string,
616
- signerOrProvider: Signer | Provider
617
- ): SimpleApp {
618
- return new Contract(address, _abi, signerOrProvider) as SimpleApp;
619
- }
620
- }