@towns-protocol/generated 0.0.211 → 0.0.213

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 (37) hide show
  1. package/dev/abis/Channels.abi.json +30 -0
  2. package/dev/abis/Channels.abi.ts +30 -0
  3. package/dev/abis/DropFacet.abi.json +36 -0
  4. package/dev/abis/DropFacet.abi.ts +36 -0
  5. package/dev/abis/MembershipFacet.abi.json +5 -0
  6. package/dev/abis/MembershipFacet.abi.ts +5 -0
  7. package/dev/abis/Roles.abi.json +5 -0
  8. package/dev/abis/Roles.abi.ts +5 -0
  9. package/dev/typings/Architect.ts +513 -0
  10. package/dev/typings/Channels.ts +1003 -0
  11. package/dev/typings/DropFacet.ts +687 -0
  12. package/dev/typings/EntitlementsManager.ts +612 -0
  13. package/dev/typings/IDropFacet.ts +11 -3
  14. package/dev/typings/MockLegacyArchitect.ts +402 -0
  15. package/dev/typings/NodeRegistry.ts +470 -0
  16. package/dev/typings/OperatorRegistry.ts +345 -0
  17. package/dev/typings/Roles.ts +984 -0
  18. package/dev/typings/StreamRegistry.ts +737 -0
  19. package/dev/typings/WalletLink.ts +975 -0
  20. package/dev/typings/factories/Architect__factory.ts +406 -0
  21. package/dev/typings/factories/Channels__factory.ts +1037 -0
  22. package/dev/typings/factories/DropFacet__factory.ts +816 -0
  23. package/dev/typings/factories/EntitlementsManager__factory.ts +688 -0
  24. package/dev/typings/factories/IChannel__factory.ts +25 -0
  25. package/dev/typings/factories/IDropFacet__factory.ts +15 -0
  26. package/dev/typings/factories/IRoles__factory.ts +5 -0
  27. package/dev/typings/factories/MembershipFacet__factory.ts +6 -1
  28. package/dev/typings/factories/MockLegacyArchitect__factory.ts +433 -0
  29. package/dev/typings/factories/NodeRegistry__factory.ts +335 -0
  30. package/dev/typings/factories/OperatorRegistry__factory.ts +254 -0
  31. package/dev/typings/factories/Roles__factory.ts +998 -0
  32. package/dev/typings/factories/SpaceOwner__factory.ts +1 -11
  33. package/dev/typings/factories/StreamRegistry__factory.ts +604 -0
  34. package/dev/typings/factories/WalletLink__factory.ts +899 -0
  35. package/dev/typings/factories/index.ts +10 -0
  36. package/dev/typings/index.ts +20 -0
  37. package/package.json +2 -2
