@web3dotorg/evm-slc-core-sdk 0.3.16 → 0.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/abi/QCoreTreasury.json +654 -0
  2. package/lib.commonjs/contracts/core/QCoreTreasurty.sol/QCoreTreasury.d.ts +369 -0
  3. package/lib.commonjs/contracts/core/QCoreTreasurty.sol/QCoreTreasury.js +2 -0
  4. package/lib.commonjs/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
  5. package/lib.commonjs/contracts/core/QCoreTreasurty.sol/index.js +2 -0
  6. package/lib.commonjs/contracts/core/index.d.ts +2 -0
  7. package/lib.commonjs/contracts/core/index.js +2 -0
  8. package/lib.commonjs/contracts/index.d.ts +2 -0
  9. package/lib.commonjs/contracts/mocks/MockERC721.d.ts +226 -0
  10. package/lib.commonjs/contracts/mocks/MockERC721.js +2 -0
  11. package/lib.commonjs/contracts/mocks/Noop.d.ts +26 -0
  12. package/lib.commonjs/contracts/mocks/Noop.js +2 -0
  13. package/lib.commonjs/contracts/mocks/index.d.ts +2 -0
  14. package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.d.ts +528 -0
  15. package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.js +694 -0
  16. package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
  17. package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/index.js +8 -0
  18. package/lib.commonjs/factories/contracts/core/index.d.ts +1 -0
  19. package/lib.commonjs/factories/contracts/core/index.js +30 -0
  20. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +1 -1
  21. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +1 -1
  22. package/lib.commonjs/factories/contracts/index.d.ts +1 -0
  23. package/lib.commonjs/factories/contracts/index.js +2 -1
  24. package/lib.commonjs/factories/contracts/mocks/MockERC721__factory.d.ts +372 -0
  25. package/lib.commonjs/factories/contracts/mocks/MockERC721__factory.js +498 -0
  26. package/lib.commonjs/factories/contracts/mocks/Noop__factory.d.ts +30 -0
  27. package/lib.commonjs/factories/contracts/mocks/Noop__factory.js +49 -0
  28. package/lib.commonjs/factories/contracts/mocks/index.d.ts +2 -0
  29. package/lib.commonjs/factories/contracts/mocks/index.js +5 -1
  30. package/lib.esm/contracts/core/QCoreTreasurty.sol/QCoreTreasury.d.ts +369 -0
  31. package/lib.esm/contracts/core/QCoreTreasurty.sol/QCoreTreasury.js +1 -0
  32. package/lib.esm/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
  33. package/lib.esm/contracts/core/QCoreTreasurty.sol/index.js +1 -0
  34. package/lib.esm/contracts/core/index.d.ts +2 -0
  35. package/lib.esm/contracts/core/index.js +1 -0
  36. package/lib.esm/contracts/index.d.ts +2 -0
  37. package/lib.esm/contracts/mocks/MockERC721.d.ts +226 -0
  38. package/lib.esm/contracts/mocks/MockERC721.js +1 -0
  39. package/lib.esm/contracts/mocks/Noop.d.ts +26 -0
  40. package/lib.esm/contracts/mocks/Noop.js +1 -0
  41. package/lib.esm/contracts/mocks/index.d.ts +2 -0
  42. package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.d.ts +528 -0
  43. package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.js +690 -0
  44. package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
  45. package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/index.js +4 -0
  46. package/lib.esm/factories/contracts/core/index.d.ts +1 -0
  47. package/lib.esm/factories/contracts/core/index.js +4 -0
  48. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +1 -1
  49. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +1 -1
  50. package/lib.esm/factories/contracts/index.d.ts +1 -0
  51. package/lib.esm/factories/contracts/index.js +1 -0
  52. package/lib.esm/factories/contracts/mocks/MockERC721__factory.d.ts +372 -0
  53. package/lib.esm/factories/contracts/mocks/MockERC721__factory.js +494 -0
  54. package/lib.esm/factories/contracts/mocks/Noop__factory.d.ts +30 -0
  55. package/lib.esm/factories/contracts/mocks/Noop__factory.js +45 -0
  56. package/lib.esm/factories/contracts/mocks/index.d.ts +2 -0
  57. package/lib.esm/factories/contracts/mocks/index.js +2 -0
  58. package/package.json +1 -1
