@lukso/lsp-smart-contracts 0.15.0 → 0.16.3
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 +98 -3
- 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/abi.cjs +13834 -0
- package/dist/abi.d.cts +19732 -0
- package/dist/abi.d.mts +19732 -0
- package/dist/abi.d.ts +19732 -0
- package/dist/abi.mjs +13799 -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 +20691 -10213
- package/package.json +19 -17
- package/artifacts/LSP0ERC725Account.json +0 -676
- package/artifacts/LSP0ERC725AccountInit.json +0 -696
- package/artifacts/LSP11BasicSocialRecovery.json +0 -509
- package/artifacts/LSP11BasicSocialRecoveryInit.json +0 -529
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +0 -88
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +0 -88
- package/artifacts/LSP23LinkedContractsFactory.json +0 -544
- package/artifacts/LSP4DigitalAssetMetadata.json +0 -221
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +0 -234
- package/artifacts/LSP6KeyManager.json +0 -600
- package/artifacts/LSP6KeyManagerInit.json +0 -620
- package/artifacts/LSP7CappedSupply.json +0 -828
- package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -841
- package/artifacts/LSP7DigitalAsset.json +0 -805
- package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -818
- package/artifacts/LSP7Mintable.json +0 -864
- package/artifacts/LSP7MintableInit.json +0 -884
- package/artifacts/LSP8CappedSupply.json +0 -959
- package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -972
- package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -936
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -949
- package/artifacts/LSP8Mintable.json +0 -1006
- package/artifacts/LSP8MintableInit.json +0 -1026
- package/artifacts/LSP9Vault.json +0 -631
- package/artifacts/LSP9VaultInit.json +0 -651
- package/artifacts/UniversalProfile.json +0 -676
- package/artifacts/UniversalProfileInit.json +0 -696
- 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
- package/types/index.ts +0 -18446
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BytesLike,
|
|
7
|
-
FunctionFragment,
|
|
8
|
-
Result,
|
|
9
|
-
Interface,
|
|
10
|
-
EventFragment,
|
|
11
|
-
AddressLike,
|
|
12
|
-
ContractRunner,
|
|
13
|
-
ContractMethod,
|
|
14
|
-
Listener,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import type {
|
|
17
|
-
TypedContractEvent,
|
|
18
|
-
TypedDeferredTopicFilter,
|
|
19
|
-
TypedEventLog,
|
|
20
|
-
TypedLogDescription,
|
|
21
|
-
TypedListener,
|
|
22
|
-
TypedContractMethod,
|
|
23
|
-
} from "../../../common";
|
|
24
|
-
|
|
25
|
-
export interface LSP4DigitalAssetMetadataInterface extends Interface {
|
|
26
|
-
getFunction(
|
|
27
|
-
nameOrSignature:
|
|
28
|
-
| "getData"
|
|
29
|
-
| "getDataBatch"
|
|
30
|
-
| "owner"
|
|
31
|
-
| "renounceOwnership"
|
|
32
|
-
| "setData"
|
|
33
|
-
| "setDataBatch"
|
|
34
|
-
| "supportsInterface"
|
|
35
|
-
| "transferOwnership"
|
|
36
|
-
): FunctionFragment;
|
|
37
|
-
|
|
38
|
-
getEvent(
|
|
39
|
-
nameOrSignatureOrTopic: "DataChanged" | "OwnershipTransferred"
|
|
40
|
-
): EventFragment;
|
|
41
|
-
|
|
42
|
-
encodeFunctionData(functionFragment: "getData", values: [BytesLike]): string;
|
|
43
|
-
encodeFunctionData(
|
|
44
|
-
functionFragment: "getDataBatch",
|
|
45
|
-
values: [BytesLike[]]
|
|
46
|
-
): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
48
|
-
encodeFunctionData(
|
|
49
|
-
functionFragment: "renounceOwnership",
|
|
50
|
-
values?: undefined
|
|
51
|
-
): string;
|
|
52
|
-
encodeFunctionData(
|
|
53
|
-
functionFragment: "setData",
|
|
54
|
-
values: [BytesLike, BytesLike]
|
|
55
|
-
): string;
|
|
56
|
-
encodeFunctionData(
|
|
57
|
-
functionFragment: "setDataBatch",
|
|
58
|
-
values: [BytesLike[], BytesLike[]]
|
|
59
|
-
): string;
|
|
60
|
-
encodeFunctionData(
|
|
61
|
-
functionFragment: "supportsInterface",
|
|
62
|
-
values: [BytesLike]
|
|
63
|
-
): string;
|
|
64
|
-
encodeFunctionData(
|
|
65
|
-
functionFragment: "transferOwnership",
|
|
66
|
-
values: [AddressLike]
|
|
67
|
-
): string;
|
|
68
|
-
|
|
69
|
-
decodeFunctionResult(functionFragment: "getData", data: BytesLike): Result;
|
|
70
|
-
decodeFunctionResult(
|
|
71
|
-
functionFragment: "getDataBatch",
|
|
72
|
-
data: BytesLike
|
|
73
|
-
): Result;
|
|
74
|
-
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
75
|
-
decodeFunctionResult(
|
|
76
|
-
functionFragment: "renounceOwnership",
|
|
77
|
-
data: BytesLike
|
|
78
|
-
): Result;
|
|
79
|
-
decodeFunctionResult(functionFragment: "setData", data: BytesLike): Result;
|
|
80
|
-
decodeFunctionResult(
|
|
81
|
-
functionFragment: "setDataBatch",
|
|
82
|
-
data: BytesLike
|
|
83
|
-
): Result;
|
|
84
|
-
decodeFunctionResult(
|
|
85
|
-
functionFragment: "supportsInterface",
|
|
86
|
-
data: BytesLike
|
|
87
|
-
): Result;
|
|
88
|
-
decodeFunctionResult(
|
|
89
|
-
functionFragment: "transferOwnership",
|
|
90
|
-
data: BytesLike
|
|
91
|
-
): Result;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export namespace DataChangedEvent {
|
|
95
|
-
export type InputTuple = [dataKey: BytesLike, dataValue: BytesLike];
|
|
96
|
-
export type OutputTuple = [dataKey: string, dataValue: string];
|
|
97
|
-
export interface OutputObject {
|
|
98
|
-
dataKey: string;
|
|
99
|
-
dataValue: string;
|
|
100
|
-
}
|
|
101
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
102
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
103
|
-
export type Log = TypedEventLog<Event>;
|
|
104
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export namespace OwnershipTransferredEvent {
|
|
108
|
-
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
109
|
-
export type OutputTuple = [previousOwner: string, newOwner: string];
|
|
110
|
-
export interface OutputObject {
|
|
111
|
-
previousOwner: string;
|
|
112
|
-
newOwner: string;
|
|
113
|
-
}
|
|
114
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
115
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
116
|
-
export type Log = TypedEventLog<Event>;
|
|
117
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export interface LSP4DigitalAssetMetadata extends BaseContract {
|
|
121
|
-
connect(runner?: ContractRunner | null): LSP4DigitalAssetMetadata;
|
|
122
|
-
waitForDeployment(): Promise<this>;
|
|
123
|
-
|
|
124
|
-
interface: LSP4DigitalAssetMetadataInterface;
|
|
125
|
-
|
|
126
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
127
|
-
event: TCEvent,
|
|
128
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
129
|
-
toBlock?: string | number | undefined
|
|
130
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
131
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
132
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
133
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
134
|
-
toBlock?: string | number | undefined
|
|
135
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
136
|
-
|
|
137
|
-
on<TCEvent extends TypedContractEvent>(
|
|
138
|
-
event: TCEvent,
|
|
139
|
-
listener: TypedListener<TCEvent>
|
|
140
|
-
): Promise<this>;
|
|
141
|
-
on<TCEvent extends TypedContractEvent>(
|
|
142
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
143
|
-
listener: TypedListener<TCEvent>
|
|
144
|
-
): Promise<this>;
|
|
145
|
-
|
|
146
|
-
once<TCEvent extends TypedContractEvent>(
|
|
147
|
-
event: TCEvent,
|
|
148
|
-
listener: TypedListener<TCEvent>
|
|
149
|
-
): Promise<this>;
|
|
150
|
-
once<TCEvent extends TypedContractEvent>(
|
|
151
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
152
|
-
listener: TypedListener<TCEvent>
|
|
153
|
-
): Promise<this>;
|
|
154
|
-
|
|
155
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
156
|
-
event: TCEvent
|
|
157
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
158
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
159
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
160
|
-
event?: TCEvent
|
|
161
|
-
): Promise<this>;
|
|
162
|
-
|
|
163
|
-
getData: TypedContractMethod<[dataKey: BytesLike], [string], "view">;
|
|
164
|
-
|
|
165
|
-
getDataBatch: TypedContractMethod<
|
|
166
|
-
[dataKeys: BytesLike[]],
|
|
167
|
-
[string[]],
|
|
168
|
-
"view"
|
|
169
|
-
>;
|
|
170
|
-
|
|
171
|
-
owner: TypedContractMethod<[], [string], "view">;
|
|
172
|
-
|
|
173
|
-
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
174
|
-
|
|
175
|
-
setData: TypedContractMethod<
|
|
176
|
-
[dataKey: BytesLike, dataValue: BytesLike],
|
|
177
|
-
[void],
|
|
178
|
-
"payable"
|
|
179
|
-
>;
|
|
180
|
-
|
|
181
|
-
setDataBatch: TypedContractMethod<
|
|
182
|
-
[dataKeys: BytesLike[], dataValues: BytesLike[]],
|
|
183
|
-
[void],
|
|
184
|
-
"payable"
|
|
185
|
-
>;
|
|
186
|
-
|
|
187
|
-
supportsInterface: TypedContractMethod<
|
|
188
|
-
[interfaceId: BytesLike],
|
|
189
|
-
[boolean],
|
|
190
|
-
"view"
|
|
191
|
-
>;
|
|
192
|
-
|
|
193
|
-
transferOwnership: TypedContractMethod<
|
|
194
|
-
[newOwner: AddressLike],
|
|
195
|
-
[void],
|
|
196
|
-
"nonpayable"
|
|
197
|
-
>;
|
|
198
|
-
|
|
199
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
200
|
-
key: string | FunctionFragment
|
|
201
|
-
): T;
|
|
202
|
-
|
|
203
|
-
getFunction(
|
|
204
|
-
nameOrSignature: "getData"
|
|
205
|
-
): TypedContractMethod<[dataKey: BytesLike], [string], "view">;
|
|
206
|
-
getFunction(
|
|
207
|
-
nameOrSignature: "getDataBatch"
|
|
208
|
-
): TypedContractMethod<[dataKeys: BytesLike[]], [string[]], "view">;
|
|
209
|
-
getFunction(
|
|
210
|
-
nameOrSignature: "owner"
|
|
211
|
-
): TypedContractMethod<[], [string], "view">;
|
|
212
|
-
getFunction(
|
|
213
|
-
nameOrSignature: "renounceOwnership"
|
|
214
|
-
): TypedContractMethod<[], [void], "nonpayable">;
|
|
215
|
-
getFunction(
|
|
216
|
-
nameOrSignature: "setData"
|
|
217
|
-
): TypedContractMethod<
|
|
218
|
-
[dataKey: BytesLike, dataValue: BytesLike],
|
|
219
|
-
[void],
|
|
220
|
-
"payable"
|
|
221
|
-
>;
|
|
222
|
-
getFunction(
|
|
223
|
-
nameOrSignature: "setDataBatch"
|
|
224
|
-
): TypedContractMethod<
|
|
225
|
-
[dataKeys: BytesLike[], dataValues: BytesLike[]],
|
|
226
|
-
[void],
|
|
227
|
-
"payable"
|
|
228
|
-
>;
|
|
229
|
-
getFunction(
|
|
230
|
-
nameOrSignature: "supportsInterface"
|
|
231
|
-
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
232
|
-
getFunction(
|
|
233
|
-
nameOrSignature: "transferOwnership"
|
|
234
|
-
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
235
|
-
|
|
236
|
-
getEvent(
|
|
237
|
-
key: "DataChanged"
|
|
238
|
-
): TypedContractEvent<
|
|
239
|
-
DataChangedEvent.InputTuple,
|
|
240
|
-
DataChangedEvent.OutputTuple,
|
|
241
|
-
DataChangedEvent.OutputObject
|
|
242
|
-
>;
|
|
243
|
-
getEvent(
|
|
244
|
-
key: "OwnershipTransferred"
|
|
245
|
-
): TypedContractEvent<
|
|
246
|
-
OwnershipTransferredEvent.InputTuple,
|
|
247
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
248
|
-
OwnershipTransferredEvent.OutputObject
|
|
249
|
-
>;
|
|
250
|
-
|
|
251
|
-
filters: {
|
|
252
|
-
"DataChanged(bytes32,bytes)": TypedContractEvent<
|
|
253
|
-
DataChangedEvent.InputTuple,
|
|
254
|
-
DataChangedEvent.OutputTuple,
|
|
255
|
-
DataChangedEvent.OutputObject
|
|
256
|
-
>;
|
|
257
|
-
DataChanged: TypedContractEvent<
|
|
258
|
-
DataChangedEvent.InputTuple,
|
|
259
|
-
DataChangedEvent.OutputTuple,
|
|
260
|
-
DataChangedEvent.OutputObject
|
|
261
|
-
>;
|
|
262
|
-
|
|
263
|
-
"OwnershipTransferred(address,address)": TypedContractEvent<
|
|
264
|
-
OwnershipTransferredEvent.InputTuple,
|
|
265
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
266
|
-
OwnershipTransferredEvent.OutputObject
|
|
267
|
-
>;
|
|
268
|
-
OwnershipTransferred: TypedContractEvent<
|
|
269
|
-
OwnershipTransferredEvent.InputTuple,
|
|
270
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
271
|
-
OwnershipTransferredEvent.OutputObject
|
|
272
|
-
>;
|
|
273
|
-
};
|
|
274
|
-
}
|
|
@@ -1,309 +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 LSP4DigitalAssetMetadataInitAbstractInterface
|
|
27
|
-
extends Interface {
|
|
28
|
-
getFunction(
|
|
29
|
-
nameOrSignature:
|
|
30
|
-
| "getData"
|
|
31
|
-
| "getDataBatch"
|
|
32
|
-
| "owner"
|
|
33
|
-
| "renounceOwnership"
|
|
34
|
-
| "setData"
|
|
35
|
-
| "setDataBatch"
|
|
36
|
-
| "supportsInterface"
|
|
37
|
-
| "transferOwnership"
|
|
38
|
-
): FunctionFragment;
|
|
39
|
-
|
|
40
|
-
getEvent(
|
|
41
|
-
nameOrSignatureOrTopic:
|
|
42
|
-
| "DataChanged"
|
|
43
|
-
| "Initialized"
|
|
44
|
-
| "OwnershipTransferred"
|
|
45
|
-
): EventFragment;
|
|
46
|
-
|
|
47
|
-
encodeFunctionData(functionFragment: "getData", values: [BytesLike]): string;
|
|
48
|
-
encodeFunctionData(
|
|
49
|
-
functionFragment: "getDataBatch",
|
|
50
|
-
values: [BytesLike[]]
|
|
51
|
-
): string;
|
|
52
|
-
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
53
|
-
encodeFunctionData(
|
|
54
|
-
functionFragment: "renounceOwnership",
|
|
55
|
-
values?: undefined
|
|
56
|
-
): string;
|
|
57
|
-
encodeFunctionData(
|
|
58
|
-
functionFragment: "setData",
|
|
59
|
-
values: [BytesLike, BytesLike]
|
|
60
|
-
): string;
|
|
61
|
-
encodeFunctionData(
|
|
62
|
-
functionFragment: "setDataBatch",
|
|
63
|
-
values: [BytesLike[], BytesLike[]]
|
|
64
|
-
): string;
|
|
65
|
-
encodeFunctionData(
|
|
66
|
-
functionFragment: "supportsInterface",
|
|
67
|
-
values: [BytesLike]
|
|
68
|
-
): string;
|
|
69
|
-
encodeFunctionData(
|
|
70
|
-
functionFragment: "transferOwnership",
|
|
71
|
-
values: [AddressLike]
|
|
72
|
-
): string;
|
|
73
|
-
|
|
74
|
-
decodeFunctionResult(functionFragment: "getData", data: BytesLike): Result;
|
|
75
|
-
decodeFunctionResult(
|
|
76
|
-
functionFragment: "getDataBatch",
|
|
77
|
-
data: BytesLike
|
|
78
|
-
): Result;
|
|
79
|
-
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
80
|
-
decodeFunctionResult(
|
|
81
|
-
functionFragment: "renounceOwnership",
|
|
82
|
-
data: BytesLike
|
|
83
|
-
): Result;
|
|
84
|
-
decodeFunctionResult(functionFragment: "setData", data: BytesLike): Result;
|
|
85
|
-
decodeFunctionResult(
|
|
86
|
-
functionFragment: "setDataBatch",
|
|
87
|
-
data: BytesLike
|
|
88
|
-
): Result;
|
|
89
|
-
decodeFunctionResult(
|
|
90
|
-
functionFragment: "supportsInterface",
|
|
91
|
-
data: BytesLike
|
|
92
|
-
): Result;
|
|
93
|
-
decodeFunctionResult(
|
|
94
|
-
functionFragment: "transferOwnership",
|
|
95
|
-
data: BytesLike
|
|
96
|
-
): Result;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export namespace DataChangedEvent {
|
|
100
|
-
export type InputTuple = [dataKey: BytesLike, dataValue: BytesLike];
|
|
101
|
-
export type OutputTuple = [dataKey: string, dataValue: string];
|
|
102
|
-
export interface OutputObject {
|
|
103
|
-
dataKey: string;
|
|
104
|
-
dataValue: string;
|
|
105
|
-
}
|
|
106
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
107
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
108
|
-
export type Log = TypedEventLog<Event>;
|
|
109
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export namespace InitializedEvent {
|
|
113
|
-
export type InputTuple = [version: BigNumberish];
|
|
114
|
-
export type OutputTuple = [version: bigint];
|
|
115
|
-
export interface OutputObject {
|
|
116
|
-
version: bigint;
|
|
117
|
-
}
|
|
118
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
119
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
120
|
-
export type Log = TypedEventLog<Event>;
|
|
121
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export namespace OwnershipTransferredEvent {
|
|
125
|
-
export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
126
|
-
export type OutputTuple = [previousOwner: string, newOwner: string];
|
|
127
|
-
export interface OutputObject {
|
|
128
|
-
previousOwner: string;
|
|
129
|
-
newOwner: string;
|
|
130
|
-
}
|
|
131
|
-
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
132
|
-
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
133
|
-
export type Log = TypedEventLog<Event>;
|
|
134
|
-
export type LogDescription = TypedLogDescription<Event>;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export interface LSP4DigitalAssetMetadataInitAbstract extends BaseContract {
|
|
138
|
-
connect(runner?: ContractRunner | null): LSP4DigitalAssetMetadataInitAbstract;
|
|
139
|
-
waitForDeployment(): Promise<this>;
|
|
140
|
-
|
|
141
|
-
interface: LSP4DigitalAssetMetadataInitAbstractInterface;
|
|
142
|
-
|
|
143
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
144
|
-
event: TCEvent,
|
|
145
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
146
|
-
toBlock?: string | number | undefined
|
|
147
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
148
|
-
queryFilter<TCEvent extends TypedContractEvent>(
|
|
149
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
150
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
151
|
-
toBlock?: string | number | undefined
|
|
152
|
-
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
153
|
-
|
|
154
|
-
on<TCEvent extends TypedContractEvent>(
|
|
155
|
-
event: TCEvent,
|
|
156
|
-
listener: TypedListener<TCEvent>
|
|
157
|
-
): Promise<this>;
|
|
158
|
-
on<TCEvent extends TypedContractEvent>(
|
|
159
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
160
|
-
listener: TypedListener<TCEvent>
|
|
161
|
-
): Promise<this>;
|
|
162
|
-
|
|
163
|
-
once<TCEvent extends TypedContractEvent>(
|
|
164
|
-
event: TCEvent,
|
|
165
|
-
listener: TypedListener<TCEvent>
|
|
166
|
-
): Promise<this>;
|
|
167
|
-
once<TCEvent extends TypedContractEvent>(
|
|
168
|
-
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
169
|
-
listener: TypedListener<TCEvent>
|
|
170
|
-
): Promise<this>;
|
|
171
|
-
|
|
172
|
-
listeners<TCEvent extends TypedContractEvent>(
|
|
173
|
-
event: TCEvent
|
|
174
|
-
): Promise<Array<TypedListener<TCEvent>>>;
|
|
175
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
176
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
177
|
-
event?: TCEvent
|
|
178
|
-
): Promise<this>;
|
|
179
|
-
|
|
180
|
-
getData: TypedContractMethod<[dataKey: BytesLike], [string], "view">;
|
|
181
|
-
|
|
182
|
-
getDataBatch: TypedContractMethod<
|
|
183
|
-
[dataKeys: BytesLike[]],
|
|
184
|
-
[string[]],
|
|
185
|
-
"view"
|
|
186
|
-
>;
|
|
187
|
-
|
|
188
|
-
owner: TypedContractMethod<[], [string], "view">;
|
|
189
|
-
|
|
190
|
-
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
191
|
-
|
|
192
|
-
setData: TypedContractMethod<
|
|
193
|
-
[dataKey: BytesLike, dataValue: BytesLike],
|
|
194
|
-
[void],
|
|
195
|
-
"payable"
|
|
196
|
-
>;
|
|
197
|
-
|
|
198
|
-
setDataBatch: TypedContractMethod<
|
|
199
|
-
[dataKeys: BytesLike[], dataValues: BytesLike[]],
|
|
200
|
-
[void],
|
|
201
|
-
"payable"
|
|
202
|
-
>;
|
|
203
|
-
|
|
204
|
-
supportsInterface: TypedContractMethod<
|
|
205
|
-
[interfaceId: BytesLike],
|
|
206
|
-
[boolean],
|
|
207
|
-
"view"
|
|
208
|
-
>;
|
|
209
|
-
|
|
210
|
-
transferOwnership: TypedContractMethod<
|
|
211
|
-
[newOwner: AddressLike],
|
|
212
|
-
[void],
|
|
213
|
-
"nonpayable"
|
|
214
|
-
>;
|
|
215
|
-
|
|
216
|
-
getFunction<T extends ContractMethod = ContractMethod>(
|
|
217
|
-
key: string | FunctionFragment
|
|
218
|
-
): T;
|
|
219
|
-
|
|
220
|
-
getFunction(
|
|
221
|
-
nameOrSignature: "getData"
|
|
222
|
-
): TypedContractMethod<[dataKey: BytesLike], [string], "view">;
|
|
223
|
-
getFunction(
|
|
224
|
-
nameOrSignature: "getDataBatch"
|
|
225
|
-
): TypedContractMethod<[dataKeys: BytesLike[]], [string[]], "view">;
|
|
226
|
-
getFunction(
|
|
227
|
-
nameOrSignature: "owner"
|
|
228
|
-
): TypedContractMethod<[], [string], "view">;
|
|
229
|
-
getFunction(
|
|
230
|
-
nameOrSignature: "renounceOwnership"
|
|
231
|
-
): TypedContractMethod<[], [void], "nonpayable">;
|
|
232
|
-
getFunction(
|
|
233
|
-
nameOrSignature: "setData"
|
|
234
|
-
): TypedContractMethod<
|
|
235
|
-
[dataKey: BytesLike, dataValue: BytesLike],
|
|
236
|
-
[void],
|
|
237
|
-
"payable"
|
|
238
|
-
>;
|
|
239
|
-
getFunction(
|
|
240
|
-
nameOrSignature: "setDataBatch"
|
|
241
|
-
): TypedContractMethod<
|
|
242
|
-
[dataKeys: BytesLike[], dataValues: BytesLike[]],
|
|
243
|
-
[void],
|
|
244
|
-
"payable"
|
|
245
|
-
>;
|
|
246
|
-
getFunction(
|
|
247
|
-
nameOrSignature: "supportsInterface"
|
|
248
|
-
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
249
|
-
getFunction(
|
|
250
|
-
nameOrSignature: "transferOwnership"
|
|
251
|
-
): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
252
|
-
|
|
253
|
-
getEvent(
|
|
254
|
-
key: "DataChanged"
|
|
255
|
-
): TypedContractEvent<
|
|
256
|
-
DataChangedEvent.InputTuple,
|
|
257
|
-
DataChangedEvent.OutputTuple,
|
|
258
|
-
DataChangedEvent.OutputObject
|
|
259
|
-
>;
|
|
260
|
-
getEvent(
|
|
261
|
-
key: "Initialized"
|
|
262
|
-
): TypedContractEvent<
|
|
263
|
-
InitializedEvent.InputTuple,
|
|
264
|
-
InitializedEvent.OutputTuple,
|
|
265
|
-
InitializedEvent.OutputObject
|
|
266
|
-
>;
|
|
267
|
-
getEvent(
|
|
268
|
-
key: "OwnershipTransferred"
|
|
269
|
-
): TypedContractEvent<
|
|
270
|
-
OwnershipTransferredEvent.InputTuple,
|
|
271
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
272
|
-
OwnershipTransferredEvent.OutputObject
|
|
273
|
-
>;
|
|
274
|
-
|
|
275
|
-
filters: {
|
|
276
|
-
"DataChanged(bytes32,bytes)": TypedContractEvent<
|
|
277
|
-
DataChangedEvent.InputTuple,
|
|
278
|
-
DataChangedEvent.OutputTuple,
|
|
279
|
-
DataChangedEvent.OutputObject
|
|
280
|
-
>;
|
|
281
|
-
DataChanged: TypedContractEvent<
|
|
282
|
-
DataChangedEvent.InputTuple,
|
|
283
|
-
DataChangedEvent.OutputTuple,
|
|
284
|
-
DataChangedEvent.OutputObject
|
|
285
|
-
>;
|
|
286
|
-
|
|
287
|
-
"Initialized(uint8)": TypedContractEvent<
|
|
288
|
-
InitializedEvent.InputTuple,
|
|
289
|
-
InitializedEvent.OutputTuple,
|
|
290
|
-
InitializedEvent.OutputObject
|
|
291
|
-
>;
|
|
292
|
-
Initialized: TypedContractEvent<
|
|
293
|
-
InitializedEvent.InputTuple,
|
|
294
|
-
InitializedEvent.OutputTuple,
|
|
295
|
-
InitializedEvent.OutputObject
|
|
296
|
-
>;
|
|
297
|
-
|
|
298
|
-
"OwnershipTransferred(address,address)": TypedContractEvent<
|
|
299
|
-
OwnershipTransferredEvent.InputTuple,
|
|
300
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
301
|
-
OwnershipTransferredEvent.OutputObject
|
|
302
|
-
>;
|
|
303
|
-
OwnershipTransferred: TypedContractEvent<
|
|
304
|
-
OwnershipTransferredEvent.InputTuple,
|
|
305
|
-
OwnershipTransferredEvent.OutputTuple,
|
|
306
|
-
OwnershipTransferredEvent.OutputObject
|
|
307
|
-
>;
|
|
308
|
-
};
|
|
309
|
-
}
|