@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.
- package/dev/abis/Channels.abi.json +30 -0
- package/dev/abis/Channels.abi.ts +30 -0
- package/dev/abis/DropFacet.abi.json +36 -0
- package/dev/abis/DropFacet.abi.ts +36 -0
- package/dev/abis/MembershipFacet.abi.json +5 -0
- package/dev/abis/MembershipFacet.abi.ts +5 -0
- package/dev/abis/Roles.abi.json +5 -0
- package/dev/abis/Roles.abi.ts +5 -0
- package/dev/typings/Architect.ts +513 -0
- package/dev/typings/Channels.ts +1003 -0
- package/dev/typings/DropFacet.ts +687 -0
- package/dev/typings/EntitlementsManager.ts +612 -0
- package/dev/typings/IDropFacet.ts +11 -3
- package/dev/typings/MockLegacyArchitect.ts +402 -0
- package/dev/typings/NodeRegistry.ts +470 -0
- package/dev/typings/OperatorRegistry.ts +345 -0
- package/dev/typings/Roles.ts +984 -0
- package/dev/typings/StreamRegistry.ts +737 -0
- package/dev/typings/WalletLink.ts +975 -0
- package/dev/typings/factories/Architect__factory.ts +406 -0
- package/dev/typings/factories/Channels__factory.ts +1037 -0
- package/dev/typings/factories/DropFacet__factory.ts +816 -0
- package/dev/typings/factories/EntitlementsManager__factory.ts +688 -0
- package/dev/typings/factories/IChannel__factory.ts +25 -0
- package/dev/typings/factories/IDropFacet__factory.ts +15 -0
- package/dev/typings/factories/IRoles__factory.ts +5 -0
- package/dev/typings/factories/MembershipFacet__factory.ts +6 -1
- package/dev/typings/factories/MockLegacyArchitect__factory.ts +433 -0
- package/dev/typings/factories/NodeRegistry__factory.ts +335 -0
- package/dev/typings/factories/OperatorRegistry__factory.ts +254 -0
- package/dev/typings/factories/Roles__factory.ts +998 -0
- package/dev/typings/factories/SpaceOwner__factory.ts +1 -11
- package/dev/typings/factories/StreamRegistry__factory.ts +604 -0
- package/dev/typings/factories/WalletLink__factory.ts +899 -0
- package/dev/typings/factories/index.ts +10 -0
- package/dev/typings/index.ts +20 -0
- package/package.json +2 -2
|
@@ -0,0 +1,899 @@
|
|
|
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 { WalletLink, WalletLinkInterface } from "../WalletLink";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
type: "function",
|
|
12
|
+
name: "__WalletLink_init",
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
name: "sclEip6565",
|
|
16
|
+
type: "address",
|
|
17
|
+
internalType: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
outputs: [],
|
|
21
|
+
stateMutability: "nonpayable",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: "function",
|
|
25
|
+
name: "checkIfLinked",
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
name: "rootKey",
|
|
29
|
+
type: "address",
|
|
30
|
+
internalType: "address",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "wallet",
|
|
34
|
+
type: "address",
|
|
35
|
+
internalType: "address",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
name: "",
|
|
41
|
+
type: "bool",
|
|
42
|
+
internalType: "bool",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "function",
|
|
49
|
+
name: "checkIfNonEVMWalletLinked",
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
name: "rootKey",
|
|
53
|
+
type: "address",
|
|
54
|
+
internalType: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "walletHash",
|
|
58
|
+
type: "bytes32",
|
|
59
|
+
internalType: "bytes32",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
outputs: [
|
|
63
|
+
{
|
|
64
|
+
name: "",
|
|
65
|
+
type: "bool",
|
|
66
|
+
internalType: "bool",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
stateMutability: "view",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: "function",
|
|
73
|
+
name: "getAllWalletsByRootKey",
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
name: "rootKey",
|
|
77
|
+
type: "address",
|
|
78
|
+
internalType: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
outputs: [
|
|
82
|
+
{
|
|
83
|
+
name: "wallets",
|
|
84
|
+
type: "tuple[]",
|
|
85
|
+
internalType: "struct WalletLib.Wallet[]",
|
|
86
|
+
components: [
|
|
87
|
+
{
|
|
88
|
+
name: "addr",
|
|
89
|
+
type: "string",
|
|
90
|
+
internalType: "string",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: "vmType",
|
|
94
|
+
type: "uint8",
|
|
95
|
+
internalType: "enum WalletLib.VirtualMachineType",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
stateMutability: "view",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
type: "function",
|
|
104
|
+
name: "getDefaultWallet",
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
name: "rootWallet",
|
|
108
|
+
type: "address",
|
|
109
|
+
internalType: "address",
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
outputs: [
|
|
113
|
+
{
|
|
114
|
+
name: "",
|
|
115
|
+
type: "address",
|
|
116
|
+
internalType: "address",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
stateMutability: "view",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: "function",
|
|
123
|
+
name: "getDependency",
|
|
124
|
+
inputs: [
|
|
125
|
+
{
|
|
126
|
+
name: "dependency",
|
|
127
|
+
type: "bytes32",
|
|
128
|
+
internalType: "bytes32",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
outputs: [
|
|
132
|
+
{
|
|
133
|
+
name: "",
|
|
134
|
+
type: "address",
|
|
135
|
+
internalType: "address",
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
stateMutability: "view",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: "function",
|
|
142
|
+
name: "getLatestNonceForRootKey",
|
|
143
|
+
inputs: [
|
|
144
|
+
{
|
|
145
|
+
name: "rootKey",
|
|
146
|
+
type: "address",
|
|
147
|
+
internalType: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
outputs: [
|
|
151
|
+
{
|
|
152
|
+
name: "",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
internalType: "uint256",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
stateMutability: "view",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: "function",
|
|
161
|
+
name: "getRootKeyForWallet",
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
name: "wallet",
|
|
165
|
+
type: "address",
|
|
166
|
+
internalType: "address",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
outputs: [
|
|
170
|
+
{
|
|
171
|
+
name: "rootKey",
|
|
172
|
+
type: "address",
|
|
173
|
+
internalType: "address",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
stateMutability: "view",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
type: "function",
|
|
180
|
+
name: "getWalletsByRootKey",
|
|
181
|
+
inputs: [
|
|
182
|
+
{
|
|
183
|
+
name: "rootKey",
|
|
184
|
+
type: "address",
|
|
185
|
+
internalType: "address",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
outputs: [
|
|
189
|
+
{
|
|
190
|
+
name: "wallets",
|
|
191
|
+
type: "address[]",
|
|
192
|
+
internalType: "address[]",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
stateMutability: "view",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
type: "function",
|
|
199
|
+
name: "linkCallerToRootKey",
|
|
200
|
+
inputs: [
|
|
201
|
+
{
|
|
202
|
+
name: "rootWallet",
|
|
203
|
+
type: "tuple",
|
|
204
|
+
internalType: "struct IWalletLinkBase.LinkedWallet",
|
|
205
|
+
components: [
|
|
206
|
+
{
|
|
207
|
+
name: "addr",
|
|
208
|
+
type: "address",
|
|
209
|
+
internalType: "address",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "signature",
|
|
213
|
+
type: "bytes",
|
|
214
|
+
internalType: "bytes",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: "message",
|
|
218
|
+
type: "string",
|
|
219
|
+
internalType: "string",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: "nonce",
|
|
225
|
+
type: "uint256",
|
|
226
|
+
internalType: "uint256",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
outputs: [],
|
|
230
|
+
stateMutability: "nonpayable",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: "function",
|
|
234
|
+
name: "linkNonEVMWalletToRootKey",
|
|
235
|
+
inputs: [
|
|
236
|
+
{
|
|
237
|
+
name: "wallet",
|
|
238
|
+
type: "tuple",
|
|
239
|
+
internalType: "struct IWalletLinkBase.NonEVMLinkedWallet",
|
|
240
|
+
components: [
|
|
241
|
+
{
|
|
242
|
+
name: "wallet",
|
|
243
|
+
type: "tuple",
|
|
244
|
+
internalType: "struct WalletLib.Wallet",
|
|
245
|
+
components: [
|
|
246
|
+
{
|
|
247
|
+
name: "addr",
|
|
248
|
+
type: "string",
|
|
249
|
+
internalType: "string",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "vmType",
|
|
253
|
+
type: "uint8",
|
|
254
|
+
internalType: "enum WalletLib.VirtualMachineType",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: "signature",
|
|
260
|
+
type: "bytes",
|
|
261
|
+
internalType: "bytes",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: "message",
|
|
265
|
+
type: "string",
|
|
266
|
+
internalType: "string",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: "extraData",
|
|
270
|
+
type: "tuple[]",
|
|
271
|
+
internalType: "struct IWalletLinkBase.VMSpecificData[]",
|
|
272
|
+
components: [
|
|
273
|
+
{
|
|
274
|
+
name: "key",
|
|
275
|
+
type: "string",
|
|
276
|
+
internalType: "string",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: "value",
|
|
280
|
+
type: "bytes",
|
|
281
|
+
internalType: "bytes",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: "nonce",
|
|
289
|
+
type: "uint256",
|
|
290
|
+
internalType: "uint256",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
outputs: [],
|
|
294
|
+
stateMutability: "nonpayable",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
type: "function",
|
|
298
|
+
name: "linkWalletToRootKey",
|
|
299
|
+
inputs: [
|
|
300
|
+
{
|
|
301
|
+
name: "wallet",
|
|
302
|
+
type: "tuple",
|
|
303
|
+
internalType: "struct IWalletLinkBase.LinkedWallet",
|
|
304
|
+
components: [
|
|
305
|
+
{
|
|
306
|
+
name: "addr",
|
|
307
|
+
type: "address",
|
|
308
|
+
internalType: "address",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: "signature",
|
|
312
|
+
type: "bytes",
|
|
313
|
+
internalType: "bytes",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: "message",
|
|
317
|
+
type: "string",
|
|
318
|
+
internalType: "string",
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: "rootWallet",
|
|
324
|
+
type: "tuple",
|
|
325
|
+
internalType: "struct IWalletLinkBase.LinkedWallet",
|
|
326
|
+
components: [
|
|
327
|
+
{
|
|
328
|
+
name: "addr",
|
|
329
|
+
type: "address",
|
|
330
|
+
internalType: "address",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: "signature",
|
|
334
|
+
type: "bytes",
|
|
335
|
+
internalType: "bytes",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: "message",
|
|
339
|
+
type: "string",
|
|
340
|
+
internalType: "string",
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: "nonce",
|
|
346
|
+
type: "uint256",
|
|
347
|
+
internalType: "uint256",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
outputs: [],
|
|
351
|
+
stateMutability: "nonpayable",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
type: "function",
|
|
355
|
+
name: "removeCallerLink",
|
|
356
|
+
inputs: [],
|
|
357
|
+
outputs: [],
|
|
358
|
+
stateMutability: "nonpayable",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
type: "function",
|
|
362
|
+
name: "removeLink",
|
|
363
|
+
inputs: [
|
|
364
|
+
{
|
|
365
|
+
name: "wallet",
|
|
366
|
+
type: "address",
|
|
367
|
+
internalType: "address",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
name: "rootWallet",
|
|
371
|
+
type: "tuple",
|
|
372
|
+
internalType: "struct IWalletLinkBase.LinkedWallet",
|
|
373
|
+
components: [
|
|
374
|
+
{
|
|
375
|
+
name: "addr",
|
|
376
|
+
type: "address",
|
|
377
|
+
internalType: "address",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
name: "signature",
|
|
381
|
+
type: "bytes",
|
|
382
|
+
internalType: "bytes",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
name: "message",
|
|
386
|
+
type: "string",
|
|
387
|
+
internalType: "string",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: "nonce",
|
|
393
|
+
type: "uint256",
|
|
394
|
+
internalType: "uint256",
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
outputs: [],
|
|
398
|
+
stateMutability: "nonpayable",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
type: "function",
|
|
402
|
+
name: "removeNonEVMWalletLink",
|
|
403
|
+
inputs: [
|
|
404
|
+
{
|
|
405
|
+
name: "wallet",
|
|
406
|
+
type: "tuple",
|
|
407
|
+
internalType: "struct WalletLib.Wallet",
|
|
408
|
+
components: [
|
|
409
|
+
{
|
|
410
|
+
name: "addr",
|
|
411
|
+
type: "string",
|
|
412
|
+
internalType: "string",
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
name: "vmType",
|
|
416
|
+
type: "uint8",
|
|
417
|
+
internalType: "enum WalletLib.VirtualMachineType",
|
|
418
|
+
},
|
|
419
|
+
],
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: "nonce",
|
|
423
|
+
type: "uint256",
|
|
424
|
+
internalType: "uint256",
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
outputs: [],
|
|
428
|
+
stateMutability: "nonpayable",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
type: "function",
|
|
432
|
+
name: "setDefaultWallet",
|
|
433
|
+
inputs: [
|
|
434
|
+
{
|
|
435
|
+
name: "defaultWallet",
|
|
436
|
+
type: "address",
|
|
437
|
+
internalType: "address",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
outputs: [],
|
|
441
|
+
stateMutability: "nonpayable",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
type: "function",
|
|
445
|
+
name: "setDependency",
|
|
446
|
+
inputs: [
|
|
447
|
+
{
|
|
448
|
+
name: "dependency",
|
|
449
|
+
type: "bytes32",
|
|
450
|
+
internalType: "bytes32",
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
name: "dependencyAddress",
|
|
454
|
+
type: "address",
|
|
455
|
+
internalType: "address",
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
outputs: [],
|
|
459
|
+
stateMutability: "nonpayable",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
type: "event",
|
|
463
|
+
name: "Initialized",
|
|
464
|
+
inputs: [
|
|
465
|
+
{
|
|
466
|
+
name: "version",
|
|
467
|
+
type: "uint32",
|
|
468
|
+
indexed: false,
|
|
469
|
+
internalType: "uint32",
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
anonymous: false,
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
type: "event",
|
|
476
|
+
name: "InterfaceAdded",
|
|
477
|
+
inputs: [
|
|
478
|
+
{
|
|
479
|
+
name: "interfaceId",
|
|
480
|
+
type: "bytes4",
|
|
481
|
+
indexed: true,
|
|
482
|
+
internalType: "bytes4",
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
anonymous: false,
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
type: "event",
|
|
489
|
+
name: "InterfaceRemoved",
|
|
490
|
+
inputs: [
|
|
491
|
+
{
|
|
492
|
+
name: "interfaceId",
|
|
493
|
+
type: "bytes4",
|
|
494
|
+
indexed: true,
|
|
495
|
+
internalType: "bytes4",
|
|
496
|
+
},
|
|
497
|
+
],
|
|
498
|
+
anonymous: false,
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
type: "event",
|
|
502
|
+
name: "LinkNonEVMWalletToRootWallet",
|
|
503
|
+
inputs: [
|
|
504
|
+
{
|
|
505
|
+
name: "walletHash",
|
|
506
|
+
type: "bytes32",
|
|
507
|
+
indexed: true,
|
|
508
|
+
internalType: "bytes32",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
name: "rootKey",
|
|
512
|
+
type: "address",
|
|
513
|
+
indexed: true,
|
|
514
|
+
internalType: "address",
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
anonymous: false,
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
type: "event",
|
|
521
|
+
name: "LinkWalletToRootKey",
|
|
522
|
+
inputs: [
|
|
523
|
+
{
|
|
524
|
+
name: "wallet",
|
|
525
|
+
type: "address",
|
|
526
|
+
indexed: true,
|
|
527
|
+
internalType: "address",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: "rootKey",
|
|
531
|
+
type: "address",
|
|
532
|
+
indexed: true,
|
|
533
|
+
internalType: "address",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
anonymous: false,
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
type: "event",
|
|
540
|
+
name: "OwnershipTransferred",
|
|
541
|
+
inputs: [
|
|
542
|
+
{
|
|
543
|
+
name: "previousOwner",
|
|
544
|
+
type: "address",
|
|
545
|
+
indexed: true,
|
|
546
|
+
internalType: "address",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
name: "newOwner",
|
|
550
|
+
type: "address",
|
|
551
|
+
indexed: true,
|
|
552
|
+
internalType: "address",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
anonymous: false,
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
type: "event",
|
|
559
|
+
name: "RemoveLink",
|
|
560
|
+
inputs: [
|
|
561
|
+
{
|
|
562
|
+
name: "wallet",
|
|
563
|
+
type: "address",
|
|
564
|
+
indexed: true,
|
|
565
|
+
internalType: "address",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
name: "secondWallet",
|
|
569
|
+
type: "address",
|
|
570
|
+
indexed: true,
|
|
571
|
+
internalType: "address",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
anonymous: false,
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
type: "event",
|
|
578
|
+
name: "RemoveNonEVMWalletLink",
|
|
579
|
+
inputs: [
|
|
580
|
+
{
|
|
581
|
+
name: "walletHash",
|
|
582
|
+
type: "bytes32",
|
|
583
|
+
indexed: true,
|
|
584
|
+
internalType: "bytes32",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: "rootKey",
|
|
588
|
+
type: "address",
|
|
589
|
+
indexed: true,
|
|
590
|
+
internalType: "address",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
anonymous: false,
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
type: "event",
|
|
597
|
+
name: "SetDefaultWallet",
|
|
598
|
+
inputs: [
|
|
599
|
+
{
|
|
600
|
+
name: "rootKey",
|
|
601
|
+
type: "address",
|
|
602
|
+
indexed: true,
|
|
603
|
+
internalType: "address",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
name: "defaultWallet",
|
|
607
|
+
type: "address",
|
|
608
|
+
indexed: true,
|
|
609
|
+
internalType: "address",
|
|
610
|
+
},
|
|
611
|
+
],
|
|
612
|
+
anonymous: false,
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
type: "error",
|
|
616
|
+
name: "Initializable_InInitializingState",
|
|
617
|
+
inputs: [],
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
type: "error",
|
|
621
|
+
name: "Initializable_NotInInitializingState",
|
|
622
|
+
inputs: [],
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
type: "error",
|
|
626
|
+
name: "Introspection_AlreadySupported",
|
|
627
|
+
inputs: [],
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
type: "error",
|
|
631
|
+
name: "Introspection_NotSupported",
|
|
632
|
+
inputs: [],
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
type: "error",
|
|
636
|
+
name: "InvalidAccountNonce",
|
|
637
|
+
inputs: [
|
|
638
|
+
{
|
|
639
|
+
name: "account",
|
|
640
|
+
type: "address",
|
|
641
|
+
internalType: "address",
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
name: "currentNonce",
|
|
645
|
+
type: "uint256",
|
|
646
|
+
internalType: "uint256",
|
|
647
|
+
},
|
|
648
|
+
],
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
type: "error",
|
|
652
|
+
name: "Ownable__NotOwner",
|
|
653
|
+
inputs: [
|
|
654
|
+
{
|
|
655
|
+
name: "account",
|
|
656
|
+
type: "address",
|
|
657
|
+
internalType: "address",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
type: "error",
|
|
663
|
+
name: "Ownable__ZeroAddress",
|
|
664
|
+
inputs: [],
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
type: "error",
|
|
668
|
+
name: "WalletLink__AddressMismatch",
|
|
669
|
+
inputs: [],
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
type: "error",
|
|
673
|
+
name: "WalletLink__CannotLinkToRootWallet",
|
|
674
|
+
inputs: [
|
|
675
|
+
{
|
|
676
|
+
name: "wallet",
|
|
677
|
+
type: "address",
|
|
678
|
+
internalType: "address",
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
name: "rootKey",
|
|
682
|
+
type: "address",
|
|
683
|
+
internalType: "address",
|
|
684
|
+
},
|
|
685
|
+
],
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
type: "error",
|
|
689
|
+
name: "WalletLink__CannotLinkToSelf",
|
|
690
|
+
inputs: [],
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
type: "error",
|
|
694
|
+
name: "WalletLink__CannotRemoveDefaultWallet",
|
|
695
|
+
inputs: [],
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
type: "error",
|
|
699
|
+
name: "WalletLink__CannotRemoveRootWallet",
|
|
700
|
+
inputs: [],
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
type: "error",
|
|
704
|
+
name: "WalletLink__DefaultWalletAlreadySet",
|
|
705
|
+
inputs: [],
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
type: "error",
|
|
709
|
+
name: "WalletLink__InvalidAddress",
|
|
710
|
+
inputs: [],
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
type: "error",
|
|
714
|
+
name: "WalletLink__InvalidMessage",
|
|
715
|
+
inputs: [],
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
type: "error",
|
|
719
|
+
name: "WalletLink__InvalidNonEVMAddress",
|
|
720
|
+
inputs: [],
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
type: "error",
|
|
724
|
+
name: "WalletLink__InvalidSignature",
|
|
725
|
+
inputs: [],
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
type: "error",
|
|
729
|
+
name: "WalletLink__InvalidVMSpecificData",
|
|
730
|
+
inputs: [
|
|
731
|
+
{
|
|
732
|
+
name: "key",
|
|
733
|
+
type: "string",
|
|
734
|
+
internalType: "string",
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
name: "value",
|
|
738
|
+
type: "bytes",
|
|
739
|
+
internalType: "bytes",
|
|
740
|
+
},
|
|
741
|
+
],
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
type: "error",
|
|
745
|
+
name: "WalletLink__LinkAlreadyExists",
|
|
746
|
+
inputs: [
|
|
747
|
+
{
|
|
748
|
+
name: "wallet",
|
|
749
|
+
type: "address",
|
|
750
|
+
internalType: "address",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
name: "rootKey",
|
|
754
|
+
type: "address",
|
|
755
|
+
internalType: "address",
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
type: "error",
|
|
761
|
+
name: "WalletLink__LinkedToAnotherRootKey",
|
|
762
|
+
inputs: [
|
|
763
|
+
{
|
|
764
|
+
name: "wallet",
|
|
765
|
+
type: "address",
|
|
766
|
+
internalType: "address",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
name: "rootKey",
|
|
770
|
+
type: "address",
|
|
771
|
+
internalType: "address",
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
type: "error",
|
|
777
|
+
name: "WalletLink__MaxLinkedWalletsReached",
|
|
778
|
+
inputs: [],
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
type: "error",
|
|
782
|
+
name: "WalletLink__NonEVMWalletAlreadyLinked",
|
|
783
|
+
inputs: [
|
|
784
|
+
{
|
|
785
|
+
name: "wallet",
|
|
786
|
+
type: "string",
|
|
787
|
+
internalType: "string",
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
name: "rootKey",
|
|
791
|
+
type: "address",
|
|
792
|
+
internalType: "address",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
type: "error",
|
|
798
|
+
name: "WalletLink__NonEVMWalletNotLinked",
|
|
799
|
+
inputs: [
|
|
800
|
+
{
|
|
801
|
+
name: "wallet",
|
|
802
|
+
type: "string",
|
|
803
|
+
internalType: "string",
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
name: "rootKey",
|
|
807
|
+
type: "address",
|
|
808
|
+
internalType: "address",
|
|
809
|
+
},
|
|
810
|
+
],
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
type: "error",
|
|
814
|
+
name: "WalletLink__NotLinked",
|
|
815
|
+
inputs: [
|
|
816
|
+
{
|
|
817
|
+
name: "wallet",
|
|
818
|
+
type: "address",
|
|
819
|
+
internalType: "address",
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
name: "rootKey",
|
|
823
|
+
type: "address",
|
|
824
|
+
internalType: "address",
|
|
825
|
+
},
|
|
826
|
+
],
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
type: "error",
|
|
830
|
+
name: "WalletLink__RootKeyMismatch",
|
|
831
|
+
inputs: [
|
|
832
|
+
{
|
|
833
|
+
name: "callerRootKey",
|
|
834
|
+
type: "address",
|
|
835
|
+
internalType: "address",
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
name: "rootKey",
|
|
839
|
+
type: "address",
|
|
840
|
+
internalType: "address",
|
|
841
|
+
},
|
|
842
|
+
],
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
type: "error",
|
|
846
|
+
name: "WalletLink__UnsupportedVMType",
|
|
847
|
+
inputs: [],
|
|
848
|
+
},
|
|
849
|
+
] as const;
|
|
850
|
+
|
|
851
|
+
const _bytecode =
|
|
852
|
+
"0x6080604052348015600e575f5ffd5b5060156019565b60bd565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef520008054640100000000900460ff16156064576040516366008a2d60e01b815260040160405180910390fd5b805463ffffffff908116101560ba57805463ffffffff191663ffffffff90811782556040519081527fe9c9b456cb2994b80aeef036cf59d26e9617df80f816a6ee5a5b4166e07e2f5c9060200160405180910390a15b50565b613aaa806100ca5f395ff3fe608060405234801561000f575f5ffd5b5060043610610115575f3560e01c806371926900116100ad578063a3f100e51161007d578063af61f22b11610063578063af61f22b14610273578063baafda6b14610293578063f8210398146102a6575f5ffd5b8063a3f100e51461024d578063a5bbf48014610260575f5ffd5b806371926900146101f15780637238695e14610204578063912b97581461021757806397d9a8491461023a575f5ffd5b8063243a7134116100e8578063243a7134146101ae5780632f461453146101c357806335d2fb64146101d657806364899d98146101e9575f5ffd5b806302345b9814610119578063039dd19314610142578063101659b11461017a57806320a00ac81461018d575b5f5ffd5b61012c610127366004613019565b6102b9565b6040516101399190613032565b60405180910390f35b61015561015036600461308a565b6102ca565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610139565b610155610188366004613019565b610312565b6101a061019b366004613019565b610362565b604051908152602001610139565b6101c16101bc3660046130b1565b6103ab565b005b6101c16101d136600461311f565b6103bb565b6101c16101e4366004613161565b6103c9565b6101c16103d4565b6101c16101ff366004613197565b6103de565b6101c16102123660046131dd565b6103e8565b61022a610225366004613207565b6104cd565b6040519015158152602001610139565b61022a61024836600461322f565b610522565b6101c161025b366004613019565b61056f565b6101c161026e366004613249565b6106a7565b610286610281366004613019565b6106b1565b60405161013991906132e7565b6101c16102a1366004613019565b6106bc565b6101556102b4366004613019565b6106c6565b60606102c482610713565b92915050565b5f8181527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc02602052604081205473ffffffffffffffffffffffffffffffffffffffff166102c4565b73ffffffffffffffffffffffffffffffffffffffff8082165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0360205260408120600201549091166102c4565b73ffffffffffffffffffffffffffffffffffffffff81165f9081527fda5d6d87446d81938877f0ee239dac391146dd7466ea30567f72becf06773c0060205260408120546102c4565b6103b6838383610762565b505050565b6103c58282610be3565b5050565b6103b6838383610dea565b6103dc6111ed565b565b6103c582826113d5565b7f4675fa8241f86f37157864d3d49b85ad4b164352c516da28e1678a90470ae3005473ffffffffffffffffffffffffffffffffffffffff16331461045f576040517f65f490650000000000000000000000000000000000000000000000000000000081523360048201526024015b60405180910390fd5b5f8281527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790555050565b73ffffffffffffffffffffffffffffffffffffffff8181165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc01602052604081205490918481169116145b9392505050565b5f8181527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc04602052604081205473ffffffffffffffffffffffffffffffffffffffff80851691161461051b565b7f59b501c3653afc186af7d48dda36cf6732bd21629a6295693664240a6ef5200054640100000000900460ff166105d2576040517f77a399b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105fb7f26343afe00000000000000000000000000000000000000000000000000000000611602565b7f53434c5f454950363536350000000000000000000000000000000000000000005f527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc026020527fec8c052a03b4861df1d3561683815d4c9de39968b0fde24c6d42a80a8e74254d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831617905550565b50565b6103c58282611757565b60606102c482611a01565b6106a43382611cab565b73ffffffffffffffffffffffffffffffffffffffff8082165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0160205260408120549091166102c4565b73ffffffffffffffffffffffffffffffffffffffff81165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc00602052604090206060906102c490611f91565b7f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc006107a6816107946020870187613019565b6107a16020870187613019565b611f9d565b5f6108706107b760408701876133c0565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152506107f8925050506020880188613019565b858251602093840120604080517f6bb89d031fcd292ecd4c0e6855878b7165cebc3a2f35bc6bbac48c088dd8325c818701528082019290925273ffffffffffffffffffffffffffffffffffffffff9390931660608201526080808201929092528251808203909201825260a001909152805191012090565b90505f61087c826122e7565b905061088b6020860186613019565b73ffffffffffffffffffffffffffffffffffffffff166108eb826108b260208901896133c0565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061231292505050565b73ffffffffffffffffffffffffffffffffffffffff1614610938576040517f55e0083a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a0161094860408701876133c0565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f92019190915250610989925050506020880188613019565b868251602093840120604080517f6bb89d031fcd292ecd4c0e6855878b7165cebc3a2f35bc6bbac48c088dd8325c818701528082019290925273ffffffffffffffffffffffffffffffffffffffff9390931660608201526080808201929092528251808203909201825260a001909152805191012090565b91505f610a0d836122e7565b9050610a1c6020880188613019565b73ffffffffffffffffffffffffffffffffffffffff16610a43826108b260208b018b6133c0565b73ffffffffffffffffffffffffffffffffffffffff1614610a90576040517f55e0083a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610aa6610aa06020880188613019565b866123b7565b610af0610ab66020890189613019565b855f610ac560208b018b613019565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040015f209061245b565b50610afe6020870187613019565b600185015f610b1060208b018b613019565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409091015f2080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169390911692909217909155610b7590870187613019565b73ffffffffffffffffffffffffffffffffffffffff16610b986020890189613019565b73ffffffffffffffffffffffffffffffffffffffff167f64126824352170c4025060d1f6e215159635e4b08e649830695f26ef6d2b572160405160405180910390a350505050505050565b7f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0033610c1782826107a16020880188613019565b5f610c65610c2860408701876133c0565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152508692508891506122709050565b90505f610c71826122e7565b9050610c806020870187613019565b73ffffffffffffffffffffffffffffffffffffffff16610ca7826108b260208a018a6133c0565b73ffffffffffffffffffffffffffffffffffffffff1614610cf4576040517f55e0083a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d04610aa06020880188613019565b610d1783855f610ac560208b018b613019565b50610d256020870187613019565b73ffffffffffffffffffffffffffffffffffffffff8481165f908152600187016020908152604090912080547fffffffffffffffffffffffff00000000000000000000000000000000000000001693909216929092179055610d8990870187613019565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f64126824352170c4025060d1f6e215159635e4b08e649830695f26ef6d2b572160405160405180910390a3505050505050565b7f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0073ffffffffffffffffffffffffffffffffffffffff84161580610e4f57505f610e376020850185613019565b73ffffffffffffffffffffffffffffffffffffffff16145b15610e86576040517f6df3f5c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e936020840184613019565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610ef7576040517f672edc7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f046020840184613019565b73ffffffffffffffffffffffffffffffffffffffff8581165f9081526001840160205260409020548116911614610f955783610f436020850185613019565b6040517f5e300c8300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff8416600382015f610fbe6020870187613019565b73ffffffffffffffffffffffffffffffffffffffff908116825260208201929092526040015f20600201541603611021576040517fd51f04c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f61106f61103260408601866133c0565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152508992508791506122709050565b90505f61107b826122e7565b905061108a6020860186613019565b73ffffffffffffffffffffffffffffffffffffffff166110b1826108b260208901896133c0565b73ffffffffffffffffffffffffffffffffffffffff16146110fe576040517f55e0083a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61111461110e6020870187613019565b856123b7565b73ffffffffffffffffffffffffffffffffffffffff86165f9081526001840160209081526040822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556111a2918891869190611177908a018a613019565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040015f209061247c565b50604051339073ffffffffffffffffffffffffffffffffffffffff8816907f9a9d98629b39adf596077fc95a0712ba55c38f40a354e99d366a10f9c3e27da2905f90a3505050505050565b335f8181527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0160205260409020547f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc00919073ffffffffffffffffffffffffffffffffffffffff16806112ab576040517f5e300c8300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808416600483015282166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff8181165f908152600385016020526040902060020154818416911603611312576040517fd51f04c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8083165f908152600185016020908152604080832080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055928416825285905220611375908361247c565b508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f9a9d98629b39adf596077fc95a0712ba55c38f40a354e99d366a10f9c3e27da260405160405180910390a3505050565b6040517f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc009033905f9061140c90869060200161347b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152918152815160209283012073ffffffffffffffffffffffffffffffffffffffff8086165f90815260018801909452919092205491925016806114c5576040517f5e300c8300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808516600483015282166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff81165f90815260038501602052604090206114f5818461249d565b6115395761150387806133c0565b836040517f9cc2f63600000000000000000000000000000000000000000000000000000000815260040161045693929190613516565b61154382876123b7565b61154d81846124b4565b5073ffffffffffffffffffffffffffffffffffffffff82165f908152600380870160209081526040808420878552909201905281209061158d8282612fa7565b5060010180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905560405173ffffffffffffffffffffffffffffffffffffffff83169084907fbd9633f1d49d3b0a615e7eba9e46218c1bfc459278b5764c2aeee591b1b1230a905f90a350505050505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081165f9081527f81088bbc801e045ea3e7620779ab349988f58afbdfba10dff983df3f33522b00602052604090205460ff166116d6577fffffffff0000000000000000000000000000000000000000000000000000000081165f9081527f81088bbc801e045ea3e7620779ab349988f58afbdfba10dff983df3f33522b006020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055611708565b6040517ff2cfeefa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517fffffffff000000000000000000000000000000000000000000000000000000008216907f78f84e5b1c5c05be2b5ad3800781dd404d6d6c6302bc755c0fe20f58a33a7f22905f90a250565b7f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc00335f611784858061354f565b604051602001611794919061347b565b6040516020818303038152906040528051906020012090506117b78386836124bf565b73ffffffffffffffffffffffffffffffffffffffff8083165f908152600185016020908152604080832054909316808352600387019091529190206117fc818461249d565b1561184b5761180b878061354f565b61181590806133c0565b836040517fc7d36f2f00000000000000000000000000000000000000000000000000000000815260040161045693929190613516565b600a6118568261269a565b1061188d576040517f4c8780db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001611899888061354f565b6118aa90604081019060200161358b565b60068111156118bb576118bb613281565b036118e0576118d26118cd888061354f565b6126a3565b6118db8761271e565b611909565b6119097f196e7f7e0000000000000000000000000000000000000000000000000000000061297c565b5f838152600486016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790556119608184612984565b5061196b878061354f565b73ffffffffffffffffffffffffffffffffffffffff83165f908152600380880160209081526040808420888552909201905290206119a982826136db565b9050506119b682876123b7565b60405173ffffffffffffffffffffffffffffffffffffffff83169084907feb317a93636ebc39c613bf403c3fb4147a957dbf439fb47b4c9cc5c2b372f6bc905f90a350505050505050565b73ffffffffffffffffffffffffffffffffffffffff81165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc03602090815260408083207f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc009283905290832060609390611a7c90611f91565b90505f611a8883611f91565b82518151919250905f611a9b8284613883565b90508067ffffffffffffffff811115611ab657611ab66135a6565b604051908082528060200260200182016040528015611afb57816020015b60408051808201909152606081525f6020820152815260200190600190039081611ad45790505b5097505f5b83811015611b63576040518060400160405280611b35888481518110611b2857611b28613896565b602002602001015161298f565b81526020015f815250898281518110611b5057611b50613896565b6020908102919091010152600101611b00565b505f5b82811015611c9e575f876003015f878481518110611b8657611b86613896565b602002602001015181526020019081526020015f206040518060400160405290815f82018054611bb5906135d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611be1906135d3565b8015611c2c5780601f10611c0357610100808354040283529160200191611c2c565b820191905f5260205f20905b815481529060010190602001808311611c0f57829003601f168201915b5050509183525050600182015460209091019060ff166006811115611c5357611c53613281565b6006811115611c6457611c64613281565b90525090505f611c748387613883565b9050818b8281518110611c8957611c89613896565b60209081029190910101525050600101611b66565b5050505050505050919050565b73ffffffffffffffffffffffffffffffffffffffff8116611cf8576040517f6df3f5c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8181165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0160205260409020541680611d95576040517f5e300c8300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808416600483015282166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff8084165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc016020526040902054811690821614158015611e1957508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611e70576040517f5e300c8300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808516600483015282166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff8181165f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc036020526040902060028101547f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc0092858116911603611f17576040517f2febf33700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925560405190918516907f63a3f19f9166855a56a40467088468f9ae049d32865102cf64b70444db555036905f90a35050505050565b60605f61051b836129d1565b73ffffffffffffffffffffffffffffffffffffffff82161580611fd4575073ffffffffffffffffffffffffffffffffffffffff8116155b1561200b576040517f6df3f5c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612070576040517f848ba26d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8281165f90815260018501602052604090205416156120f0576040517f14790b7f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808416600483015282166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff8181165f90815260018501602052604090205416156121845773ffffffffffffffffffffffffffffffffffffffff8181165f908152600185016020526040908190205490517f47227b5d000000000000000000000000000000000000000000000000000000008152848316600482015291166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020849052604081206121b19061269a565b1115612209576040517ff702bdda00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808416600483015282166024820152604401610456565b73ffffffffffffffffffffffffffffffffffffffff81165f908152602084905260409020600a906122399061269a565b106103b6576040517f4c8780db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8251602093840120604080517f6bb89d031fcd292ecd4c0e6855878b7165cebc3a2f35bc6bbac48c088dd8325c818701528082019290925273ffffffffffffffffffffffffffffffffffffffff9390931660608201526080808201929092528251808203909201825260a001909152805191012090565b5f6102c47f219639d1c7dec7d049ffb8dc11e39f070f052764b142bd61682a7811a502a60083612a2a565b5f60405182516040811461232e576041811461236857506123a3565b604084015160ff81901c601b016020527f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1660605261237b565b60608401515f1a60205260408401516060525b50835f5260208301516040526020600160805f60015afa5191505f606052806040523d6123b0575b638baa579f5f526004601cfd5b5092915050565b73ffffffffffffffffffffffffffffffffffffffff82165f9081527fda5d6d87446d81938877f0ee239dac391146dd7466ea30567f72becf06773c00602052604090208054600181019091558181146103b6576040517f752d88c000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604401610456565b5f61051b8373ffffffffffffffffffffffffffffffffffffffff8416612a71565b5f61051b8373ffffffffffffffffffffffffffffffffffffffff8416612abd565b5f818152600183016020526040812054151561051b565b5f61051b8383612abd565b336124ca838061354f565b6124d490806133c0565b90505f0361250e576040517f3761dda000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606461251a848061354f565b61252490806133c0565b9050111561255e576040517f3761dda000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b335f90815260018501602052604090205473ffffffffffffffffffffffffffffffffffffffff16806125da576040517f5e300c8300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201525f6024820152604401610456565b5f83815260048601602052604090205473ffffffffffffffffffffffffffffffffffffffff16801580159061263b57508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15612692576040517f5760279b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808416600483015282166024820152604401610456565b505050505050565b5f6102c4825490565b60016126b5604083016020840161358b565b60068111156126c6576126c6613281565b036106a45760206126d782806133c0565b905010806126f05750602c6126ec82806133c0565b9050115b156106a4576106a47f3761dda00000000000000000000000000000000000000000000000000000000061297c565b5f61272c60608301836138c3565b5f81811061273c5761273c613896565b905060200281019061274e919061354f565b61275c9060208101906133c0565b8101906127699190613950565b90506127be612778838061354f565b61278290806133c0565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505084519150612ba09050565b6127f4576040517fd5ecf56b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f53434c5f454950363536350000000000000000000000000000000000000000005f9081527f19511ce7944c192b1007be99b82019218d1decfc513f05239612743360a0dc026020527fec8c052a03b4861df1d3561683815d4c9de39968b0fde24c6d42a80a8e74254d5473ffffffffffffffffffffffffffffffffffffffff1690505f8061288660208601866133c0565b81019061289391906139d5565b90925090505f73ffffffffffffffffffffffffffffffffffffffff841663369b69216128c260408901896133c0565b88516040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815261290393929189918991906004016139f5565b6020604051808303815f875af115801561291f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129439190613a4b565b905080612692576040517f55e0083a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f5260045ffd5b5f61051b8383612a71565b606061299a82612bc4565b805161307882526002017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe90910190815292915050565b6060815f01805480602002602001604051908101604052809291908181526020018280548015612a1e57602002820191905f5260205f20905b815481526020019060010190808311612a0a575b50505050509050919050565b5f61051b612a3784612c4f565b7f19010000000000000000000000000000000000000000000000000000000000005f90815260029190915260228481526042822091905290565b5f818152600183016020526040812054612ab657508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556102c4565b505f6102c4565b5f8181526001830160205260408120548015612b97575f612adf600183613a6a565b85549091505f90612af290600190613a6a565b9050808214612b51575f865f018281548110612b1057612b10613896565b905f5260205f200154905080875f018481548110612b3057612b30613896565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080612b6257612b62613a7d565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f9055600193505050506102c4565b5f9150506102c4565b5f61051b83612bae84612c59565b8051602091820120825192909101919091201490565b60606040519050608081016040526f30313233343536373839616263646566600f5260028101905060288152602081015f60288201528260601b92505f5b808101820184821a600f81165160018301538060041c518253505060018101907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed01612c02575050919050565b5f6102c482612c6b565b60606102c48260046020020151612ce2565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612c9683612e76565b612c9f84612ed7565b60408051602081019490945283019190915260608201524660808201523060a082015260c001604051602081830303815290604052805190602001209050919050565b6060815f600382157ff8f9f9faf9fdfafbf9fdfcfdfafbfcfef9fafdfafcfcfbfefafafcfbffffffff6f8421084210842108cc6318c6db6d54be6fffffffffffffffffffffffffffffffff861160071b86811c67ffffffffffffffff1060061b1786811c63ffffffff1060051b1786811c61ffff1060041b1786811c60ff10851b1786811c9190911c601f169190911a180160408051602c808252606082019092529190921c9250604c01805b8415612e1957603a808604957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191067f5a6162636465666768696a6b6d6e6f707172737475767778797a000000000000602082107f6b5351575153515f51282828292b293739383838383827292b295455565758590218601f821681901a83535050612d8f565b7f31313131313131313131313131313131313131313131313131313131313131317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe080830191909152939003908190039201918252509392505050565b5f5f612e8183612f0c565b805190915015612e9957805160209091012092915050565b82548015612ea8579392505050565b507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4709392505050565b50919050565b5f5f612ee283612f96565b805190915015612efa57805160209091012092915050565b60018301548015612ea8579392505050565b6060816002018054612f1d906135d3565b80601f0160208091040260200160405190810160405280929190818152602001828054612f49906135d3565b8015612a1e5780601f10612f6b57610100808354040283529160200191612a1e565b820191905f5260205f20905b815481529060010190602001808311612f775750939695505050505050565b6060816003018054612f1d906135d3565b508054612fb3906135d3565b5f825580601f10612fc2575050565b601f0160209004905f5260205f20908101906106a491905b80821115612fed575f8155600101612fda565b5090565b803573ffffffffffffffffffffffffffffffffffffffff81168114613014575f5ffd5b919050565b5f60208284031215613029575f5ffd5b61051b82612ff1565b602080825282518282018190525f918401906040840190835b8181101561307f57835173ffffffffffffffffffffffffffffffffffffffff1683526020938401939092019160010161304b565b509095945050505050565b5f6020828403121561309a575f5ffd5b5035919050565b5f60608284031215612ed1575f5ffd5b5f5f5f606084860312156130c3575f5ffd5b833567ffffffffffffffff8111156130d9575f5ffd5b6130e5868287016130a1565b935050602084013567ffffffffffffffff811115613101575f5ffd5b61310d868287016130a1565b93969395505050506040919091013590565b5f5f60408385031215613130575f5ffd5b823567ffffffffffffffff811115613146575f5ffd5b613152858286016130a1565b95602094909401359450505050565b5f5f5f60608486031215613173575f5ffd5b61317c84612ff1565b9250602084013567ffffffffffffffff811115613101575f5ffd5b5f5f604083850312156131a8575f5ffd5b823567ffffffffffffffff8111156131be575f5ffd5b8301604081860312156131cf575f5ffd5b946020939093013593505050565b5f5f604083850312156131ee575f5ffd5b823591506131fe60208401612ff1565b90509250929050565b5f5f60408385031215613218575f5ffd5b61322183612ff1565b91506131fe60208401612ff1565b5f5f60408385031215613240575f5ffd5b6131cf83612ff1565b5f5f6040838503121561325a575f5ffd5b823567ffffffffffffffff811115613270575f5ffd5b8301608081860312156131cf575f5ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b600781106132e3577f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b9052565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b828110156133b4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc087860301845281518051604087528051806040890152806020830160608a015e5f6060828a0101526020830151925061337260208901846132ae565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01696909601606001955050602093840193919091019060010161330d565b50929695505050505050565b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126133f3575f5ffd5b83018035915067ffffffffffffffff82111561340d575f5ffd5b602001915036819003821315613421575f5ffd5b9250929050565b81835281816020850137505f602082840101525f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600781106106a4575f5ffd5b602081525f82357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126134b1575f5ffd5b830160208101903567ffffffffffffffff8111156134cd575f5ffd5b8036038213156134db575f5ffd5b604060208501526134f0606085018284613428565b91505060208401356135018161346f565b61350e60408501826132ae565b509392505050565b604081525f613529604083018587613428565b905073ffffffffffffffffffffffffffffffffffffffff83166020830152949350505050565b5f82357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112613581575f5ffd5b9190910192915050565b5f6020828403121561359b575f5ffd5b813561051b8161346f565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b600181811c908216806135e757607f821691505b602082108103612ed1577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b601f8211156103b657805f5260205f20601f840160051c810160208510156136435750805b601f840160051c820191505b81811015613662575f815560010161364f565b5050505050565b5f81356102c48161346f565b600782106136aa577f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541660ff831681178255505050565b81357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe183360301811261370c575f5ffd5b8201803567ffffffffffffffff81118015613725575f5ffd5b813603602084011315613736575f5ffd5b5f90505061374e8161374885546135d3565b8561361e565b5f601f8211600181146137a1575f831561376b5750838201602001355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600385901b1c1916600184901b17855561383a565b5f858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08516915b828110156137f0576020858801810135835594850194600190920191016137ce565b508482101561382e577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88660031b161c19602085880101351681555b505060018360011b0185555b505050506103c561384d60208401613669565b60018301613675565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b808201808211156102c4576102c4613856565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126138f6575f5ffd5b83018035915067ffffffffffffffff821115613910575f5ffd5b6020019150600581901b3603821315613421575f5ffd5b60405160a0810167ffffffffffffffff8111828210171561394a5761394a6135a6565b60405290565b5f60a0828403128015613961575f5ffd5b506040516020810167ffffffffffffffff81118282101715613985576139856135a6565b604052601f83018413613996575f5ffd5b61399e613927565b8060a08501868111156139af575f5ffd5b855b818110156139c95780358452602093840193016139b1565b50508252509392505050565b5f5f604083850312156139e6575f5ffd5b50508035926020909101359150565b61010081525f613a0a61010083018789613428565b905084602083015283604083015260608201835f5b6005811015613a3e578151835260209283019290910190600101613a1f565b5050509695505050505050565b5f60208284031215613a5b575f5ffd5b8151801515811461051b575f5ffd5b818103818111156102c4576102c4613856565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd";
|
|
853
|
+
|
|
854
|
+
type WalletLinkConstructorParams =
|
|
855
|
+
| [signer?: Signer]
|
|
856
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
857
|
+
|
|
858
|
+
const isSuperArgs = (
|
|
859
|
+
xs: WalletLinkConstructorParams
|
|
860
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
861
|
+
|
|
862
|
+
export class WalletLink__factory extends ContractFactory {
|
|
863
|
+
constructor(...args: WalletLinkConstructorParams) {
|
|
864
|
+
if (isSuperArgs(args)) {
|
|
865
|
+
super(...args);
|
|
866
|
+
} else {
|
|
867
|
+
super(_abi, _bytecode, args[0]);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
override deploy(
|
|
872
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
873
|
+
): Promise<WalletLink> {
|
|
874
|
+
return super.deploy(overrides || {}) as Promise<WalletLink>;
|
|
875
|
+
}
|
|
876
|
+
override getDeployTransaction(
|
|
877
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
878
|
+
): TransactionRequest {
|
|
879
|
+
return super.getDeployTransaction(overrides || {});
|
|
880
|
+
}
|
|
881
|
+
override attach(address: string): WalletLink {
|
|
882
|
+
return super.attach(address) as WalletLink;
|
|
883
|
+
}
|
|
884
|
+
override connect(signer: Signer): WalletLink__factory {
|
|
885
|
+
return super.connect(signer) as WalletLink__factory;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
static readonly bytecode = _bytecode;
|
|
889
|
+
static readonly abi = _abi;
|
|
890
|
+
static createInterface(): WalletLinkInterface {
|
|
891
|
+
return new utils.Interface(_abi) as WalletLinkInterface;
|
|
892
|
+
}
|
|
893
|
+
static connect(
|
|
894
|
+
address: string,
|
|
895
|
+
signerOrProvider: Signer | Provider
|
|
896
|
+
): WalletLink {
|
|
897
|
+
return new Contract(address, _abi, signerOrProvider) as WalletLink;
|
|
898
|
+
}
|
|
899
|
+
}
|