@towns-protocol/generated 0.0.196 → 0.0.198

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.
@@ -3,11 +3,6 @@
3
3
  "type": "function",
4
4
  "name": "__WalletLink_init",
5
5
  "inputs": [
6
- {
7
- "name": "delegateRegistry",
8
- "type": "address",
9
- "internalType": "address"
10
- },
11
6
  {
12
7
  "name": "sclEip6565",
13
8
  "type": "address",
@@ -67,24 +62,12 @@
67
62
  },
68
63
  {
69
64
  "type": "function",
70
- "name": "explicitWalletsByRootKey",
65
+ "name": "getAllWalletsByRootKey",
71
66
  "inputs": [
72
67
  {
73
68
  "name": "rootKey",
74
69
  "type": "address",
75
70
  "internalType": "address"
76
- },
77
- {
78
- "name": "options",
79
- "type": "tuple",
80
- "internalType": "struct IWalletLinkBase.WalletQueryOptions",
81
- "components": [
82
- {
83
- "name": "includeDelegations",
84
- "type": "bool",
85
- "internalType": "bool"
86
- }
87
- ]
88
71
  }
89
72
  ],
90
73
  "outputs": [
@@ -203,25 +186,6 @@
203
186
  ],
204
187
  "stateMutability": "view"
205
188
  },
206
- {
207
- "type": "function",
208
- "name": "getWalletsByRootKeyWithDelegations",
209
- "inputs": [
210
- {
211
- "name": "rootKey",
212
- "type": "address",
213
- "internalType": "address"
214
- }
215
- ],
216
- "outputs": [
217
- {
218
- "name": "wallets",
219
- "type": "address[]",
220
- "internalType": "address[]"
221
- }
222
- ],
223
- "stateMutability": "view"
224
- },
225
189
  {
226
190
  "type": "function",
227
191
  "name": "linkCallerToRootKey",
@@ -3,11 +3,6 @@ export default [
3
3
  "type": "function",
4
4
  "name": "__WalletLink_init",
5
5
  "inputs": [
6
- {
7
- "name": "delegateRegistry",
8
- "type": "address",
9
- "internalType": "address"
10
- },
11
6
  {
12
7
  "name": "sclEip6565",
13
8
  "type": "address",
@@ -67,24 +62,12 @@ export default [
67
62
  },
68
63
  {
69
64
  "type": "function",
70
- "name": "explicitWalletsByRootKey",
65
+ "name": "getAllWalletsByRootKey",
71
66
  "inputs": [
72
67
  {
73
68
  "name": "rootKey",
74
69
  "type": "address",
75
70
  "internalType": "address"
76
- },
77
- {
78
- "name": "options",
79
- "type": "tuple",
80
- "internalType": "struct IWalletLinkBase.WalletQueryOptions",
81
- "components": [
82
- {
83
- "name": "includeDelegations",
84
- "type": "bool",
85
- "internalType": "bool"
86
- }
87
- ]
88
71
  }
89
72
  ],
90
73
  "outputs": [
@@ -203,25 +186,6 @@ export default [
203
186
  ],
204
187
  "stateMutability": "view"
205
188
  },
206
- {
207
- "type": "function",
208
- "name": "getWalletsByRootKeyWithDelegations",
209
- "inputs": [
210
- {
211
- "name": "rootKey",
212
- "type": "address",
213
- "internalType": "address"
214
- }
215
- ],
216
- "outputs": [
217
- {
218
- "name": "wallets",
219
- "type": "address[]",
220
- "internalType": "address[]"
221
- }
222
- ],
223
- "stateMutability": "view"
224
- },
225
189
  {
226
190
  "type": "function",
227
191
  "name": "linkCallerToRootKey",
@@ -27,15 +27,19 @@ import type {
27
27
  PromiseOrValue,
28
28
  } from "./common";
29
29
 
30
- export declare namespace IWalletLinkBase {
31
- export type WalletQueryOptionsStruct = {
32
- includeDelegations: PromiseOrValue<boolean>;
30
+ export declare namespace WalletLib {
31
+ export type WalletStruct = {
32
+ addr: PromiseOrValue<string>;
33
+ vmType: PromiseOrValue<BigNumberish>;
33
34
  };
34
35
 
35
- export type WalletQueryOptionsStructOutput = [boolean] & {
36
- includeDelegations: boolean;
36
+ export type WalletStructOutput = [string, number] & {
37
+ addr: string;
38
+ vmType: number;
37
39
  };
40
+ }
38
41
 
42
+ export declare namespace IWalletLinkBase {
39
43
  export type LinkedWalletStruct = {
40
44
  addr: PromiseOrValue<string>;
41
45
  signature: PromiseOrValue<BytesLike>;
@@ -78,29 +82,16 @@ export declare namespace IWalletLinkBase {
78
82
  };
79
83
  }
80
84
 
81
- export declare namespace WalletLib {
82
- export type WalletStruct = {
83
- addr: PromiseOrValue<string>;
84
- vmType: PromiseOrValue<BigNumberish>;
85
- };
86
-
87
- export type WalletStructOutput = [string, number] & {
88
- addr: string;
89
- vmType: number;
90
- };
91
- }
92
-
93
85
  export interface IWalletLinkInterface extends utils.Interface {
94
86
  functions: {
95
87
  "checkIfLinked(address,address)": FunctionFragment;
96
88
  "checkIfNonEVMWalletLinked(address,bytes32)": FunctionFragment;
97
- "explicitWalletsByRootKey(address,(bool))": FunctionFragment;
89
+ "getAllWalletsByRootKey(address)": FunctionFragment;
98
90
  "getDefaultWallet(address)": FunctionFragment;
99
91
  "getDependency(bytes32)": FunctionFragment;
100
92
  "getLatestNonceForRootKey(address)": FunctionFragment;
101
93
  "getRootKeyForWallet(address)": FunctionFragment;
102
94
  "getWalletsByRootKey(address)": FunctionFragment;
103
- "getWalletsByRootKeyWithDelegations(address)": FunctionFragment;
104
95
  "linkCallerToRootKey((address,bytes,string),uint256)": FunctionFragment;
105
96
  "linkNonEVMWalletToRootKey(((string,uint8),bytes,string,(string,bytes)[]),uint256)": FunctionFragment;
106
97
  "linkWalletToRootKey((address,bytes,string),(address,bytes,string),uint256)": FunctionFragment;
@@ -115,13 +106,12 @@ export interface IWalletLinkInterface extends utils.Interface {
115
106
  nameOrSignatureOrTopic:
116
107
  | "checkIfLinked"
117
108
  | "checkIfNonEVMWalletLinked"
118
- | "explicitWalletsByRootKey"
109
+ | "getAllWalletsByRootKey"
119
110
  | "getDefaultWallet"
120
111
  | "getDependency"
121
112
  | "getLatestNonceForRootKey"
122
113
  | "getRootKeyForWallet"
123
114
  | "getWalletsByRootKey"
124
- | "getWalletsByRootKeyWithDelegations"
125
115
  | "linkCallerToRootKey"
126
116
  | "linkNonEVMWalletToRootKey"
127
117
  | "linkWalletToRootKey"
@@ -141,8 +131,8 @@ export interface IWalletLinkInterface extends utils.Interface {
141
131
  values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]
142
132
  ): string;
143
133
  encodeFunctionData(
144
- functionFragment: "explicitWalletsByRootKey",
145
- values: [PromiseOrValue<string>, IWalletLinkBase.WalletQueryOptionsStruct]
134
+ functionFragment: "getAllWalletsByRootKey",
135
+ values: [PromiseOrValue<string>]
146
136
  ): string;
147
137
  encodeFunctionData(
148
138
  functionFragment: "getDefaultWallet",
@@ -164,10 +154,6 @@ export interface IWalletLinkInterface extends utils.Interface {
164
154
  functionFragment: "getWalletsByRootKey",
165
155
  values: [PromiseOrValue<string>]
166
156
  ): string;
167
- encodeFunctionData(
168
- functionFragment: "getWalletsByRootKeyWithDelegations",
169
- values: [PromiseOrValue<string>]
170
- ): string;
171
157
  encodeFunctionData(
172
158
  functionFragment: "linkCallerToRootKey",
173
159
  values: [IWalletLinkBase.LinkedWalletStruct, PromiseOrValue<BigNumberish>]
@@ -221,7 +207,7 @@ export interface IWalletLinkInterface extends utils.Interface {
221
207
  data: BytesLike
222
208
  ): Result;
223
209
  decodeFunctionResult(
224
- functionFragment: "explicitWalletsByRootKey",
210
+ functionFragment: "getAllWalletsByRootKey",
225
211
  data: BytesLike
226
212
  ): Result;
227
213
  decodeFunctionResult(
@@ -244,10 +230,6 @@ export interface IWalletLinkInterface extends utils.Interface {
244
230
  functionFragment: "getWalletsByRootKey",
245
231
  data: BytesLike
246
232
  ): Result;
247
- decodeFunctionResult(
248
- functionFragment: "getWalletsByRootKeyWithDelegations",
249
- data: BytesLike
250
- ): Result;
251
233
  decodeFunctionResult(
252
234
  functionFragment: "linkCallerToRootKey",
253
235
  data: BytesLike
@@ -393,9 +375,8 @@ export interface IWalletLink extends BaseContract {
393
375
  overrides?: CallOverrides
394
376
  ): Promise<[boolean]>;
395
377
 
396
- explicitWalletsByRootKey(
378
+ getAllWalletsByRootKey(
397
379
  rootKey: PromiseOrValue<string>,
398
- options: IWalletLinkBase.WalletQueryOptionsStruct,
399
380
  overrides?: CallOverrides
400
381
  ): Promise<
401
382
  [WalletLib.WalletStructOutput[]] & {
@@ -428,11 +409,6 @@ export interface IWalletLink extends BaseContract {
428
409
  overrides?: CallOverrides
429
410
  ): Promise<[string[]] & { wallets: string[] }>;
430
411
 
431
- getWalletsByRootKeyWithDelegations(
432
- rootKey: PromiseOrValue<string>,
433
- overrides?: CallOverrides
434
- ): Promise<[string[]] & { wallets: string[] }>;
435
-
436
412
  linkCallerToRootKey(
437
413
  rootWallet: IWalletLinkBase.LinkedWalletStruct,
438
414
  nonce: PromiseOrValue<BigNumberish>,
@@ -493,9 +469,8 @@ export interface IWalletLink extends BaseContract {
493
469
  overrides?: CallOverrides
494
470
  ): Promise<boolean>;
495
471
 
496
- explicitWalletsByRootKey(
472
+ getAllWalletsByRootKey(
497
473
  rootKey: PromiseOrValue<string>,
498
- options: IWalletLinkBase.WalletQueryOptionsStruct,
499
474
  overrides?: CallOverrides
500
475
  ): Promise<WalletLib.WalletStructOutput[]>;
501
476
 
@@ -524,11 +499,6 @@ export interface IWalletLink extends BaseContract {
524
499
  overrides?: CallOverrides
525
500
  ): Promise<string[]>;
526
501
 
527
- getWalletsByRootKeyWithDelegations(
528
- rootKey: PromiseOrValue<string>,
529
- overrides?: CallOverrides
530
- ): Promise<string[]>;
531
-
532
502
  linkCallerToRootKey(
533
503
  rootWallet: IWalletLinkBase.LinkedWalletStruct,
534
504
  nonce: PromiseOrValue<BigNumberish>,
@@ -589,9 +559,8 @@ export interface IWalletLink extends BaseContract {
589
559
  overrides?: CallOverrides
590
560
  ): Promise<boolean>;
591
561
 
592
- explicitWalletsByRootKey(
562
+ getAllWalletsByRootKey(
593
563
  rootKey: PromiseOrValue<string>,
594
- options: IWalletLinkBase.WalletQueryOptionsStruct,
595
564
  overrides?: CallOverrides
596
565
  ): Promise<WalletLib.WalletStructOutput[]>;
597
566
 
@@ -620,11 +589,6 @@ export interface IWalletLink extends BaseContract {
620
589
  overrides?: CallOverrides
621
590
  ): Promise<string[]>;
622
591
 
623
- getWalletsByRootKeyWithDelegations(
624
- rootKey: PromiseOrValue<string>,
625
- overrides?: CallOverrides
626
- ): Promise<string[]>;
627
-
628
592
  linkCallerToRootKey(
629
593
  rootWallet: IWalletLinkBase.LinkedWalletStruct,
630
594
  nonce: PromiseOrValue<BigNumberish>,
@@ -731,9 +695,8 @@ export interface IWalletLink extends BaseContract {
731
695
  overrides?: CallOverrides
732
696
  ): Promise<BigNumber>;
733
697
 
734
- explicitWalletsByRootKey(
698
+ getAllWalletsByRootKey(
735
699
  rootKey: PromiseOrValue<string>,
736
- options: IWalletLinkBase.WalletQueryOptionsStruct,
737
700
  overrides?: CallOverrides
738
701
  ): Promise<BigNumber>;
739
702
 
@@ -762,11 +725,6 @@ export interface IWalletLink extends BaseContract {
762
725
  overrides?: CallOverrides
763
726
  ): Promise<BigNumber>;
764
727
 
765
- getWalletsByRootKeyWithDelegations(
766
- rootKey: PromiseOrValue<string>,
767
- overrides?: CallOverrides
768
- ): Promise<BigNumber>;
769
-
770
728
  linkCallerToRootKey(
771
729
  rootWallet: IWalletLinkBase.LinkedWalletStruct,
772
730
  nonce: PromiseOrValue<BigNumberish>,
@@ -828,9 +786,8 @@ export interface IWalletLink extends BaseContract {
828
786
  overrides?: CallOverrides
829
787
  ): Promise<PopulatedTransaction>;
830
788
 
831
- explicitWalletsByRootKey(
789
+ getAllWalletsByRootKey(
832
790
  rootKey: PromiseOrValue<string>,
833
- options: IWalletLinkBase.WalletQueryOptionsStruct,
834
791
  overrides?: CallOverrides
835
792
  ): Promise<PopulatedTransaction>;
836
793
 
@@ -859,11 +816,6 @@ export interface IWalletLink extends BaseContract {
859
816
  overrides?: CallOverrides
860
817
  ): Promise<PopulatedTransaction>;
861
818
 
862
- getWalletsByRootKeyWithDelegations(
863
- rootKey: PromiseOrValue<string>,
864
- overrides?: CallOverrides
865
- ): Promise<PopulatedTransaction>;
866
-
867
819
  linkCallerToRootKey(
868
820
  rootWallet: IWalletLinkBase.LinkedWalletStruct,
869
821
  nonce: PromiseOrValue<BigNumberish>,
@@ -57,25 +57,13 @@ const _abi = [
57
57
  },
58
58
  {
59
59
  type: "function",
60
- name: "explicitWalletsByRootKey",
60
+ name: "getAllWalletsByRootKey",
61
61
  inputs: [
62
62
  {
63
63
  name: "rootKey",
64
64
  type: "address",
65
65
  internalType: "address",
66
66
  },
67
- {
68
- name: "options",
69
- type: "tuple",
70
- internalType: "struct IWalletLinkBase.WalletQueryOptions",
71
- components: [
72
- {
73
- name: "includeDelegations",
74
- type: "bool",
75
- internalType: "bool",
76
- },
77
- ],
78
- },
79
67
  ],
80
68
  outputs: [
81
69
  {
@@ -193,25 +181,6 @@ const _abi = [
193
181
  ],
194
182
  stateMutability: "view",
195
183
  },
196
- {
197
- type: "function",
198
- name: "getWalletsByRootKeyWithDelegations",
199
- inputs: [
200
- {
201
- name: "rootKey",
202
- type: "address",
203
- internalType: "address",
204
- },
205
- ],
206
- outputs: [
207
- {
208
- name: "wallets",
209
- type: "address[]",
210
- internalType: "address[]",
211
- },
212
- ],
213
- stateMutability: "view",
214
- },
215
184
  {
216
185
  type: "function",
217
186
  name: "linkCallerToRootKey",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-protocol/generated",
3
- "version": "0.0.196",
3
+ "version": "0.0.198",
4
4
  "packageManager": "yarn@3.8.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,5 +10,5 @@
10
10
  "make-config": "node ./scripts/make-config.js",
11
11
  "preinstall": "node ./scripts/make-config.js"
12
12
  },
13
- "gitHead": "2c24cacbe4e9c939814cb483a60dae192bc70863"
13
+ "gitHead": "2b420579c6e8172a4bdfc89c68e5eef296ba7c22"
14
14
  }
@@ -4,4 +4,4 @@ cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")"
4
4
  cd ..
5
5
 
6
6
  rm -rf deployments
7
- rsync -av --exclude='*/addresses/facets' ../../contracts/deployments/ deployments/
7
+ rsync -av --exclude='*/addresses/facets' ../contracts/deployments/ deployments/