@@ -0,0 +1,369 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
3
+ export interface QCoreTreasuryInterface extends Interface {
4
+ getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION" | "__QCoreTreasury_init" | "addOwners" | "arbitraryExecute" | "depositERC20" | "depositNFT" | "depositNative" | "getERC20Balance" | "getNFTBalance" | "getNativeBalance" | "getOwners" | "isOwner" | "proxiableUUID" | "removeOwners" | "renounceOwnership" | "sendERC20" | "sendNFT" | "sendNative" | "supportsInterface" | "upgradeToAndCall"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "ArbitraryExecute" | "Initialized" | "NFTDeposited" | "NFTSent" | "OwnersAdded" | "OwnersRemoved" | "TokensDeposited" | "TokensSent" | "Upgraded"): EventFragment;
6
+ encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "__QCoreTreasury_init", values: [AddressLike[]]): string;
8
+ encodeFunctionData(functionFragment: "addOwners", values: [AddressLike[]]): string;
9
+ encodeFunctionData(functionFragment: "arbitraryExecute", values: [BigNumberish, AddressLike, BytesLike, BigNumberish]): string;
10
+ encodeFunctionData(functionFragment: "depositERC20", values: [AddressLike, BigNumberish]): string;
11
+ encodeFunctionData(functionFragment: "depositNFT", values: [AddressLike, BigNumberish]): string;
12
+ encodeFunctionData(functionFragment: "depositNative", values?: undefined): string;
13
+ encodeFunctionData(functionFragment: "getERC20Balance", values: [AddressLike]): string;
14
+ encodeFunctionData(functionFragment: "getNFTBalance", values: [AddressLike]): string;
15
+ encodeFunctionData(functionFragment: "getNativeBalance", values?: undefined): string;
16
+ encodeFunctionData(functionFragment: "getOwners", values?: undefined): string;
17
+ encodeFunctionData(functionFragment: "isOwner", values: [AddressLike]): string;
18
+ encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
19
+ encodeFunctionData(functionFragment: "removeOwners", values: [AddressLike[]]): string;
20
+ encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
21
+ encodeFunctionData(functionFragment: "sendERC20", values: [AddressLike, AddressLike, BigNumberish]): string;
22
+ encodeFunctionData(functionFragment: "sendNFT", values: [AddressLike, AddressLike, BigNumberish]): string;
23
+ encodeFunctionData(functionFragment: "sendNative", values: [AddressLike, BigNumberish]): string;
24
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
25
+ encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
26
+ decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
27
+ decodeFunctionResult(functionFragment: "__QCoreTreasury_init", data: BytesLike): Result;
28
+ decodeFunctionResult(functionFragment: "addOwners", data: BytesLike): Result;
29
+ decodeFunctionResult(functionFragment: "arbitraryExecute", data: BytesLike): Result;
30
+ decodeFunctionResult(functionFragment: "depositERC20", data: BytesLike): Result;
31
+ decodeFunctionResult(functionFragment: "depositNFT", data: BytesLike): Result;
32
+ decodeFunctionResult(functionFragment: "depositNative", data: BytesLike): Result;
33
+ decodeFunctionResult(functionFragment: "getERC20Balance", data: BytesLike): Result;
34
+ decodeFunctionResult(functionFragment: "getNFTBalance", data: BytesLike): Result;
35
+ decodeFunctionResult(functionFragment: "getNativeBalance", data: BytesLike): Result;
36
+ decodeFunctionResult(functionFragment: "getOwners", data: BytesLike): Result;
37
+ decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result;
38
+ decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
39
+ decodeFunctionResult(functionFragment: "removeOwners", data: BytesLike): Result;
40
+ decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
41
+ decodeFunctionResult(functionFragment: "sendERC20", data: BytesLike): Result;
42
+ decodeFunctionResult(functionFragment: "sendNFT", data: BytesLike): Result;
43
+ decodeFunctionResult(functionFragment: "sendNative", data: BytesLike): Result;
44
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
45
+ decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
46
+ }
47
+ export declare namespace ArbitraryExecuteEvent {
48
+ type InputTuple = [
49
+ operation: BigNumberish,
50
+ to: AddressLike,
51
+ data: BytesLike,
52
+ value: BigNumberish
53
+ ];
54
+ type OutputTuple = [
55
+ operation: bigint,
56
+ to: string,
57
+ data: string,
58
+ value: bigint
59
+ ];
60
+ interface OutputObject {
61
+ operation: bigint;
62
+ to: string;
63
+ data: string;
64
+ value: bigint;
65
+ }
66
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
67
+ type Filter = TypedDeferredTopicFilter<Event>;
68
+ type Log = TypedEventLog<Event>;
69
+ type LogDescription = TypedLogDescription<Event>;
70
+ }
71
+ export declare namespace InitializedEvent {
72
+ type InputTuple = [version: BigNumberish];
73
+ type OutputTuple = [version: bigint];
74
+ interface OutputObject {
75
+ version: bigint;
76
+ }
77
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
78
+ type Filter = TypedDeferredTopicFilter<Event>;
79
+ type Log = TypedEventLog<Event>;
80
+ type LogDescription = TypedLogDescription<Event>;
81
+ }
82
+ export declare namespace NFTDepositedEvent {
83
+ type InputTuple = [
84
+ token: AddressLike,
85
+ from: AddressLike,
86
+ tokenId: BigNumberish
87
+ ];
88
+ type OutputTuple = [token: string, from: string, tokenId: bigint];
89
+ interface OutputObject {
90
+ token: string;
91
+ from: string;
92
+ tokenId: bigint;
93
+ }
94
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
95
+ type Filter = TypedDeferredTopicFilter<Event>;
96
+ type Log = TypedEventLog<Event>;
97
+ type LogDescription = TypedLogDescription<Event>;
98
+ }
99
+ export declare namespace NFTSentEvent {
100
+ type InputTuple = [
101
+ token: AddressLike,
102
+ to: AddressLike,
103
+ tokenId: BigNumberish
104
+ ];
105
+ type OutputTuple = [token: string, to: string, tokenId: bigint];
106
+ interface OutputObject {
107
+ token: string;
108
+ to: string;
109
+ tokenId: bigint;
110
+ }
111
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
112
+ type Filter = TypedDeferredTopicFilter<Event>;
113
+ type Log = TypedEventLog<Event>;
114
+ type LogDescription = TypedLogDescription<Event>;
115
+ }
116
+ export declare namespace OwnersAddedEvent {
117
+ type InputTuple = [newOwners: AddressLike[]];
118
+ type OutputTuple = [newOwners: string[]];
119
+ interface OutputObject {
120
+ newOwners: string[];
121
+ }
122
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
123
+ type Filter = TypedDeferredTopicFilter<Event>;
124
+ type Log = TypedEventLog<Event>;
125
+ type LogDescription = TypedLogDescription<Event>;
126
+ }
127
+ export declare namespace OwnersRemovedEvent {
128
+ type InputTuple = [removedOwners: AddressLike[]];
129
+ type OutputTuple = [removedOwners: string[]];
130
+ interface OutputObject {
131
+ removedOwners: string[];
132
+ }
133
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
134
+ type Filter = TypedDeferredTopicFilter<Event>;
135
+ type Log = TypedEventLog<Event>;
136
+ type LogDescription = TypedLogDescription<Event>;
137
+ }
138
+ export declare namespace TokensDepositedEvent {
139
+ type InputTuple = [
140
+ token: AddressLike,
141
+ from: AddressLike,
142
+ amount: BigNumberish
143
+ ];
144
+ type OutputTuple = [token: string, from: string, amount: bigint];
145
+ interface OutputObject {
146
+ token: string;
147
+ from: string;
148
+ amount: bigint;
149
+ }
150
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
151
+ type Filter = TypedDeferredTopicFilter<Event>;
152
+ type Log = TypedEventLog<Event>;
153
+ type LogDescription = TypedLogDescription<Event>;
154
+ }
155
+ export declare namespace TokensSentEvent {
156
+ type InputTuple = [
157
+ token: AddressLike,
158
+ to: AddressLike,
159
+ amount: BigNumberish
160
+ ];
161
+ type OutputTuple = [token: string, to: string, amount: bigint];
162
+ interface OutputObject {
163
+ token: string;
164
+ to: string;
165
+ amount: bigint;
166
+ }
167
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
168
+ type Filter = TypedDeferredTopicFilter<Event>;
169
+ type Log = TypedEventLog<Event>;
170
+ type LogDescription = TypedLogDescription<Event>;
171
+ }
172
+ export declare namespace UpgradedEvent {
173
+ type InputTuple = [implementation: AddressLike];
174
+ type OutputTuple = [implementation: string];
175
+ interface OutputObject {
176
+ implementation: string;
177
+ }
178
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
179
+ type Filter = TypedDeferredTopicFilter<Event>;
180
+ type Log = TypedEventLog<Event>;
181
+ type LogDescription = TypedLogDescription<Event>;
182
+ }
183
+ export interface QCoreTreasury extends BaseContract {
184
+ contractName: "QCoreTreasury";
185
+ connect(runner?: ContractRunner | null): QCoreTreasury;
186
+ waitForDeployment(): Promise<this>;
187
+ interface: QCoreTreasuryInterface;
188
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
189
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
190
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
191
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
192
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
193
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
194
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
195
+ listeners(eventName?: string): Promise<Array<Listener>>;
196
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
197
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
198
+ __QCoreTreasury_init: TypedContractMethod<[
199
+ initialOwners_: AddressLike[]
200
+ ], [
201
+ void
202
+ ], "nonpayable">;
203
+ addOwners: TypedContractMethod<[
204
+ newOwners_: AddressLike[]
205
+ ], [
206
+ void
207
+ ], "nonpayable">;
208
+ arbitraryExecute: TypedContractMethod<[
209
+ operation_: BigNumberish,
210
+ to_: AddressLike,
211
+ data_: BytesLike,
212
+ value_: BigNumberish
213
+ ], [
214
+ boolean
215
+ ], "nonpayable">;
216
+ depositERC20: TypedContractMethod<[
217
+ tokenAddress_: AddressLike,
218
+ amount_: BigNumberish
219
+ ], [
220
+ void
221
+ ], "nonpayable">;
222
+ depositNFT: TypedContractMethod<[
223
+ tokenAddress_: AddressLike,
224
+ tokenId_: BigNumberish
225
+ ], [
226
+ void
227
+ ], "nonpayable">;
228
+ depositNative: TypedContractMethod<[], [void], "payable">;
229
+ getERC20Balance: TypedContractMethod<[
230
+ tokenAddress_: AddressLike
231
+ ], [
232
+ bigint
233
+ ], "view">;
234
+ getNFTBalance: TypedContractMethod<[
235
+ tokenAddress_: AddressLike
236
+ ], [
237
+ bigint
238
+ ], "view">;
239
+ getNativeBalance: TypedContractMethod<[], [bigint], "view">;
240
+ getOwners: TypedContractMethod<[], [string[]], "view">;
241
+ isOwner: TypedContractMethod<[address_: AddressLike], [boolean], "view">;
242
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
243
+ removeOwners: TypedContractMethod<[
244
+ oldOwners_: AddressLike[]
245
+ ], [
246
+ void
247
+ ], "nonpayable">;
248
+ renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
249
+ sendERC20: TypedContractMethod<[
250
+ tokenAddress_: AddressLike,
251
+ to_: AddressLike,
252
+ amount_: BigNumberish
253
+ ], [
254
+ void
255
+ ], "nonpayable">;
256
+ sendNFT: TypedContractMethod<[
257
+ tokenAddress_: AddressLike,
258
+ to_: AddressLike,
259
+ tokenId_: BigNumberish
260
+ ], [
261
+ void
262
+ ], "nonpayable">;
263
+ sendNative: TypedContractMethod<[
264
+ to_: AddressLike,
265
+ amount_: BigNumberish
266
+ ], [
267
+ void
268
+ ], "nonpayable">;
269
+ supportsInterface: TypedContractMethod<[
270
+ interfaceId: BytesLike
271
+ ], [
272
+ boolean
273
+ ], "view">;
274
+ upgradeToAndCall: TypedContractMethod<[
275
+ newImplementation: AddressLike,
276
+ data: BytesLike
277
+ ], [
278
+ void
279
+ ], "payable">;
280
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
281
+ getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
282
+ getFunction(nameOrSignature: "__QCoreTreasury_init"): TypedContractMethod<[initialOwners_: AddressLike[]], [void], "nonpayable">;
283
+ getFunction(nameOrSignature: "addOwners"): TypedContractMethod<[newOwners_: AddressLike[]], [void], "nonpayable">;
284
+ getFunction(nameOrSignature: "arbitraryExecute"): TypedContractMethod<[
285
+ operation_: BigNumberish,
286
+ to_: AddressLike,
287
+ data_: BytesLike,
288
+ value_: BigNumberish
289
+ ], [
290
+ boolean
291
+ ], "nonpayable">;
292
+ getFunction(nameOrSignature: "depositERC20"): TypedContractMethod<[
293
+ tokenAddress_: AddressLike,
294
+ amount_: BigNumberish
295
+ ], [
296
+ void
297
+ ], "nonpayable">;
298
+ getFunction(nameOrSignature: "depositNFT"): TypedContractMethod<[
299
+ tokenAddress_: AddressLike,
300
+ tokenId_: BigNumberish
301
+ ], [
302
+ void
303
+ ], "nonpayable">;
304
+ getFunction(nameOrSignature: "depositNative"): TypedContractMethod<[], [void], "payable">;
305
+ getFunction(nameOrSignature: "getERC20Balance"): TypedContractMethod<[tokenAddress_: AddressLike], [bigint], "view">;
306
+ getFunction(nameOrSignature: "getNFTBalance"): TypedContractMethod<[tokenAddress_: AddressLike], [bigint], "view">;
307
+ getFunction(nameOrSignature: "getNativeBalance"): TypedContractMethod<[], [bigint], "view">;
308
+ getFunction(nameOrSignature: "getOwners"): TypedContractMethod<[], [string[]], "view">;
309
+ getFunction(nameOrSignature: "isOwner"): TypedContractMethod<[address_: AddressLike], [boolean], "view">;
310
+ getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
311
+ getFunction(nameOrSignature: "removeOwners"): TypedContractMethod<[oldOwners_: AddressLike[]], [void], "nonpayable">;
312
+ getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
313
+ getFunction(nameOrSignature: "sendERC20"): TypedContractMethod<[
314
+ tokenAddress_: AddressLike,
315
+ to_: AddressLike,
316
+ amount_: BigNumberish
317
+ ], [
318
+ void
319
+ ], "nonpayable">;
320
+ getFunction(nameOrSignature: "sendNFT"): TypedContractMethod<[
321
+ tokenAddress_: AddressLike,
322
+ to_: AddressLike,
323
+ tokenId_: BigNumberish
324
+ ], [
325
+ void
326
+ ], "nonpayable">;
327
+ getFunction(nameOrSignature: "sendNative"): TypedContractMethod<[
328
+ to_: AddressLike,
329
+ amount_: BigNumberish
330
+ ], [
331
+ void
332
+ ], "nonpayable">;
333
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
334
+ getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
335
+ newImplementation: AddressLike,
336
+ data: BytesLike
337
+ ], [
338
+ void
339
+ ], "payable">;
340
+ getEvent(key: "ArbitraryExecute"): TypedContractEvent<ArbitraryExecuteEvent.InputTuple, ArbitraryExecuteEvent.OutputTuple, ArbitraryExecuteEvent.OutputObject>;
341
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
342
+ getEvent(key: "NFTDeposited"): TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
343
+ getEvent(key: "NFTSent"): TypedContractEvent<NFTSentEvent.InputTuple, NFTSentEvent.OutputTuple, NFTSentEvent.OutputObject>;
344
+ getEvent(key: "OwnersAdded"): TypedContractEvent<OwnersAddedEvent.InputTuple, OwnersAddedEvent.OutputTuple, OwnersAddedEvent.OutputObject>;
345
+ getEvent(key: "OwnersRemoved"): TypedContractEvent<OwnersRemovedEvent.InputTuple, OwnersRemovedEvent.OutputTuple, OwnersRemovedEvent.OutputObject>;
346
+ getEvent(key: "TokensDeposited"): TypedContractEvent<TokensDepositedEvent.InputTuple, TokensDepositedEvent.OutputTuple, TokensDepositedEvent.OutputObject>;
347
+ getEvent(key: "TokensSent"): TypedContractEvent<TokensSentEvent.InputTuple, TokensSentEvent.OutputTuple, TokensSentEvent.OutputObject>;
348
+ getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
349
+ filters: {
350
+ "ArbitraryExecute(uint8,address,bytes,uint256)": TypedContractEvent<ArbitraryExecuteEvent.InputTuple, ArbitraryExecuteEvent.OutputTuple, ArbitraryExecuteEvent.OutputObject>;
351
+ ArbitraryExecute: TypedContractEvent<ArbitraryExecuteEvent.InputTuple, ArbitraryExecuteEvent.OutputTuple, ArbitraryExecuteEvent.OutputObject>;
352
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
353
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
354
+ "NFTDeposited(address,address,uint256)": TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
355
+ NFTDeposited: TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
356
+ "NFTSent(address,address,uint256)": TypedContractEvent<NFTSentEvent.InputTuple, NFTSentEvent.OutputTuple, NFTSentEvent.OutputObject>;
357
+ NFTSent: TypedContractEvent<NFTSentEvent.InputTuple, NFTSentEvent.OutputTuple, NFTSentEvent.OutputObject>;
358
+ "OwnersAdded(address[])": TypedContractEvent<OwnersAddedEvent.InputTuple, OwnersAddedEvent.OutputTuple, OwnersAddedEvent.OutputObject>;
359
+ OwnersAdded: TypedContractEvent<OwnersAddedEvent.InputTuple, OwnersAddedEvent.OutputTuple, OwnersAddedEvent.OutputObject>;
360
+ "OwnersRemoved(address[])": TypedContractEvent<OwnersRemovedEvent.InputTuple, OwnersRemovedEvent.OutputTuple, OwnersRemovedEvent.OutputObject>;
361
+ OwnersRemoved: TypedContractEvent<OwnersRemovedEvent.InputTuple, OwnersRemovedEvent.OutputTuple, OwnersRemovedEvent.OutputObject>;
362
+ "TokensDeposited(address,address,uint256)": TypedContractEvent<TokensDepositedEvent.InputTuple, TokensDepositedEvent.OutputTuple, TokensDepositedEvent.OutputObject>;
363
+ TokensDeposited: TypedContractEvent<TokensDepositedEvent.InputTuple, TokensDepositedEvent.OutputTuple, TokensDepositedEvent.OutputObject>;
364
+ "TokensSent(address,address,uint256)": TypedContractEvent<TokensSentEvent.InputTuple, TokensSentEvent.OutputTuple, TokensSentEvent.OutputObject>;
365
+ TokensSent: TypedContractEvent<TokensSentEvent.InputTuple, TokensSentEvent.OutputTuple, TokensSentEvent.OutputObject>;
366
+ "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
367
+ Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
368
+ };
369
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type { QCoreTreasury } from "./QCoreTreasury";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import type * as qCoreTreasurtySol from "./QCoreTreasurty.sol";
2
+ export type { qCoreTreasurtySol };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,5 @@
1
+ import type * as core from "./core";
2
+ export type { core };
1
3
  import type * as governance from "./governance";