@@ -0,0 +1,433 @@
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 { PromiseOrValue } from "../common";
7
+ import type {
8
+ MockLegacyArchitect,
9
+ MockLegacyArchitectInterface,
10
+ } from "../MockLegacyArchitect";
11
+
12
+ const _abi = [
13
+ {
14
+ type: "function",
15
+ name: "__Architect_init",
16
+ inputs: [],
17
+ outputs: [],
18
+ stateMutability: "nonpayable",
19
+ },
20
+ {
21
+ type: "function",
22
+ name: "createSpace",
23
+ inputs: [
24
+ {
25
+ name: "spaceInfo",
26
+ type: "tuple",
27
+ internalType: "struct ILegacyArchitectBase.SpaceInfo",
28
+ components: [
29
+ {
30
+ name: "name",
31
+ type: "string",
32
+ internalType: "string",
33
+ },
34
+ {
35
+ name: "uri",
36
+ type: "string",
37
+ internalType: "string",
38
+ },
39
+ {
40
+ name: "shortDescription",
41
+ type: "string",
42
+ internalType: "string",
43
+ },
44
+ {
45
+ name: "longDescription",
46
+ type: "string",
47
+ internalType: "string",
48
+ },
49
+ {
50
+ name: "membership",
51
+ type: "tuple",
52
+ internalType: "struct ILegacyArchitectBase.Membership",
53
+ components: [
54
+ {
55
+ name: "settings",
56
+ type: "tuple",
57
+ internalType: "struct IMembershipBase.Membership",
58
+ components: [
59
+ {
60
+ name: "name",
61
+ type: "string",
62
+ internalType: "string",
63
+ },
64
+ {
65
+ name: "symbol",
66
+ type: "string",
67
+ internalType: "string",
68
+ },
69
+ {
70
+ name: "price",
71
+ type: "uint256",
72
+ internalType: "uint256",
73
+ },
74
+ {
75
+ name: "maxSupply",
76
+ type: "uint256",
77
+ internalType: "uint256",
78
+ },
79
+ {
80
+ name: "duration",
81
+ type: "uint64",
82
+ internalType: "uint64",
83
+ },
84
+ {
85
+ name: "currency",
86
+ type: "address",
87
+ internalType: "address",
88
+ },
89
+ {
90
+ name: "feeRecipient",
91
+ type: "address",
92
+ internalType: "address",
93
+ },
94
+ {
95
+ name: "freeAllocation",
96
+ type: "uint256",
97
+ internalType: "uint256",
98
+ },
99
+ {
100
+ name: "pricingModule",
101
+ type: "address",
102
+ internalType: "address",
103
+ },
104
+ ],
105
+ },
106
+ {
107
+ name: "requirements",
108
+ type: "tuple",
109
+ internalType:
110
+ "struct ILegacyArchitectBase.MembershipRequirements",
111
+ components: [
112
+ {
113
+ name: "everyone",
114
+ type: "bool",
115
+ internalType: "bool",
116
+ },
117
+ {
118
+ name: "users",
119
+ type: "address[]",
120
+ internalType: "address[]",
121
+ },
122
+ {
123
+ name: "ruleData",
124
+ type: "tuple",
125
+ internalType: "struct IRuleEntitlementBase.RuleData",
126
+ components: [
127
+ {
128
+ name: "operations",
129
+ type: "tuple[]",
130
+ internalType: "struct IRuleEntitlementBase.Operation[]",
131
+ components: [
132
+ {
133
+ name: "opType",
134
+ type: "uint8",
135
+ internalType:
136
+ "enum IRuleEntitlementBase.CombinedOperationType",
137
+ },
138
+ {
139
+ name: "index",
140
+ type: "uint8",
141
+ internalType: "uint8",
142
+ },
143
+ ],
144
+ },
145
+ {
146
+ name: "checkOperations",
147
+ type: "tuple[]",
148
+ internalType:
149
+ "struct IRuleEntitlementBase.CheckOperation[]",
150
+ components: [
151
+ {
152
+ name: "opType",
153
+ type: "uint8",
154
+ internalType:
155
+ "enum IRuleEntitlementBase.CheckOperationType",
156
+ },
157
+ {
158
+ name: "chainId",
159
+ type: "uint256",
160
+ internalType: "uint256",
161
+ },
162
+ {
163
+ name: "contractAddress",
164
+ type: "address",
165
+ internalType: "address",
166
+ },
167
+ {
168
+ name: "threshold",
169
+ type: "uint256",
170
+ internalType: "uint256",
171
+ },
172
+ ],
173
+ },
174
+ {
175
+ name: "logicalOperations",
176
+ type: "tuple[]",
177
+ internalType:
178
+ "struct IRuleEntitlementBase.LogicalOperation[]",
179
+ components: [
180
+ {
181
+ name: "logOpType",
182
+ type: "uint8",
183
+ internalType:
184
+ "enum IRuleEntitlementBase.LogicalOperationType",
185
+ },
186
+ {
187
+ name: "leftOperationIndex",
188
+ type: "uint8",
189
+ internalType: "uint8",
190
+ },
191
+ {
192
+ name: "rightOperationIndex",
193
+ type: "uint8",
194
+ internalType: "uint8",
195
+ },
196
+ ],
197
+ },
198
+ ],
199
+ },
200
+ {
201
+ name: "syncEntitlements",
202
+ type: "bool",
203
+ internalType: "bool",
204
+ },
205
+ ],
206
+ },
207
+ {
208
+ name: "permissions",
209
+ type: "string[]",
210
+ internalType: "string[]",
211
+ },
212
+ ],
213
+ },
214
+ {
215
+ name: "channel",
216
+ type: "tuple",
217
+ internalType: "struct ILegacyArchitectBase.ChannelInfo",
218
+ components: [
219
+ {
220
+ name: "metadata",
221
+ type: "string",
222
+ internalType: "string",
223
+ },
224
+ ],
225
+ },
226
+ ],
227
+ },
228
+ ],
229
+ outputs: [
230
+ {
231
+ name: "",
232
+ type: "address",
233
+ internalType: "address",
234
+ },
235
+ ],
236
+ stateMutability: "nonpayable",
237
+ },
238
+ {
239
+ type: "event",
240
+ name: "Initialized",
241
+ inputs: [
242
+ {
243
+ name: "version",
244
+ type: "uint32",
245
+ indexed: false,
246
+ internalType: "uint32",
247
+ },
248
+ ],
249
+ anonymous: false,
250
+ },
251
+ {
252
+ type: "event",
253
+ name: "InterfaceAdded",
254
+ inputs: [
255
+ {
256
+ name: "interfaceId",
257
+ type: "bytes4",
258
+ indexed: true,
259
+ internalType: "bytes4",
260
+ },
261
+ ],
262
+ anonymous: false,
263
+ },
264
+ {
265
+ type: "event",
266
+ name: "InterfaceRemoved",
267
+ inputs: [
268
+ {
269
+ name: "interfaceId",
270
+ type: "bytes4",
271
+ indexed: true,
272
+ internalType: "bytes4",
273
+ },
274
+ ],
275
+ anonymous: false,
276
+ },
277
+ {
278
+ type: "event",
279
+ name: "Paused",
280
+ inputs: [
281
+ {
282
+ name: "account",
283
+ type: "address",
284
+ indexed: false,
285
+ internalType: "address",
286
+ },
287
+ ],
288
+ anonymous: false,
289
+ },
290
+ {
291
+ type: "event",
292
+ name: "SpaceCreated",
293
+ inputs: [
294
+ {
295
+ name: "owner",
296
+ type: "address",
297
+ indexed: true,
298
+ internalType: "address",
299
+ },
300
+ {
301
+ name: "tokenId",
302
+ type: "uint256",
303
+ indexed: true,
304
+ internalType: "uint256",
305
+ },
306
+ {
307
+ name: "space",
308
+ type: "address",
309
+ indexed: true,
310
+ internalType: "address",
311
+ },
312
+ ],
313
+ anonymous: false,
314
+ },
315
+ {
316
+ type: "event",
317
+ name: "Unpaused",
318
+ inputs: [
319
+ {
320
+ name: "account",
321
+ type: "address",
322
+ indexed: false,
323
+ internalType: "address",
324
+ },
325
+ ],
326
+ anonymous: false,
327
+ },
328
+ {
329
+ type: "error",
330
+ name: "Architect__InvalidAddress",
331
+ inputs: [],
332
+ },
333
+ {
334
+ type: "error",
335
+ name: "Architect__InvalidNetworkId",
336
+ inputs: [],
337
+ },
338
+ {
339
+ type: "error",
340
+ name: "Architect__InvalidStringLength",
341
+ inputs: [],
342
+ },
343
+ {
344
+ type: "error",
345
+ name: "Architect__NotContract",
346
+ inputs: [],
347
+ },
348
+ {
349
+ type: "error",
350
+ name: "Initializable_InInitializingState",
351
+ inputs: [],
352
+ },
353
+ {
354
+ type: "error",
355
+ name: "Initializable_NotInInitializingState",
356
+ inputs: [],
357
+ },
358
+ {
359
+ type: "error",
360
+ name: "Introspection_AlreadySupported",
361
+ inputs: [],
362
+ },
363
+ {
364
+ type: "error",
365
+ name: "Introspection_NotSupported",
366
+ inputs: [],
367
+ },
368
+ {
369
+ type: "error",
370
+ name: "Pausable__NotPaused",
371
+ inputs: [],
372
+ },
373
+ {
374
+ type: "error",
375
+ name: "Pausable__Paused",
376
+ inputs: [],
377
+ },
378
+ {
379
+ type: "error",
380
+ name: "Reentrancy",
381
+ inputs: [],
382
+ },
383
+ ] as const;
384
+
385
+ const _bytecode =
386
+ "0x6080604052348015600e575f5ffd5b5060156019565b60bd565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef520008054640100000000900460ff16156064576040516366008a2d60e01b815260040160405180910390fd5b805463ffffffff908116101560ba57805463ffffffff191663ffffffff90811782556040519081527fe9c9b456cb2994b80aeef036cf59d26e9617df80f816a6ee5a5b4166e07e2f5c9060200160405180910390a15b50565b6130af806100ca5f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063ade4c8fa14610038578063e8546e0714610074575b5f5ffd5b61004b610046366004611b97565b61007e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007c610120565b005b5f3068929eee149b4bd21268540361009d5763ab143c065f526004601cfd5b3068929eee149b4bd21268557fe17a067c7963a59b6dfd65d33b053fdbea1c56500e2aae4f976d9eda4da9eb005460ff1615610105576040517f059519da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61010e826101ae565b3868929eee149b4bd212685592915050565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef5200054640100000000900460ff16610183576040517f77a399b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101ac7fade4c8fa00000000000000000000000000000000000000000000000000000000610626565b565b7f9e34afa7b4d27d347d25d9d9dab4f1a106fa081382e6c4243e834d093e787d008054604080517f75794a3c00000000000000000000000000000000000000000000000000000000815290515f937f06bd04a817647c31ee485c8a0baab96facd62dbfd4b475796bb17ca2c12f0000939092859273ffffffffffffffffffffffffffffffffffffffff909216916375794a3c916004808201926020929091908290030181865afa158015610264573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102889190611cda565b905061029881866080015161077b565b8354909450835f6102a883611cf1565b90915550505f818152600284016020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff89811691821790925584526001870183529281902084905584548851928901518983015160608b015193517f3bf5b8f40000000000000000000000000000000000000000000000000000000081529290951694633bf5b8f4946103639490938b929190600401611d99565b6020604051808303815f875af115801561037f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a39190611cda565b5060018201545f906103cb9073ffffffffffffffffffffffffffffffffffffffff16866107a1565b60058401549091505f906103f59073ffffffffffffffffffffffffffffffffffffffff16876107a1565b6040805160028082526060820183529293505f92909160208301908036833701905050905082815f8151811061042d5761042d611e0d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050818160018151811061047b5761047b611e0d565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526040517f8bfc820f00000000000000000000000000000000000000000000000000000000815290881690638bfc820f906104dc908490600401611e3a565b5f604051808303815f87803b1580156104f3575f5ffd5b505af1158015610505573d5f5f3e3d5ffd5b5050505061051d8784848b60800151602001516108ea565b5060808801518051516040909101515f9161053b918a919087610d77565b905061054c88828b60a00151610f2d565b85546040517f42842e0e0000000000000000000000000000000000000000000000000000000081523060048201523360248201526044810187905273ffffffffffffffffffffffffffffffffffffffff909116906342842e0e906064015f604051808303815f87803b1580156105c0575f5ffd5b505af11580156105d2573d5f5f3e3d5ffd5b505060405173ffffffffffffffffffffffffffffffffffffffff8b16925087915033907fe50fc3942f8a2d7e5a7c8fb9488499eba5255b41e18bc3f1b4791402976d1d0b905f90a450505050505050919050565b7fffffffff0000000000000000000000000000000000000000000000000000000081165f9081527f81088bbc801e045ea3e7620779ab349988f58afbdfba10dff983df3f33522b00602052604090205460ff166106fa577fffffffff0000000000000000000000000000000000000000000000000000000081165f9081527f81088bbc801e045ea3e7620779ab349988f58afbdfba10dff983df3f33522b006020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905561072c565b6040517ff2cfeefa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffff000000000000000000000000000000000000000000000000000000008216907f78f84e5b1c5c05be2b5ad3800781dd404d6d6c6302bc755c0fe20f58a33a7f22905f90a250565b5f5f5f6107888585611072565b91509150610796828261129b565b925050505b92915050565b5f5f604051806020016107b390611394565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f90910116604081905273ffffffffffffffffffffffffffffffffffffffff851660248201528590604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc4d66de800000000000000000000000000000000000000000000000000000000179052905161088c93929101611e92565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526108c89291602001611ed7565b60405160208183030381529060405290506108e2816112ee565b949350505050565b6040805160018082528183019092525f91829190816020015b60608152602001906001900390816109035790505090506040518060400160405280600981526020017f4a6f696e53706163650000000000000000000000000000000000000000000000815250815f8151811061096257610962611e0d565b60200260200101819052508573ffffffffffffffffffffffffffffffffffffffff16638fcd793d6040518060400160405280600681526020017f4d696e7465720000000000000000000000000000000000000000000000000000815250835f67ffffffffffffffff8111156109d9576109d96113ae565b604051908082528060200260200182016040528015610a1e57816020015b604080518082019091525f8152606060208201528152602001906001900390816109f75790505b506040518463ffffffff1660e01b8152600401610a3d93929190611f1f565b6020604051808303815f875af1158015610a59573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7d9190611cda565b835190925015610bad576040805160018082528183019092525f91602080830190803683370190505090506001815f81518110610abc57610abc611e0d565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508673ffffffffffffffffffffffffffffffffffffffff1663ba201ba88460405180604001604052808a73ffffffffffffffffffffffffffffffffffffffff16815260200185604051602001610b4b9190611e3a565b6040516020818303038152906040528152506040518363ffffffff1660e01b8152600401610b7a92919061202b565b5f604051808303815f87803b158015610b91575f5ffd5b505af1158015610ba3573d5f5f3e3d5ffd5b5050505050610d6e565b60208301515115610cac575f5b836020015151811015610bf557610bed84602001518281518110610be057610be0611e0d565b6020026020010151611345565b600101610bba565b508573ffffffffffffffffffffffffffffffffffffffff1663ba201ba88360405180604001604052808973ffffffffffffffffffffffffffffffffffffffff1681526020018760200151604051602001610c4f9190611e3a565b6040516020818303038152906040528152506040518363ffffffff1660e01b8152600401610c7e92919061202b565b5f604051808303815f87803b158015610c95575f5ffd5b505af1158015610ca7573d5f5f3e3d5ffd5b505050505b6040830151515115610d6e578573ffffffffffffffffffffffffffffffffffffffff1663ba201ba88360405180604001604052808873ffffffffffffffffffffffffffffffffffffffff1681526020018760400151604051602001610d119190612165565b6040516020818303038152906040528152506040518363ffffffff1660e01b8152600401610d4092919061202b565b5f604051808303815f87803b158015610d57575f5ffd5b505af1158015610d69573d5f5f3e3d5ffd5b505050505b50949350505050565b6040805160018082528183019092525f91829190602080830190803683370190505090506001815f81518110610daf57610daf611e0d565b73ffffffffffffffffffffffffffffffffffffffff92909216602092830291909101909101526040805160018082528183019092525f91816020015b604080518082019091525f815260606020820152815260200190600190039081610deb57905050905083815f81518110610e2757610e27611e0d565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff909216909152604051610e5d91849101611e3a565b604051602081830303815290604052815f81518110610e7e57610e7e611e0d565b60209081029190910181015101526040517f8fcd793d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff881690638fcd793d90610ee290899089908690600401611f1f565b6020604051808303815f875af1158015610efe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f229190611cda565b979650505050505050565b6040805160018082528183019092525f916020808301908036833701905050905082815f81518110610f6157610f61611e0d565b6020908102919091018101919091526040517f2000000000000000000000000000000000000000000000000000000000000000918101919091527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086901b1660218201525f90603501604051602081830303815290604052610fe49061223e565b83516040517f921f717500000000000000000000000000000000000000000000000000000000815291925073ffffffffffffffffffffffffffffffffffffffff87169163921f71759161103e918591908790600401612283565b5f604051808303815f87803b158015611055575f5ffd5b505af1158015611067573d5f5f3e3d5ffd5b505050505050505050565b60408051336020808301919091528183018590524260608381019190915283518084038201815260809093019093528151910120825160c08101517f9e34afa7b4d27d347d25d9d9dab4f1a106fa081382e6c4243e834d093e787d00919073ffffffffffffffffffffffffffffffffffffffff166110f1573360c08201525b600682015460405173ffffffffffffffffffffffffffffffffffffffff9091169061111e602082016113a1565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0828203810183526040601f9092011681810182527fdc9cc64500000000000000000000000000000000000000000000000000000000815230602082810182905283518085018552885473ffffffffffffffffffffffffffffffffffffffff1681529081018c90529251919285926111be923392909189906024016122dd565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f40e47dfe0000000000000000000000000000000000000000000000000000000017905290516112449493929101612448565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526112809291602001611ed7565b60405160208183030381529060405294505050509250929050565b5f818351602085015ff590508061079b57632b1c22465f52602080523d6040523d5f60603e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f3d011660448101601cfd5b5f8151602083015ff090508061134057632b1c22465f52602080523d6040523d5f60603e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f3d011660448101601cfd5b919050565b73ffffffffffffffffffffffffffffffffffffffff8116611389576113897fe6c4247b0000000000000000000000000000000000000000000000000000000061138c565b50565b805f5260045ffd5b6103a7806124c983390190565b61083f8061287083390190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6040516080810167ffffffffffffffff811182821017156113fe576113fe6113ae565b60405290565b6040516060810167ffffffffffffffff811182821017156113fe576113fe6113ae565b6040805190810167ffffffffffffffff811182821017156113fe576113fe6113ae565b604051610120810167ffffffffffffffff811182821017156113fe576113fe6113ae565b60405160c0810167ffffffffffffffff811182821017156113fe576113fe6113ae565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156114d8576114d86113ae565b604052919050565b5f82601f8301126114ef575f5ffd5b813567ffffffffffffffff811115611509576115096113ae565b61153a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611491565b81815284602083860101111561154e575f5ffd5b816020850160208301375f918101602001919091529392505050565b803567ffffffffffffffff81168114611340575f5ffd5b803573ffffffffffffffffffffffffffffffffffffffff81168114611340575f5ffd5b80358015158114611340575f5ffd5b5f67ffffffffffffffff8211156115cc576115cc6113ae565b5060051b60200190565b60038110611389575f5ffd5b803560ff81168114611340575f5ffd5b5f82601f830112611601575f5ffd5b813561161461160f826115b3565b611491565b8082825260208201915060208360071b860101925085831115611635575f5ffd5b602085015b8381101561169e5760808188031215611651575f5ffd5b6116596113db565b813560078110611667575f5ffd5b81526020828101359082015261167f60408301611581565b604082015260608281013590820152835260209092019160800161163a565b5095945050505050565b5f82601f8301126116b7575f5ffd5b81356116c561160f826115b3565b808282526020820191506020606084028601019250858311156116e6575f5ffd5b602085015b8381101561169e5760608188031215611702575f5ffd5b61170a611404565b8135611715816115d6565b8152611723602083016115e2565b6020820152611734604083016115e2565b604082015283526020909201916060016116eb565b5f60608284031215611759575f5ffd5b611761611404565b9050813567ffffffffffffffff811115611779575f5ffd5b8201601f81018413611789575f5ffd5b803561179761160f826115b3565b8082825260208201915060208360061b8501019250868311156117b8575f5ffd5b6020840193505b8284101561181157604084880312156117d6575f5ffd5b6117de611427565b84356117e9816115d6565b81526117f7602086016115e2565b6020820152808352506020820191506040840193506117bf565b8452505050602082013567ffffffffffffffff81111561182f575f5ffd5b61183b848285016115f2565b602083015250604082013567ffffffffffffffff81111561185a575f5ffd5b611866848285016116a8565b60408301525092915050565b5f60808284031215611882575f5ffd5b61188a6113db565b9050611895826115a4565b8152602082013567ffffffffffffffff8111156118b0575f5ffd5b8201601f810184136118c0575f5ffd5b80356118ce61160f826115b3565b8082825260208201915060208360051b8501019250868311156118ef575f5ffd5b6020840193505b828410156119185761190784611581565b8252602093840193909101906118f6565b6020850152505050604082013567ffffffffffffffff811115611939575f5ffd5b61194584828501611749565b604083015250611957606083016115a4565b606082015292915050565b5f82601f830112611971575f5ffd5b813561197f61160f826115b3565b8082825260208201915060208360051b8601019250858311156119a0575f5ffd5b602085015b8381101561169e57803567ffffffffffffffff8111156119c3575f5ffd5b6119d2886020838a01016114e0565b845250602092830192016119a5565b5f606082840312156119f1575f5ffd5b6119f9611404565b9050813567ffffffffffffffff811115611a11575f5ffd5b82016101208185031215611a23575f5ffd5b611a2b61144a565b813567ffffffffffffffff811115611a41575f5ffd5b611a4d868285016114e0565b825250602082013567ffffffffffffffff811115611a69575f5ffd5b611a75868285016114e0565b6020830152506040828101359082015260608083013590820152611a9b6080830161156a565b6080820152611aac60a08301611581565b60a0820152611abd60c08301611581565b60c082015260e08281013590820152611ad96101008301611581565b610100820152825250602082013567ffffffffffffffff811115611afb575f5ffd5b611b0784828501611872565b602083015250604082013567ffffffffffffffff811115611b26575f5ffd5b61186684828501611962565b5f60208284031215611b42575f5ffd5b6040516020810167ffffffffffffffff81118282101715611b6557611b656113ae565b604052905080823567ffffffffffffffff811115611b81575f5ffd5b611b8d858286016114e0565b8252505092915050565b5f60208284031215611ba7575f5ffd5b813567ffffffffffffffff811115611bbd575f5ffd5b820160c08185031215611bce575f5ffd5b611bd661146e565b813567ffffffffffffffff811115611bec575f5ffd5b611bf8868285016114e0565b825250602082013567ffffffffffffffff811115611c14575f5ffd5b611c20868285016114e0565b602083015250604082013567ffffffffffffffff811115611c3f575f5ffd5b611c4b868285016114e0565b604083015250606082013567ffffffffffffffff811115611c6a575f5ffd5b611c76868285016114e0565b606083015250608082013567ffffffffffffffff811115611c95575f5ffd5b611ca1868285016119e1565b60808301525060a082013567ffffffffffffffff811115611cc0575f5ffd5b611ccc86828501611b32565b60a083015250949350505050565b5f60208284031215611cea575f5ffd5b5051919050565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d46577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5060010190565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b60a081525f611dab60a0830188611d4d565b8281036020840152611dbd8188611d4d565b905073ffffffffffffffffffffffffffffffffffffffff861660408401528281036060840152611ded8186611d4d565b90508281036080840152611e018185611d4d565b98975050505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b602080825282518282018190525f918401906040840190835b81811015611e8757835173ffffffffffffffffffffffffffffffffffffffff16835260209384019390920191600101611e53565b509095945050505050565b73ffffffffffffffffffffffffffffffffffffffff83168152604060208201525f6108e26040830184611d4d565b5f81518060208401855e5f93019283525090919050565b5f6108e2611ee58386611ec0565b84611ec0565b73ffffffffffffffffffffffffffffffffffffffff81511682525f6020820151604060208501526108e26040850182611d4d565b606081525f611f316060830186611d4d565b828103602084015280855180835260208301915060208160051b840101602088015f5b83811015611fa4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0868403018552611f8e838351611d4d565b6020958601959093509190910190600101611f54565b50508581036040870152865180825260208083019550909350600584901b82018101925087015f5b8481101561201c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0838503018652612006848351611eeb565b6020968701969094509190910190600101611fcc565b50919998505050505050505050565b828152604060208201525f6108e26040830184611eeb565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6003811061138957611389612043565b5f8151808452602084019350602083015f5b828110156120fe5781518051600781106120ae576120ae612043565b808852506020810151602088015273ffffffffffffffffffffffffffffffffffffffff60408201511660408801526060810151606088015250608086019550602082019150600181019050612092565b5093949350505050565b5f8151808452602084019350602083015f5b828110156120fe578151805161212f81612070565b8088525060ff602082015116602088015260ff60408201511660408801525060608601955060208201915060018101905061211a565b602080825282516060838301528051608084018190525f929190910190829060a08501905b808310156121c5578351805161219f81612070565b835260209081015160ff168184015293909301926001929092019160409091019061218a565b50602086015192507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08582030160408601526122018184612080565b9250505060408401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08483030160608501526107968282612108565b8051602080830151919081101561227d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8160200360031b1b821691505b50919050565b838152606060208201525f61229b6060830185611d4d565b8281036040840152835180825260208086019201905f5b818110156122d05783518352602093840193909201916001016122b2565b5090979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff8516815273ffffffffffffffffffffffffffffffffffffffff8416602082015273ffffffffffffffffffffffffffffffffffffffff83511660408201526020830151606082015260a060808201525f825161012060a08401526123596101c0840182611d4d565b905060208401517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff608483030160c08501526123948282611d4d565b915050604084015160e0840152606084015161010084015260808401516123c861012085018267ffffffffffffffff169052565b5060a084015173ffffffffffffffffffffffffffffffffffffffff81166101408501525060c084015173ffffffffffffffffffffffffffffffffffffffff81166101608501525060e084015161018084015261010084015173ffffffffffffffffffffffffffffffffffffffff81166101a0850152509695505050505050565b7fffffffff00000000000000000000000000000000000000000000000000000000845116815273ffffffffffffffffffffffffffffffffffffffff602085015116602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201525f6124bf6080830184611d4d565b9594505050505056fe60806040526040516103a73803806103a78339810160408190526100229161023c565b61002c8282610033565b5050610321565b61003c82610091565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561008557610080828261010c565b505050565b61008d61017f565b5050565b806001600160a01b03163b5f036100cb57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051610128919061030b565b5f60405180830381855af49150503d805f8114610160576040519150601f19603f3d011682016040523d82523d5f602084013e610165565b606091505b5090925090506101768583836101a0565b95945050505050565b341561019e5760405163b398979f60e01b815260040160405180910390fd5b565b6060826101b5576101b0826101ff565b6101f8565b81511580156101cc57506001600160a01b0384163b155b156101f557604051639996b31560e01b81526001600160a01b03851660048201526024016100c2565b50805b9392505050565b80511561020f5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b634e487b7160e01b5f52604160045260245ffd5b5f5f6040838503121561024d575f5ffd5b82516001600160a01b0381168114610263575f5ffd5b60208401519092506001600160401b0381111561027e575f5ffd5b8301601f8101851361028e575f5ffd5b80516001600160401b038111156102a7576102a7610228565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102d5576102d5610228565b6040528181528282016020018710156102ec575f5ffd5b8160208401602083015e5f602083830101528093505050509250929050565b5f82518060208501845e5f920191825250919050565b607a8061032d5f395ff3fe6080604052600a600c565b005b60186014601a565b605d565b565b5f60587f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b905090565b365f5f375f5f365f845af43d5f5f3e8080156076573d5ff35b3d5ffd608060405234801561000f575f5ffd5b5060405161083f38038061083f83398101604081905261002e9161022d565b6100948380517f9c16cba5b9f2fcbd952b38bec34079e93cbe107475c15fc20705f4e704198a0080546020909301516001600160a01b03166001600160a01b031960e09390931c600160a01b02929092166001600160c01b031990931692909217179055565b61009e82826100a7565b5050505061032e565b60605f5f846001600160a01b0316846040516100c39190610318565b5f60405180830381855af49150503d805f81146100fb576040519150601f19603f3d011682016040523d82523d5f602084013e610100565b606091505b50909250905061011185838361011a565b95945050505050565b60608261012f5761012a8261017d565b610176565b815115801561014657506001600160a01b0384163b155b1561017357604051639996b31560e01b81526001600160a01b038516600482015260240160405180910390fd5b50805b9392505050565b80511561018d5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b03811182821017156101dc576101dc6101a6565b60405290565b604051601f8201601f191681016001600160401b038111828210171561020a5761020a6101a6565b604052919050565b80516001600160a01b0381168114610228575f5ffd5b919050565b5f5f5f8385036080811215610240575f5ffd5b604081121561024d575f5ffd5b506102566101ba565b84516001600160e01b03198116811461026d575f5ffd5b815261027b60208601610212565b6020820152925061028e60408501610212565b60608501519092506001600160401b038111156102a9575f5ffd5b8401601f810186136102b9575f5ffd5b80516001600160401b038111156102d2576102d26101a6565b6102e5601f8201601f19166020016101e2565b8181528760208385010111156102f9575f5ffd5b8160208401602083015e5f602083830101528093505050509250925092565b5f82518060208501845e5f920191825250919050565b6105048061033b5f395ff3fe608060405260043610610021575f3560e01c8063ac9650d81461003257610028565b3661002857005b61003061005b565b005b610045610040366004610383565b6100d4565b60405161005291906103f4565b60405180910390f35b5f6100646100f8565b90508073ffffffffffffffffffffffffffffffffffffffff163b5f036100b6576040517f87c9fc3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b365f5f375f5f365f845af43d5f5f3e8080156100d0573d5ff35b3d5ffd5b606034156100e0575f5ffd5b6100f26100ed84846102e0565b610372565b92915050565b7f9c16cba5b9f2fcbd952b38bec34079e93cbe107475c15fc20705f4e704198a00545f9074010000000000000000000000000000000000000000900460e01b81806101777f9c16cba5b9f2fcbd952b38bec34079e93cbe107475c15fc20705f4e704198a005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff000000000000000000000000000000000000000000000000000000005f3516602482015273ffffffffffffffffffffffffffffffffffffffff91909116908490604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161024b91906104b4565b5f60405180830381855afa9150503d805f8114610283576040519150601f19603f3d011682016040523d82523d5f602084013e610288565b606091505b5091509150816102c4576040517f391aa44500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808060200190518101906102d891906104ca565b935050505090565b5f60405190506020815281816020015280604001808360051b80868437820180851561035a575b8351870180356020820183375f38823584305af4610327573d5f873e3d86fd5b5082810384523d815260209384019381013d5f823e5f3d8201523d01601f0167ffffffffffffffe0169050818410610307575b806040528485820360401b1794505050505092915050565b8060401c8167ffffffffffffffff16f35b5f5f60208385031215610394575f5ffd5b823567ffffffffffffffff8111156103aa575f5ffd5b8301601f810185136103ba575f5ffd5b803567ffffffffffffffff8111156103d0575f5ffd5b8560208260051b84010111156103e4575f5ffd5b6020919091019590945092505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b828110156104a8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0878603018452815180518087528060208301602089015e5f6020828901015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168801019650505060208201915060208401935060018101905061041a565b50929695505050505050565b5f82518060208501845e5f920191825250919050565b5f602082840312156104da575f5ffd5b815173ffffffffffffffffffffffffffffffffffffffff811681146104fd575f5ffd5b939250505056";
387
+
388
+ type MockLegacyArchitectConstructorParams =
389
+ | [signer?: Signer]
390
+ | ConstructorParameters<typeof ContractFactory>;
391
+
392
+ const isSuperArgs = (
393
+ xs: MockLegacyArchitectConstructorParams
394
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
395
+
396
+ export class MockLegacyArchitect__factory extends ContractFactory {
397
+ constructor(...args: MockLegacyArchitectConstructorParams) {
398
+ if (isSuperArgs(args)) {
399
+ super(...args);
400
+ } else {
401
+ super(_abi, _bytecode, args[0]);
402
+ }
403
+ }
404
+
405
+ override deploy(
406
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
407
+ ): Promise<MockLegacyArchitect> {
408
+ return super.deploy(overrides || {}) as Promise<MockLegacyArchitect>;
409
+ }
410
+ override getDeployTransaction(
411
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
412
+ ): TransactionRequest {
413
+ return super.getDeployTransaction(overrides || {});
414
+ }
415
+ override attach(address: string): MockLegacyArchitect {
416
+ return super.attach(address) as MockLegacyArchitect;
417
+ }
418
+ override connect(signer: Signer): MockLegacyArchitect__factory {
419
+ return super.connect(signer) as MockLegacyArchitect__factory;
420
+ }
421
+
422
+ static readonly bytecode = _bytecode;
423
+ static readonly abi = _abi;
424
+ static createInterface(): MockLegacyArchitectInterface {
425
+ return new utils.Interface(_abi) as MockLegacyArchitectInterface;
426
+ }
427
+ static connect(
428
+ address: string,
429
+ signerOrProvider: Signer | Provider
430
+ ): MockLegacyArchitect {
431
+ return new Contract(address, _abi, signerOrProvider) as MockLegacyArchitect;
432
+ }
433
+ }