@lukso/lsp-smart-contracts 0.15.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/artifacts/LSP0ERC725Account.json +2 -2
- package/artifacts/LSP0ERC725AccountInit.json +2 -2
- package/artifacts/LSP11SocialRecovery.json +1171 -0
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
- package/artifacts/LSP23LinkedContractsFactory.json +2 -2
- package/artifacts/LSP26FollowerSystem.json +248 -0
- package/artifacts/LSP4DigitalAssetMetadata.json +0 -11
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +0 -16
- package/artifacts/LSP6KeyManager.json +2 -2
- package/artifacts/LSP6KeyManagerInit.json +2 -2
- package/artifacts/LSP7CappedSupply.json +0 -11
- package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -16
- package/artifacts/LSP7DigitalAsset.json +0 -11
- package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -16
- package/artifacts/LSP7Mintable.json +2 -13
- package/artifacts/LSP7MintableInit.json +2 -13
- package/artifacts/LSP7Votes.json +1154 -0
- package/artifacts/LSP8Burnable.json +943 -0
- package/artifacts/LSP8BurnableInitAbstract.json +951 -0
- package/artifacts/LSP8CappedSupply.json +0 -11
- package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -16
- package/artifacts/LSP8Enumerable.json +944 -0
- package/artifacts/LSP8EnumerableInitAbstract.json +952 -0
- package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -11
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -16
- package/artifacts/LSP8Mintable.json +2 -13
- package/artifacts/LSP8MintableInit.json +2 -13
- package/artifacts/LSP8Votes.json +1230 -0
- package/artifacts/LSP8VotesInitAbstract.json +1222 -0
- package/artifacts/LSP9Vault.json +2 -2
- package/artifacts/LSP9VaultInit.json +2 -2
- package/artifacts/UniversalProfile.json +2 -2
- package/artifacts/UniversalProfileInit.json +2 -2
- package/contracts/LSP11SocialRecovery/ILSP11SocialRecovery.sol +4 -0
- package/contracts/LSP11SocialRecovery/LSP11Constants.sol +4 -0
- package/contracts/LSP11SocialRecovery/LSP11Errors.sol +4 -0
- package/contracts/LSP11SocialRecovery/LSP11SocialRecovery.sol +4 -0
- package/contracts/LSP26FollowerSystem/ILSP26FollowerSystem.sol +4 -0
- package/contracts/LSP26FollowerSystem/LSP26Constants.sol +4 -0
- package/contracts/LSP26FollowerSystem/LSP26Errors.sol +4 -0
- package/contracts/LSP26FollowerSystem/LSP26FollowerSystem.sol +4 -0
- package/contracts/LSP4DigitalAssetMetadata/LSP4Utils.sol +1 -1
- package/contracts/LSP7DigitalAsset/{LSP7DigitalAssetCore.sol → extensions/LSP7Votes.sol} +1 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7VotesInitAbstract.sol +4 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Votes.sol +4 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8VotesInitAbstract.sol +4 -0
- package/dist/constants.cjs +20689 -10211
- package/dist/constants.d.cts +17476 -6994
- package/dist/constants.d.mts +17476 -6994
- package/dist/constants.d.ts +17476 -6994
- package/dist/constants.mjs +20689 -10211
- package/package.json +11 -9
- package/types/index.ts +11332 -4386
- package/artifacts/LSP11BasicSocialRecovery.json +0 -509
- package/artifacts/LSP11BasicSocialRecoveryInit.json +0 -529
- package/contracts/LSP11BasicSocialRecovery/ILSP11BasicSocialRecovery.sol +0 -179
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.sol +0 -25
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +0 -340
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.sol +0 -30
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInitAbstract.sol +0 -29
- package/contracts/LSP11BasicSocialRecovery/LSP11Constants.sol +0 -6
- package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +0 -63
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +0 -4
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +0 -4
- package/types/@lukso/lsp0-contracts/contracts/LSP0ERC725Account.ts +0 -694
- package/types/@lukso/lsp0-contracts/contracts/LSP0ERC725AccountInit.ts +0 -740
- package/types/@lukso/lsp1delegate-contracts/contracts/LSP1UniversalReceiverDelegateUP.ts +0 -139
- package/types/@lukso/lsp1delegate-contracts/contracts/LSP1UniversalReceiverDelegateVault.ts +0 -139
- package/types/@lukso/lsp23-contracts/contracts/LSP23LinkedContractsFactory.ts +0 -448
- package/types/@lukso/lsp4-contracts/contracts/LSP4DigitalAssetMetadata.ts +0 -274
- package/types/@lukso/lsp4-contracts/contracts/LSP4DigitalAssetMetadataInitAbstract.ts +0 -309
- package/types/@lukso/lsp6-contracts/contracts/LSP6KeyManager.ts +0 -355
- package/types/@lukso/lsp6-contracts/contracts/LSP6KeyManagerInit.ts +0 -398
- package/types/@lukso/lsp7-contracts/contracts/LSP7DigitalAsset.ts +0 -698
- package/types/@lukso/lsp7-contracts/contracts/LSP7DigitalAssetInitAbstract.ts +0 -729
- package/types/@lukso/lsp7-contracts/contracts/extensions/LSP7CappedSupply.ts +0 -712
- package/types/@lukso/lsp7-contracts/contracts/extensions/LSP7CappedSupplyInitAbstract.ts +0 -743
- package/types/@lukso/lsp7-contracts/contracts/presets/LSP7Mintable.ts +0 -717
- package/types/@lukso/lsp7-contracts/contracts/presets/LSP7MintableInit.ts +0 -779
- package/types/@lukso/lsp8-contracts/contracts/LSP8IdentifiableDigitalAsset.ts +0 -778
- package/types/@lukso/lsp8-contracts/contracts/LSP8IdentifiableDigitalAssetInitAbstract.ts +0 -813
- package/types/@lukso/lsp8-contracts/contracts/extensions/LSP8CappedSupply.ts +0 -792
- package/types/@lukso/lsp8-contracts/contracts/extensions/LSP8CappedSupplyInitAbstract.ts +0 -824
- package/types/@lukso/lsp8-contracts/contracts/presets/LSP8Mintable.ts +0 -797
- package/types/@lukso/lsp8-contracts/contracts/presets/LSP8MintableInit.ts +0 -860
- package/types/@lukso/lsp9-contracts/contracts/LSP9Vault.ts +0 -672
- package/types/@lukso/lsp9-contracts/contracts/LSP9VaultInit.ts +0 -714
- package/types/@lukso/universalprofile-contracts/contracts/UniversalProfile.ts +0 -694
- package/types/@lukso/universalprofile-contracts/contracts/UniversalProfileInit.ts +0 -740
- package/types/common.ts +0 -131
- package/types/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.ts +0 -596
- package/types/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.ts +0 -646
|
@@ -1,596 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumberish,
|
|
7
|
-
BytesLike,
|
|
8
|
-
FunctionFragment,
|
|
9
|
-
Result,
|
|
10
|
-
Interface,
|
|
11
|
-
EventFragment,
|
|
12
|
-
AddressLike,
|
|
13
|
-
ContractRunner,
|
|
14
|
-
ContractMethod,
|
|
15
|
-
Listener,
|
|
16
|
-
} from "ethers";
|
|
17
|
-
import type {
|
|
18
|
-
TypedContractEvent,
|
|
19
|
-
TypedDeferredTopicFilter,
|
|
20
|
-
TypedEventLog,
|
|
21
|
-
TypedLogDescription,
|
|
22
|
-
TypedListener,
|
|
23
|
-
TypedContractMethod,
|
|
24
|
-
} from "../../common";
|
|
25
|
-
|
|
26
|
-
export interface LSP11BasicSocialRecoveryInterface extends Interface {
|
|
27
|
-
getFunction(
|
|
28
|
-
nameOrSignature:
|
|
29
|
-
| "addGuardian"
|
|
30
|
-
| "getGuardianChoice"
|
|
31
|
-
| "getGuardians"
|
|
32
|
-
| "getGuardiansThreshold"
|
|
33
|
-
| "getRecoveryCounter"
|
|
34
|
-
| "getRecoverySecretHash"
|
|
35
|
-
| "isGuardian"
|
|
36
|
-
| "owner"
|
|
37
|
-
| "recoverOwnership"
|
|
38
|
-
| "removeGuardian"
|
|
39
|
-
| "renounceOwnership"
|
|
40
|
-
| "selectNewController"
|
|
41
|
-
| "setGuardiansThreshold"
|
|
42
|
-
| "setRecoverySecretHash"
|
|
43
|
-
| "supportsInterface"
|
|
44
|
-
| "target"
|
|
45
|
-
| "transferOwnership"
|
|
46
|
-
): FunctionFragment;
|
|
47
|
-
|
|
48
|
-
getEvent(
|
|
49
|
-
nameOrSignatureOrTopic:
|
|
50
|
-
| "GuardianAdded"
|
|
51
|
-
| "GuardianRemoved"
|
|
52
|
-
| "GuardiansThresholdChanged"
|
|
53
|
-
| "OwnershipTransferred"
|
|
54
|
-
| "RecoveryProcessSuccessful"
|
|
55
|
-
| "SecretHashChanged"
|
|
56
|
-
| "SelectedNewController"
|
|
57
|
-
): EventFragment;
|
|
58
|
-
|
|
59
|
-
encodeFunctionData(
|
|
60
|
-
functionFragment: "addGuardian",
|
|
61
|
-
values: [AddressLike]
|
|
62
|
-
): string;
|
|
63
|
-
encodeFunctionData(
|
|
64
|
-
functionFragment: "getGuardianChoice",
|
|
65
|
-
values: [AddressLike]
|
|
66
|
-
): string;
|
|
67
|
-
encodeFunctionData(
|
|
68
|
-
functionFragment: "getGuardians",
|
|
69
|
-
values?: undefined
|
|
70
|
-
): string;
|
|
71
|
-
encodeFunctionData(
|
|
72
|
-
functionFragment: "getGuardiansThreshold",
|
|
73
|
-
values?: undefined
|
|
74
|
-
): string;
|
|
75
|
-
encodeFunctionData(
|
|
76
|
-
functionFragment: "getRecoveryCounter",
|
|
77
|
-
values?: undefined
|
|
78
|
-
): string;
|
|
79
|
-
encodeFunctionData(
|
|
80
|
-
functionFragment: "getRecoverySecretHash",
|
|
81
|
-
values?: undefined
|
|
82
|
-
): string;
|
|
83
|
-
encodeFunctionData(
|
|
84
|
-
functionFragment: "isGuardian",
|
|
85
|
-
values: [AddressLike]
|
|
86
|
-
): string;
|
|
87
|
-
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
88
|
-
encodeFunctionData(
|
|
89
|
-
functionFragment: "recoverOwnership",
|
|
90
|
-
values: [AddressLike, string, BytesLike]
|
|
91
|
-
): string;
|
|
92
|
-
encodeFunctionData(
|
|
93
|
-
functionFragment: "removeGuardian",
|
|
94
|
-
values: [AddressLike]
|
|
95
|
-
): string;
|
|
96
|
-
encodeFunctionData(
|
|
97
|
-
functionFragment: "renounceOwnership",
|
|
98
|
-
values?: undefined
|
|
99
|
-
): string;
|
|
100
|
-
encodeFunctionData(
|
|
101
|
-
functionFragment: "selectNewController",
|
|
102
|
-
values: [AddressLike]
|
|
103
|
-
): string;
|
|
104
|
-
encodeFunctionData(
|
|
105
|
-
functionFragment: "setGuardiansThreshold",
|
|
106
|
-
values: [BigNumberish]
|
|
107
|
-
): string;
|
|
108
|
-
encodeFunctionData(
|
|
109
|
-
functionFragment: "setRecoverySecretHash",
|
|
110
|
-
values: [BytesLike]
|
|
111
|
-
): string;
|
|
112
|
-
encodeFunctionData(
|
|
113
|
-
functionFragment: "supportsInterface",
|
|
114
|
-
values: [BytesLike]
|
|
115
|
-
): string;
|
|
116
|
-
encodeFunctionData(functionFragment: "target", values?: undefined): string;
|
|
117
|
-
encodeFunctionData(
|
|
118
|
-
functionFragment: "transferOwnership",
|
|
119
|
-
values: [AddressLike]
|
|
120
|
-
): string;
|
|
121
|
-
|
|
122
|
-
decodeFunctionResult(
|
|
123
|
-
functionFragment: "addGuardian",
|
|
124
|
-
data: BytesLike
|
|
125
|
-
): Result;
|
|
126
|
-
decodeFunctionResult(
|
|
127
|
-
functionFragment: "getGuardianChoice",
|
|
128
|
-
data: BytesLike
|
|
129
|
-
): Result;
|
|
130
|
-
decodeFunctionResult(
|
|
131
|
-
functionFragment: "getGuardians",
|
|
132
|
-
data: BytesLike
|
|
133
|
-
): Result;
|
|
134
|
-
decodeFunctionResult(
|
|
135
|
-
functionFragment: "getGuardiansThreshold",
|
|
136
|
-
data: BytesLike
|
|
137
|
-
): Result;
|
|
138
|
-
decodeFunctionResult(
|
|
139
|
-
functionFragment: "getRecoveryCounter",
|
|
140
|
-
data: BytesLike
|
|
141
|
-
): Result;
|
|
142
|
-
decodeFunctionResult(
|
|
143
|
-
functionFragment: "getRecoverySecretHash",
|
|
144
|
-
data: BytesLike
|
|
145
|
-
): Result;
|
|
146
|
-
decodeFunctionResult(functionFragment: "isGuardian", data: BytesLike): Result;
|
|
147
|
-
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
148
|
-
decodeFunctionResult(
|
|
149
|
-
functionFragment: "recoverOwnership",
|
|
150
|
-
data: BytesLike
|
|
151
|
-
): Result;
|
|
152
|
-
decodeFunctionResult(
|
|
153
|
-
functionFragment: "removeGuardian",
|
|
154
|
-
data: BytesLike
|
|
155
|
-
): Result;
|
|
156
|
-
decodeFunctionResult(
|
|
157
|
-
functionFragment: "renounceOwnership",
|
|
158
|
-
data: BytesLike
|
|
159
|
-
): Result;
|
|
160
|
-
decodeFunctionResult(
|
|
161
|
-
functionFragment: "selectNewController",
|
|
162
|
-
data: BytesLike
|
|
163
|
-
): Result;
|
|
164
|
-
decodeFunctionResult(
|
|
165
|
-
functionFragment: "setGuardiansThreshold",
|
|
166
|
-
data: BytesLike
|
|
167
|
-
): Result;
|
|
168
|
-
decodeFunctionResult(
|
|
169
|
-
functionFragment: "setRecoverySecretHash",
|
|
170
|
-
data: BytesLike
|
|
171
|
-
): Result;
|
|
172
|
-
decodeFunctionResult(
|
|
173
|
-
functionFragment: "supportsInterface",
|
|
174
|
-
data: BytesLike
|
|
175
|
-
): Result;
|
|
176
|
-
decodeFunctionResult(functionFragment: "target", data: BytesLike): Result;
|
|
177
|
-
decodeFunctionResult(
|
|
178
|
-
functionFragment: "transferOwnership",
|
|
179
|
-
data: BytesLike
|
|
180
|
-
): Result;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export namespace GuardianAddedEvent {
|
|
184
|
-
export type InputTuple = [newGuardian: AddressLike];
|
|
185
|
-
export type OutputTuple = [newGuardian: string];
|
|
186
|
-
export interface OutputObject {
|
|
187
|
-
newGuardian: string;
|
|
188
|
-
}
|
|
189
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
190
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
191
|
-
export type Log = TypedEventLog<Event>;
|
|
192
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export namespace GuardianRemovedEvent {
|
|
196
|
-
export type InputTuple = [removedGuardian: AddressLike];
|
|
197
|
-
export type OutputTuple = [removedGuardian: string];
|
|
198
|
-
export interface OutputObject {
|
|
199
|
-
removedGuardian: string;
|
|
200
|
-
}
|
|
201
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
202
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
203
|
-
export type Log = TypedEventLog<Event>;
|
|
204
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export namespace GuardiansThresholdChangedEvent {
|
|
208
|
-
export type InputTuple = [guardianThreshold: BigNumberish];
|
|
209
|
-
export type OutputTuple = [guardianThreshold: bigint];
|
|
210
|
-
export interface OutputObject {
|
|
211
|
-
guardianThreshold: bigint;
|
|
212
|
-
}
|
|
213
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
214
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
215
|
-
export type Log = TypedEventLog<Event>;
|
|
216
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export namespace OwnershipTransferredEvent {
|
|
220
|
-
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
221
|
-
export type OutputTuple = [previousOwner: string, newOwner: string];
|
|
222
|
-
export interface OutputObject {
|
|
223
|
-
previousOwner: string;
|
|
224
|
-
newOwner: string;
|
|
225
|
-
}
|
|
226
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
227
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
228
|
-
export type Log = TypedEventLog<Event>;
|
|
229
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
export namespace RecoveryProcessSuccessfulEvent {
|
|
233
|
-
export type InputTuple = [
|
|
234
|
-
recoveryCounter: BigNumberish,
|
|
235
|
-
newController: AddressLike,
|
|
236
|
-
newSecretHash: BytesLike,
|
|
237
|
-
guardians: AddressLike[]
|
|
238
|
-
];
|
|
239
|
-
export type OutputTuple = [
|
|
240
|
-
recoveryCounter: bigint,
|
|
241
|
-
newController: string,
|
|
242
|
-
newSecretHash: string,
|
|
243
|
-
guardians: string[]
|
|
244
|
-
];
|
|
245
|
-
export interface OutputObject {
|
|
246
|
-
recoveryCounter: bigint;
|
|
247
|
-
newController: string;
|
|
248
|
-
newSecretHash: string;
|
|
249
|
-
guardians: string[];
|
|
250
|
-
}
|
|
251
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
252
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
253
|
-
export type Log = TypedEventLog<Event>;
|
|
254
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
export namespace SecretHashChangedEvent {
|
|
258
|
-
export type InputTuple = [secretHash: BytesLike];
|
|
259
|
-
export type OutputTuple = [secretHash: string];
|
|
260
|
-
export interface OutputObject {
|
|
261
|
-
secretHash: string;
|
|
262
|
-
}
|
|
263
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
264
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
265
|
-
export type Log = TypedEventLog<Event>;
|
|
266
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
export namespace SelectedNewControllerEvent {
|
|
270
|
-
export type InputTuple = [
|
|
271
|
-
recoveryCounter: BigNumberish,
|
|
272
|
-
guardian: AddressLike,
|
|
273
|
-
addressSelected: AddressLike
|
|
274
|
-
];
|
|
275
|
-
export type OutputTuple = [
|
|
276
|
-
recoveryCounter: bigint,
|
|
277
|
-
guardian: string,
|
|
278
|
-
addressSelected: string
|
|
279
|
-
];
|
|
280
|
-
export interface OutputObject {
|
|
281
|
-
recoveryCounter: bigint;
|
|
282
|
-
guardian: string;
|
|
283
|
-
addressSelected: string;
|
|
284
|
-
}
|
|
285
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
286
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
287
|
-
export type Log = TypedEventLog<Event>;
|
|
288
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export interface LSP11BasicSocialRecovery extends BaseContract {
|
|
292
|
-
connect(runner?: ContractRunner | null): LSP11BasicSocialRecovery;
|
|
293
|
-
waitForDeployment(): Promise<this>;
|
|
294
|
-
|
|
295
|
-
interface: LSP11BasicSocialRecoveryInterface;
|
|
296
|
-
|
|
297
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
298
|
-
event: TCEvent,
|
|
299
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
300
|
-
toBlock?: string | number | undefined
|
|
301
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
302
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
303
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
304
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
305
|
-
toBlock?: string | number | undefined
|
|
306
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
307
|
-
|
|
308
|
-
on<TCEvent extends TypedContractEvent>(
|
|
309
|
-
event: TCEvent,
|
|
310
|
-
listener: TypedListener<TCEvent>
|
|
311
|
-
): Promise<this>;
|
|
312
|
-
on<TCEvent extends TypedContractEvent>(
|
|
313
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
314
|
-
listener: TypedListener<TCEvent>
|
|
315
|
-
): Promise<this>;
|
|
316
|
-
|
|
317
|
-
once<TCEvent extends TypedContractEvent>(
|
|
318
|
-
event: TCEvent,
|
|
319
|
-
listener: TypedListener<TCEvent>
|
|
320
|
-
): Promise<this>;
|
|
321
|
-
once<TCEvent extends TypedContractEvent>(
|
|
322
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
323
|
-
listener: TypedListener<TCEvent>
|
|
324
|
-
): Promise<this>;
|
|
325
|
-
|
|
326
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
327
|
-
event: TCEvent
|
|
328
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
329
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
330
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
331
|
-
event?: TCEvent
|
|
332
|
-
): Promise<this>;
|
|
333
|
-
|
|
334
|
-
addGuardian: TypedContractMethod<
|
|
335
|
-
[newGuardian: AddressLike],
|
|
336
|
-
[void],
|
|
337
|
-
"nonpayable"
|
|
338
|
-
>;
|
|
339
|
-
|
|
340
|
-
getGuardianChoice: TypedContractMethod<
|
|
341
|
-
[guardian: AddressLike],
|
|
342
|
-
[string],
|
|
343
|
-
"view"
|
|
344
|
-
>;
|
|
345
|
-
|
|
346
|
-
getGuardians: TypedContractMethod<[], [string[]], "view">;
|
|
347
|
-
|
|
348
|
-
getGuardiansThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
349
|
-
|
|
350
|
-
getRecoveryCounter: TypedContractMethod<[], [bigint], "view">;
|
|
351
|
-
|
|
352
|
-
getRecoverySecretHash: TypedContractMethod<[], [string], "view">;
|
|
353
|
-
|
|
354
|
-
isGuardian: TypedContractMethod<[_address: AddressLike], [boolean], "view">;
|
|
355
|
-
|
|
356
|
-
owner: TypedContractMethod<[], [string], "view">;
|
|
357
|
-
|
|
358
|
-
recoverOwnership: TypedContractMethod<
|
|
359
|
-
[recoverer: AddressLike, plainSecret: string, newSecretHash: BytesLike],
|
|
360
|
-
[void],
|
|
361
|
-
"nonpayable"
|
|
362
|
-
>;
|
|
363
|
-
|
|
364
|
-
removeGuardian: TypedContractMethod<
|
|
365
|
-
[existingGuardian: AddressLike],
|
|
366
|
-
[void],
|
|
367
|
-
"nonpayable"
|
|
368
|
-
>;
|
|
369
|
-
|
|
370
|
-
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
371
|
-
|
|
372
|
-
selectNewController: TypedContractMethod<
|
|
373
|
-
[addressSelected: AddressLike],
|
|
374
|
-
[void],
|
|
375
|
-
"nonpayable"
|
|
376
|
-
>;
|
|
377
|
-
|
|
378
|
-
setGuardiansThreshold: TypedContractMethod<
|
|
379
|
-
[newThreshold: BigNumberish],
|
|
380
|
-
[void],
|
|
381
|
-
"nonpayable"
|
|
382
|
-
>;
|
|
383
|
-
|
|
384
|
-
setRecoverySecretHash: TypedContractMethod<
|
|
385
|
-
[newRecoverSecretHash: BytesLike],
|
|
386
|
-
[void],
|
|
387
|
-
"nonpayable"
|
|
388
|
-
>;
|
|
389
|
-
|
|
390
|
-
supportsInterface: TypedContractMethod<
|
|
391
|
-
[_interfaceId: BytesLike],
|
|
392
|
-
[boolean],
|
|
393
|
-
"view"
|
|
394
|
-
>;
|
|
395
|
-
|
|
396
|
-
target: TypedContractMethod<[], [string], "view">;
|
|
397
|
-
|
|
398
|
-
transferOwnership: TypedContractMethod<
|
|
399
|
-
[newOwner: AddressLike],
|
|
400
|
-
[void],
|
|
401
|
-
"nonpayable"
|
|
402
|
-
>;
|
|
403
|
-
|
|
404
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
405
|
-
key: string | FunctionFragment
|
|
406
|
-
): T;
|
|
407
|
-
|
|
408
|
-
getFunction(
|
|
409
|
-
nameOrSignature: "addGuardian"
|
|
410
|
-
): TypedContractMethod<[newGuardian: AddressLike], [void], "nonpayable">;
|
|
411
|
-
getFunction(
|
|
412
|
-
nameOrSignature: "getGuardianChoice"
|
|
413
|
-
): TypedContractMethod<[guardian: AddressLike], [string], "view">;
|
|
414
|
-
getFunction(
|
|
415
|
-
nameOrSignature: "getGuardians"
|
|
416
|
-
): TypedContractMethod<[], [string[]], "view">;
|
|
417
|
-
getFunction(
|
|
418
|
-
nameOrSignature: "getGuardiansThreshold"
|
|
419
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
420
|
-
getFunction(
|
|
421
|
-
nameOrSignature: "getRecoveryCounter"
|
|
422
|
-
): TypedContractMethod<[], [bigint], "view">;
|
|
423
|
-
getFunction(
|
|
424
|
-
nameOrSignature: "getRecoverySecretHash"
|
|
425
|
-
): TypedContractMethod<[], [string], "view">;
|
|
426
|
-
getFunction(
|
|
427
|
-
nameOrSignature: "isGuardian"
|
|
428
|
-
): TypedContractMethod<[_address: AddressLike], [boolean], "view">;
|
|
429
|
-
getFunction(
|
|
430
|
-
nameOrSignature: "owner"
|
|
431
|
-
): TypedContractMethod<[], [string], "view">;
|
|
432
|
-
getFunction(
|
|
433
|
-
nameOrSignature: "recoverOwnership"
|
|
434
|
-
): TypedContractMethod<
|
|
435
|
-
[recoverer: AddressLike, plainSecret: string, newSecretHash: BytesLike],
|
|
436
|
-
[void],
|
|
437
|
-
"nonpayable"
|
|
438
|
-
>;
|
|
439
|
-
getFunction(
|
|
440
|
-
nameOrSignature: "removeGuardian"
|
|
441
|
-
): TypedContractMethod<[existingGuardian: AddressLike], [void], "nonpayable">;
|
|
442
|
-
getFunction(
|
|
443
|
-
nameOrSignature: "renounceOwnership"
|
|
444
|
-
): TypedContractMethod<[], [void], "nonpayable">;
|
|
445
|
-
getFunction(
|
|
446
|
-
nameOrSignature: "selectNewController"
|
|
447
|
-
): TypedContractMethod<[addressSelected: AddressLike], [void], "nonpayable">;
|
|
448
|
-
getFunction(
|
|
449
|
-
nameOrSignature: "setGuardiansThreshold"
|
|
450
|
-
): TypedContractMethod<[newThreshold: BigNumberish], [void], "nonpayable">;
|
|
451
|
-
getFunction(
|
|
452
|
-
nameOrSignature: "setRecoverySecretHash"
|
|
453
|
-
): TypedContractMethod<
|
|
454
|
-
[newRecoverSecretHash: BytesLike],
|
|
455
|
-
[void],
|
|
456
|
-
"nonpayable"
|
|
457
|
-
>;
|
|
458
|
-
getFunction(
|
|
459
|
-
nameOrSignature: "supportsInterface"
|
|
460
|
-
): TypedContractMethod<[_interfaceId: BytesLike], [boolean], "view">;
|
|
461
|
-
getFunction(
|
|
462
|
-
nameOrSignature: "target"
|
|
463
|
-
): TypedContractMethod<[], [string], "view">;
|
|
464
|
-
getFunction(
|
|
465
|
-
nameOrSignature: "transferOwnership"
|
|
466
|
-
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
467
|
-
|
|
468
|
-
getEvent(
|
|
469
|
-
key: "GuardianAdded"
|
|
470
|
-
): TypedContractEvent<
|
|
471
|
-
GuardianAddedEvent.InputTuple,
|
|
472
|
-
GuardianAddedEvent.OutputTuple,
|
|
473
|
-
GuardianAddedEvent.OutputObject
|
|
474
|
-
>;
|
|
475
|
-
getEvent(
|
|
476
|
-
key: "GuardianRemoved"
|
|
477
|
-
): TypedContractEvent<
|
|
478
|
-
GuardianRemovedEvent.InputTuple,
|
|
479
|
-
GuardianRemovedEvent.OutputTuple,
|
|
480
|
-
GuardianRemovedEvent.OutputObject
|
|
481
|
-
>;
|
|
482
|
-
getEvent(
|
|
483
|
-
key: "GuardiansThresholdChanged"
|
|
484
|
-
): TypedContractEvent<
|
|
485
|
-
GuardiansThresholdChangedEvent.InputTuple,
|
|
486
|
-
GuardiansThresholdChangedEvent.OutputTuple,
|
|
487
|
-
GuardiansThresholdChangedEvent.OutputObject
|
|
488
|
-
>;
|
|
489
|
-
getEvent(
|
|
490
|
-
key: "OwnershipTransferred"
|
|
491
|
-
): TypedContractEvent<
|
|
492
|
-
OwnershipTransferredEvent.InputTuple,
|
|
493
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
494
|
-
OwnershipTransferredEvent.OutputObject
|
|
495
|
-
>;
|
|
496
|
-
getEvent(
|
|
497
|
-
key: "RecoveryProcessSuccessful"
|
|
498
|
-
): TypedContractEvent<
|
|
499
|
-
RecoveryProcessSuccessfulEvent.InputTuple,
|
|
500
|
-
RecoveryProcessSuccessfulEvent.OutputTuple,
|
|
501
|
-
RecoveryProcessSuccessfulEvent.OutputObject
|
|
502
|
-
>;
|
|
503
|
-
getEvent(
|
|
504
|
-
key: "SecretHashChanged"
|
|
505
|
-
): TypedContractEvent<
|
|
506
|
-
SecretHashChangedEvent.InputTuple,
|
|
507
|
-
SecretHashChangedEvent.OutputTuple,
|
|
508
|
-
SecretHashChangedEvent.OutputObject
|
|
509
|
-
>;
|
|
510
|
-
getEvent(
|
|
511
|
-
key: "SelectedNewController"
|
|
512
|
-
): TypedContractEvent<
|
|
513
|
-
SelectedNewControllerEvent.InputTuple,
|
|
514
|
-
SelectedNewControllerEvent.OutputTuple,
|
|
515
|
-
SelectedNewControllerEvent.OutputObject
|
|
516
|
-
>;
|
|
517
|
-
|
|
518
|
-
filters: {
|
|
519
|
-
"GuardianAdded(address)": TypedContractEvent<
|
|
520
|
-
GuardianAddedEvent.InputTuple,
|
|
521
|
-
GuardianAddedEvent.OutputTuple,
|
|
522
|
-
GuardianAddedEvent.OutputObject
|
|
523
|
-
>;
|
|
524
|
-
GuardianAdded: TypedContractEvent<
|
|
525
|
-
GuardianAddedEvent.InputTuple,
|
|
526
|
-
GuardianAddedEvent.OutputTuple,
|
|
527
|
-
GuardianAddedEvent.OutputObject
|
|
528
|
-
>;
|
|
529
|
-
|
|
530
|
-
"GuardianRemoved(address)": TypedContractEvent<
|
|
531
|
-
GuardianRemovedEvent.InputTuple,
|
|
532
|
-
GuardianRemovedEvent.OutputTuple,
|
|
533
|
-
GuardianRemovedEvent.OutputObject
|
|
534
|
-
>;
|
|
535
|
-
GuardianRemoved: TypedContractEvent<
|
|
536
|
-
GuardianRemovedEvent.InputTuple,
|
|
537
|
-
GuardianRemovedEvent.OutputTuple,
|
|
538
|
-
GuardianRemovedEvent.OutputObject
|
|
539
|
-
>;
|
|
540
|
-
|
|
541
|
-
"GuardiansThresholdChanged(uint256)": TypedContractEvent<
|
|
542
|
-
GuardiansThresholdChangedEvent.InputTuple,
|
|
543
|
-
GuardiansThresholdChangedEvent.OutputTuple,
|
|
544
|
-
GuardiansThresholdChangedEvent.OutputObject
|
|
545
|
-
>;
|
|
546
|
-
GuardiansThresholdChanged: TypedContractEvent<
|
|
547
|
-
GuardiansThresholdChangedEvent.InputTuple,
|
|
548
|
-
GuardiansThresholdChangedEvent.OutputTuple,
|
|
549
|
-
GuardiansThresholdChangedEvent.OutputObject
|
|
550
|
-
>;
|
|
551
|
-
|
|
552
|
-
"OwnershipTransferred(address,address)": TypedContractEvent<
|
|
553
|
-
OwnershipTransferredEvent.InputTuple,
|
|
554
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
555
|
-
OwnershipTransferredEvent.OutputObject
|
|
556
|
-
>;
|
|
557
|
-
OwnershipTransferred: TypedContractEvent<
|
|
558
|
-
OwnershipTransferredEvent.InputTuple,
|
|
559
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
560
|
-
OwnershipTransferredEvent.OutputObject
|
|
561
|
-
>;
|
|
562
|
-
|
|
563
|
-
"RecoveryProcessSuccessful(uint256,address,bytes32,address[])": TypedContractEvent<
|
|
564
|
-
RecoveryProcessSuccessfulEvent.InputTuple,
|
|
565
|
-
RecoveryProcessSuccessfulEvent.OutputTuple,
|
|
566
|
-
RecoveryProcessSuccessfulEvent.OutputObject
|
|
567
|
-
>;
|
|
568
|
-
RecoveryProcessSuccessful: TypedContractEvent<
|
|
569
|
-
RecoveryProcessSuccessfulEvent.InputTuple,
|
|
570
|
-
RecoveryProcessSuccessfulEvent.OutputTuple,
|
|
571
|
-
RecoveryProcessSuccessfulEvent.OutputObject
|
|
572
|
-
>;
|
|
573
|
-
|
|
574
|
-
"SecretHashChanged(bytes32)": TypedContractEvent<
|
|
575
|
-
SecretHashChangedEvent.InputTuple,
|
|
576
|
-
SecretHashChangedEvent.OutputTuple,
|
|
577
|
-
SecretHashChangedEvent.OutputObject
|
|
578
|
-
>;
|
|
579
|
-
SecretHashChanged: TypedContractEvent<
|
|
580
|
-
SecretHashChangedEvent.InputTuple,
|
|
581
|
-
SecretHashChangedEvent.OutputTuple,
|
|
582
|
-
SecretHashChangedEvent.OutputObject
|
|
583
|
-
>;
|
|
584
|
-
|
|
585
|
-
"SelectedNewController(uint256,address,address)": TypedContractEvent<
|
|
586
|
-
SelectedNewControllerEvent.InputTuple,
|
|
587
|
-
SelectedNewControllerEvent.OutputTuple,
|
|
588
|
-
SelectedNewControllerEvent.OutputObject
|
|
589
|
-
>;
|
|
590
|
-
SelectedNewController: TypedContractEvent<
|
|
591
|
-
SelectedNewControllerEvent.InputTuple,
|
|
592
|
-
SelectedNewControllerEvent.OutputTuple,
|
|
593
|
-
SelectedNewControllerEvent.OutputObject
|
|
594
|
-
>;
|
|
595
|
-
};
|
|
596
|
-
}
|