2
4
  export type { governance };
3
5
  import type * as interfaces from "./interfaces";
@@ -0,0 +1,226 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
+ export interface MockERC721Interface extends Interface {
4
+ getFunction(nameOrSignature: "approve" | "balanceOf" | "getApproved" | "isApprovedForAll" | "mint" | "name" | "ownerOf" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tokenURI" | "transferFrom"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "Transfer"): EventFragment;
6
+ encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
7
+ encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
8
+ encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
9
+ encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
10
+ encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
11
+ encodeFunctionData(functionFragment: "name", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
13
+ encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
15
+ encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
16
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
17
+ encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
18
+ encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string;
19
+ encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
20
+ decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
21
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
22
+ decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
23
+ decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
24
+ decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
25
+ decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
26
+ decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
27
+ decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
28
+ decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
29
+ decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
30
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
31
+ decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
32
+ decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result;
33
+ decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
34
+ }
35
+ export declare namespace ApprovalEvent {
36
+ type InputTuple = [
37
+ owner: AddressLike,
38
+ approved: AddressLike,
39
+ tokenId: BigNumberish
40
+ ];
41
+ type OutputTuple = [owner: string, approved: string, tokenId: bigint];
42
+ interface OutputObject {
43
+ owner: string;
44
+ approved: string;
45
+ tokenId: bigint;
46
+ }
47
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
48
+ type Filter = TypedDeferredTopicFilter<Event>;
49
+ type Log = TypedEventLog<Event>;
50
+ type LogDescription = TypedLogDescription<Event>;
51
+ }
52
+ export declare namespace ApprovalForAllEvent {
53
+ type InputTuple = [
54
+ owner: AddressLike,
55
+ operator: AddressLike,
56
+ approved: boolean
57
+ ];
58
+ type OutputTuple = [
59
+ owner: string,
60
+ operator: string,
61
+ approved: boolean
62
+ ];
63
+ interface OutputObject {
64
+ owner: string;
65
+ operator: string;
66
+ approved: boolean;
67
+ }
68
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
69
+ type Filter = TypedDeferredTopicFilter<Event>;
70
+ type Log = TypedEventLog<Event>;
71
+ type LogDescription = TypedLogDescription<Event>;
72
+ }
73
+ export declare namespace TransferEvent {
74
+ type InputTuple = [
75
+ from: AddressLike,
76
+ to: AddressLike,
77
+ tokenId: BigNumberish
78
+ ];
79
+ type OutputTuple = [from: string, to: string, tokenId: bigint];
80
+ interface OutputObject {
81
+ from: string;
82
+ to: string;
83
+ tokenId: bigint;
84
+ }
85
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
86
+ type Filter = TypedDeferredTopicFilter<Event>;
87
+ type Log = TypedEventLog<Event>;
88
+ type LogDescription = TypedLogDescription<Event>;
89
+ }
90
+ export interface MockERC721 extends BaseContract {
91
+ contractName: "MockERC721";
92
+ connect(runner?: ContractRunner | null): MockERC721;
93
+ waitForDeployment(): Promise<this>;
94
+ interface: MockERC721Interface;
95
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
96
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
97
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
98
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
99
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
100
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
101
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
102
+ listeners(eventName?: string): Promise<Array<Listener>>;
103
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
104
+ approve: TypedContractMethod<[
105
+ to: AddressLike,
106
+ tokenId: BigNumberish
107
+ ], [
108
+ void
109
+ ], "nonpayable">;
110
+ balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
111
+ getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
112
+ isApprovedForAll: TypedContractMethod<[
113
+ owner: AddressLike,
114
+ operator: AddressLike
115
+ ], [
116
+ boolean
117
+ ], "view">;
118
+ mint: TypedContractMethod<[
119
+ to_: AddressLike,
120
+ tokenId_: BigNumberish
121
+ ], [
122
+ void
123
+ ], "nonpayable">;
124
+ name: TypedContractMethod<[], [string], "view">;
125
+ ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
126
+ "safeTransferFrom(address,address,uint256)": TypedContractMethod<[
127
+ from: AddressLike,
128
+ to: AddressLike,
129
+ tokenId: BigNumberish
130
+ ], [
131
+ void
132
+ ], "nonpayable">;
133
+ "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[
134
+ from: AddressLike,
135
+ to: AddressLike,
136
+ tokenId: BigNumberish,
137
+ data: BytesLike
138
+ ], [
139
+ void
140
+ ], "nonpayable">;
141
+ setApprovalForAll: TypedContractMethod<[
142
+ operator: AddressLike,
143
+ approved: boolean
144
+ ], [
145
+ void
146
+ ], "nonpayable">;
147
+ supportsInterface: TypedContractMethod<[
148
+ interfaceId: BytesLike
149
+ ], [
150
+ boolean
151
+ ], "view">;
152
+ symbol: TypedContractMethod<[], [string], "view">;
153
+ tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
154
+ transferFrom: TypedContractMethod<[
155
+ from: AddressLike,
156
+ to: AddressLike,
157
+ tokenId: BigNumberish
158
+ ], [
159
+ void
160
+ ], "nonpayable">;
161
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
162
+ getFunction(nameOrSignature: "approve"): TypedContractMethod<[
163
+ to: AddressLike,
164
+ tokenId: BigNumberish
165
+ ], [
166
+ void
167
+ ], "nonpayable">;
168
+ getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
169
+ getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
170
+ getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
171
+ owner: AddressLike,
172
+ operator: AddressLike
173
+ ], [
174
+ boolean
175
+ ], "view">;
176
+ getFunction(nameOrSignature: "mint"): TypedContractMethod<[
177
+ to_: AddressLike,
178
+ tokenId_: BigNumberish
179
+ ], [
180
+ void
181
+ ], "nonpayable">;
182
+ getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
183
+ getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
184
+ getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[
185
+ from: AddressLike,
186
+ to: AddressLike,
187
+ tokenId: BigNumberish
188
+ ], [
189
+ void
190
+ ], "nonpayable">;
191
+ getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[
192
+ from: AddressLike,
193
+ to: AddressLike,
194
+ tokenId: BigNumberish,
195
+ data: BytesLike
196
+ ], [
197
+ void
198
+ ], "nonpayable">;
199
+ getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
200
+ operator: AddressLike,
201
+ approved: boolean
202
+ ], [
203
+ void
204
+ ], "nonpayable">;
205
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
206
+ getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
207
+ getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
208
+ getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
209
+ from: AddressLike,
210
+ to: AddressLike,
211
+ tokenId: BigNumberish
212
+ ], [
213
+ void
214
+ ], "nonpayable">;
215
+ getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
216
+ getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
217
+ getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
218
+ filters: {
219
+ "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
220
+ Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
221
+ "ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
222
+ ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
223
+ "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
224
+ Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
225
+ };
226
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,26 @@
1
+ import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
3
+ export interface NoopInterface extends Interface {
4
+ getFunction(nameOrSignature: "doNothing"): FunctionFragment;
5
+ encodeFunctionData(functionFragment: "doNothing", values?: undefined): string;
6
+ decodeFunctionResult(functionFragment: "doNothing", data: BytesLike): Result;
7
+ }
8
+ export interface Noop extends BaseContract {
9
+ contractName: "Noop";
10
+ connect(runner?: ContractRunner | null): Noop;
11
+ waitForDeployment(): Promise<this>;
12
+ interface: NoopInterface;
13
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
14
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
15
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
16
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
17
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
18
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
19
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
20
+ listeners(eventName?: string): Promise<Array<Listener>>;
21
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
22
+ doNothing: TypedContractMethod<[], [void], "nonpayable">;
23
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
24
+ getFunction(nameOrSignature: "doNothing"): TypedContractMethod<[], [void], "nonpayable">;
25
+ filters: {};
26
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });