@web3dotorg/evm-slc-core-sdk 0.3.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/common.ts +131 -0
- package/constants.ts +34 -0
- package/contracts/governance/ExecutorsRegistry.ts +1249 -0
- package/contracts/governance/Governance.ts +1740 -0
- package/contracts/governance/NeutralsRegistry.ts +1393 -0
- package/contracts/governance/ParameterRegistry.ts +832 -0
- package/contracts/governance/index.ts +7 -0
- package/contracts/index.ts +15 -0
- package/contracts/interfaces/IExecutorsRegistry.ts +601 -0
- package/contracts/interfaces/IGovernance.ts +215 -0
- package/contracts/interfaces/INeutralsRegistry.ts +624 -0
- package/contracts/interfaces/IQParameters.ts +109 -0
- package/contracts/interfaces/ISLCCore.ts +289 -0
- package/contracts/interfaces/ISLCCoreFactory.ts +217 -0
- package/contracts/interfaces/IWrappedToken.ts +272 -0
- package/contracts/interfaces/index.ts +10 -0
- package/contracts/libs/Errors.ts +71 -0
- package/contracts/libs/NeutralsSelection.ts +71 -0
- package/contracts/libs/index.ts +5 -0
- package/contracts/mocks/MockGovernance.ts +389 -0
- package/contracts/mocks/MockNeutralsRegistry.ts +791 -0
- package/contracts/mocks/SimpleContract.ts +110 -0
- package/contracts/mocks/WrappedToken.ts +334 -0
- package/contracts/mocks/index.ts +7 -0
- package/contracts/slc-core/SLCCore.ts +397 -0
- package/contracts/slc-core/SLCCoreFactory.ts +559 -0
- package/contracts/slc-core/index.ts +5 -0
- package/contracts/token/Token.ts +399 -0
- package/contracts/token/index.ts +4 -0
- package/factories/contracts/governance/ExecutorsRegistry__factory.ts +1240 -0
- package/factories/contracts/governance/Governance__factory.ts +2328 -0
- package/factories/contracts/governance/NeutralsRegistry__factory.ts +1491 -0
- package/factories/contracts/governance/ParameterRegistry__factory.ts +834 -0
- package/factories/contracts/governance/index.ts +7 -0
- package/factories/contracts/index.ts +9 -0
- package/factories/contracts/interfaces/IExecutorsRegistry__factory.ts +428 -0
- package/factories/contracts/interfaces/IGovernance__factory.ts +153 -0
- package/factories/contracts/interfaces/INeutralsRegistry__factory.ts +527 -0
- package/factories/contracts/interfaces/IQParameters__factory.ts +101 -0
- package/factories/contracts/interfaces/ISLCCoreFactory__factory.ts +197 -0
- package/factories/contracts/interfaces/ISLCCore__factory.ts +227 -0
- package/factories/contracts/interfaces/IWrappedToken__factory.ts +221 -0
- package/factories/contracts/interfaces/index.ts +10 -0
- package/factories/contracts/libs/Errors__factory.ts +205 -0
- package/factories/contracts/libs/NeutralsSelection__factory.ts +103 -0
- package/factories/contracts/libs/index.ts +5 -0
- package/factories/contracts/mocks/MockGovernance__factory.ts +353 -0
- package/factories/contracts/mocks/MockNeutralsRegistry__factory.ts +730 -0
- package/factories/contracts/mocks/SimpleContract__factory.ts +110 -0
- package/factories/contracts/mocks/WrappedToken__factory.ts +433 -0
- package/factories/contracts/mocks/index.ts +7 -0
- package/factories/contracts/slc-core/SLCCoreFactory__factory.ts +568 -0
- package/factories/contracts/slc-core/SLCCore__factory.ts +373 -0
- package/factories/contracts/slc-core/index.ts +5 -0
- package/factories/contracts/token/Token__factory.ts +505 -0
- package/factories/contracts/token/index.ts +4 -0
- package/index.ts +38 -0
- package/package.json +25 -0
@@ -0,0 +1,1740 @@
|
|
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 declare namespace IGovernance {
|
27
|
+
export type OperationDataStruct = {
|
28
|
+
operation_: BigNumberish;
|
29
|
+
to_: AddressLike;
|
30
|
+
data_: BytesLike;
|
31
|
+
value_: BigNumberish;
|
32
|
+
};
|
33
|
+
|
34
|
+
export type OperationDataStructOutput = [
|
35
|
+
operation_: bigint,
|
36
|
+
to_: string,
|
37
|
+
data_: string,
|
38
|
+
value_: bigint
|
39
|
+
] & { operation_: bigint; to_: string; data_: string; value_: bigint };
|
40
|
+
|
41
|
+
export type OperationBundleStruct = {
|
42
|
+
operations: IGovernance.OperationDataStruct[];
|
43
|
+
};
|
44
|
+
|
45
|
+
export type OperationBundleStructOutput = [
|
46
|
+
operations: IGovernance.OperationDataStructOutput[]
|
47
|
+
] & { operations: IGovernance.OperationDataStructOutput[] };
|
48
|
+
}
|
49
|
+
|
50
|
+
export declare namespace Governance {
|
51
|
+
export type SLCProposalStateViewStruct = {
|
52
|
+
neutralsThreshold: BigNumberish;
|
53
|
+
executorsThreshold: BigNumberish;
|
54
|
+
selectedNeutrals: AddressLike[];
|
55
|
+
neutralToOperationHashes: BytesLike[];
|
56
|
+
operationBundles: IGovernance.OperationBundleStruct[];
|
57
|
+
positiveExecutorVotes: AddressLike[];
|
58
|
+
negativeExecutorVotes: AddressLike[];
|
59
|
+
};
|
60
|
+
|
61
|
+
export type SLCProposalStateViewStructOutput = [
|
62
|
+
neutralsThreshold: bigint,
|
63
|
+
executorsThreshold: bigint,
|
64
|
+
selectedNeutrals: string[],
|
65
|
+
neutralToOperationHashes: string[],
|
66
|
+
operationBundles: IGovernance.OperationBundleStructOutput[],
|
67
|
+
positiveExecutorVotes: string[],
|
68
|
+
negativeExecutorVotes: string[]
|
69
|
+
] & {
|
70
|
+
neutralsThreshold: bigint;
|
71
|
+
executorsThreshold: bigint;
|
72
|
+
selectedNeutrals: string[];
|
73
|
+
neutralToOperationHashes: string[];
|
74
|
+
operationBundles: IGovernance.OperationBundleStructOutput[];
|
75
|
+
positiveExecutorVotes: string[];
|
76
|
+
negativeExecutorVotes: string[];
|
77
|
+
};
|
78
|
+
|
79
|
+
export type ServiceRequestStateStruct = {
|
80
|
+
requester: AddressLike;
|
81
|
+
serviceFee: BigNumberish;
|
82
|
+
neutralsNumber: BigNumberish;
|
83
|
+
additionalLink: string;
|
84
|
+
data: BytesLike;
|
85
|
+
votingPhase: BigNumberish;
|
86
|
+
leadingOperationHash: BytesLike;
|
87
|
+
requestNonce: BigNumberish;
|
88
|
+
proposalIds: BigNumberish[];
|
89
|
+
};
|
90
|
+
|
91
|
+
export type ServiceRequestStateStructOutput = [
|
92
|
+
requester: string,
|
93
|
+
serviceFee: bigint,
|
94
|
+
neutralsNumber: bigint,
|
95
|
+
additionalLink: string,
|
96
|
+
data: string,
|
97
|
+
votingPhase: bigint,
|
98
|
+
leadingOperationHash: string,
|
99
|
+
requestNonce: bigint,
|
100
|
+
proposalIds: bigint[]
|
101
|
+
] & {
|
102
|
+
requester: string;
|
103
|
+
serviceFee: bigint;
|
104
|
+
neutralsNumber: bigint;
|
105
|
+
additionalLink: string;
|
106
|
+
data: string;
|
107
|
+
votingPhase: bigint;
|
108
|
+
leadingOperationHash: string;
|
109
|
+
requestNonce: bigint;
|
110
|
+
proposalIds: bigint[];
|
111
|
+
};
|
112
|
+
}
|
113
|
+
|
114
|
+
export declare namespace GovernorUpgradeable {
|
115
|
+
export type ProposalCoreStruct = {
|
116
|
+
proposer: AddressLike;
|
117
|
+
voteStart: BigNumberish;
|
118
|
+
voteDuration: BigNumberish;
|
119
|
+
executed: boolean;
|
120
|
+
canceled: boolean;
|
121
|
+
etaSeconds: BigNumberish;
|
122
|
+
};
|
123
|
+
|
124
|
+
export type ProposalCoreStructOutput = [
|
125
|
+
proposer: string,
|
126
|
+
voteStart: bigint,
|
127
|
+
voteDuration: bigint,
|
128
|
+
executed: boolean,
|
129
|
+
canceled: boolean,
|
130
|
+
etaSeconds: bigint
|
131
|
+
] & {
|
132
|
+
proposer: string;
|
133
|
+
voteStart: bigint;
|
134
|
+
voteDuration: bigint;
|
135
|
+
executed: boolean;
|
136
|
+
canceled: boolean;
|
137
|
+
etaSeconds: bigint;
|
138
|
+
};
|
139
|
+
}
|
140
|
+
|
141
|
+
export interface GovernanceInterface extends Interface {
|
142
|
+
getFunction(
|
143
|
+
nameOrSignature:
|
144
|
+
| "BALLOT_TYPEHASH"
|
145
|
+
| "CLOCK_MODE"
|
146
|
+
| "COUNTING_MODE"
|
147
|
+
| "EXTENDED_BALLOT_TYPEHASH"
|
148
|
+
| "UPGRADE_INTERFACE_VERSION"
|
149
|
+
| "__Governance_init"
|
150
|
+
| "cancel"
|
151
|
+
| "castVote"
|
152
|
+
| "castVoteBySig"
|
153
|
+
| "castVoteWithReason"
|
154
|
+
| "castVoteWithReasonAndParams"
|
155
|
+
| "castVoteWithReasonAndParamsBySig"
|
156
|
+
| "clock"
|
157
|
+
| "eip712Domain"
|
158
|
+
| "execute"
|
159
|
+
| "getExecutorsThreshold"
|
160
|
+
| "getExecutorsVotingPeriod"
|
161
|
+
| "getNeutralsThreshold"
|
162
|
+
| "getNeutralsVotingPeriod"
|
163
|
+
| "getParametersRegistry"
|
164
|
+
| "getProposalData"
|
165
|
+
| "getProposalId"
|
166
|
+
| "getProposalsByServiceRequest"
|
167
|
+
| "getServiceRequestsBySLCCore"
|
168
|
+
| "getSystemToken"
|
169
|
+
| "getVotes"
|
170
|
+
| "getVotesWithParams"
|
171
|
+
| "hasVoted"
|
172
|
+
| "hashOperation"
|
173
|
+
| "hashProposal"
|
174
|
+
| "implementation"
|
175
|
+
| "name"
|
176
|
+
| "nonces"
|
177
|
+
| "onERC1155BatchReceived"
|
178
|
+
| "onERC1155Received"
|
179
|
+
| "onERC721Received"
|
180
|
+
| "processServiceRequest"
|
181
|
+
| "proposalDeadline"
|
182
|
+
| "proposalEta"
|
183
|
+
| "proposalNeedsQueuing"
|
184
|
+
| "proposalProposer"
|
185
|
+
| "proposalSnapshot"
|
186
|
+
| "proposalThreshold"
|
187
|
+
| "propose"
|
188
|
+
| "proposeOperations"
|
189
|
+
| "proxiableUUID"
|
190
|
+
| "queue"
|
191
|
+
| "quorum"
|
192
|
+
| "relay"
|
193
|
+
| "state"
|
194
|
+
| "supportsInterface"
|
195
|
+
| "upgradeToAndCall"
|
196
|
+
| "version"
|
197
|
+
| "votingDelay"
|
198
|
+
| "votingPeriod"
|
199
|
+
): FunctionFragment;
|
200
|
+
|
201
|
+
getEvent(
|
202
|
+
nameOrSignatureOrTopic:
|
203
|
+
| "EIP712DomainChanged"
|
204
|
+
| "Initialized"
|
205
|
+
| "ProposalCanceled"
|
206
|
+
| "ProposalCreated"
|
207
|
+
| "ProposalExecuted"
|
208
|
+
| "ProposalQueued"
|
209
|
+
| "RejectedByExecutors"
|
210
|
+
| "Upgraded"
|
211
|
+
| "VoteCast"
|
212
|
+
| "VoteCastWithParams"
|
213
|
+
): EventFragment;
|
214
|
+
|
215
|
+
encodeFunctionData(
|
216
|
+
functionFragment: "BALLOT_TYPEHASH",
|
217
|
+
values?: undefined
|
218
|
+
): string;
|
219
|
+
encodeFunctionData(
|
220
|
+
functionFragment: "CLOCK_MODE",
|
221
|
+
values?: undefined
|
222
|
+
): string;
|
223
|
+
encodeFunctionData(
|
224
|
+
functionFragment: "COUNTING_MODE",
|
225
|
+
values?: undefined
|
226
|
+
): string;
|
227
|
+
encodeFunctionData(
|
228
|
+
functionFragment: "EXTENDED_BALLOT_TYPEHASH",
|
229
|
+
values?: undefined
|
230
|
+
): string;
|
231
|
+
encodeFunctionData(
|
232
|
+
functionFragment: "UPGRADE_INTERFACE_VERSION",
|
233
|
+
values?: undefined
|
234
|
+
): string;
|
235
|
+
encodeFunctionData(
|
236
|
+
functionFragment: "__Governance_init",
|
237
|
+
values: [AddressLike, AddressLike, AddressLike, AddressLike]
|
238
|
+
): string;
|
239
|
+
encodeFunctionData(
|
240
|
+
functionFragment: "cancel",
|
241
|
+
values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]
|
242
|
+
): string;
|
243
|
+
encodeFunctionData(
|
244
|
+
functionFragment: "castVote",
|
245
|
+
values: [BigNumberish, BigNumberish]
|
246
|
+
): string;
|
247
|
+
encodeFunctionData(
|
248
|
+
functionFragment: "castVoteBySig",
|
249
|
+
values: [BigNumberish, BigNumberish, AddressLike, BytesLike]
|
250
|
+
): string;
|
251
|
+
encodeFunctionData(
|
252
|
+
functionFragment: "castVoteWithReason",
|
253
|
+
values: [BigNumberish, BigNumberish, string]
|
254
|
+
): string;
|
255
|
+
encodeFunctionData(
|
256
|
+
functionFragment: "castVoteWithReasonAndParams",
|
257
|
+
values: [BigNumberish, BigNumberish, string, BytesLike]
|
258
|
+
): string;
|
259
|
+
encodeFunctionData(
|
260
|
+
functionFragment: "castVoteWithReasonAndParamsBySig",
|
261
|
+
values: [
|
262
|
+
BigNumberish,
|
263
|
+
BigNumberish,
|
264
|
+
AddressLike,
|
265
|
+
string,
|
266
|
+
BytesLike,
|
267
|
+
BytesLike
|
268
|
+
]
|
269
|
+
): string;
|
270
|
+
encodeFunctionData(functionFragment: "clock", values?: undefined): string;
|
271
|
+
encodeFunctionData(
|
272
|
+
functionFragment: "eip712Domain",
|
273
|
+
values?: undefined
|
274
|
+
): string;
|
275
|
+
encodeFunctionData(
|
276
|
+
functionFragment: "execute",
|
277
|
+
values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]
|
278
|
+
): string;
|
279
|
+
encodeFunctionData(
|
280
|
+
functionFragment: "getExecutorsThreshold",
|
281
|
+
values?: undefined
|
282
|
+
): string;
|
283
|
+
encodeFunctionData(
|
284
|
+
functionFragment: "getExecutorsVotingPeriod",
|
285
|
+
values?: undefined
|
286
|
+
): string;
|
287
|
+
encodeFunctionData(
|
288
|
+
functionFragment: "getNeutralsThreshold",
|
289
|
+
values?: undefined
|
290
|
+
): string;
|
291
|
+
encodeFunctionData(
|
292
|
+
functionFragment: "getNeutralsVotingPeriod",
|
293
|
+
values?: undefined
|
294
|
+
): string;
|
295
|
+
encodeFunctionData(
|
296
|
+
functionFragment: "getParametersRegistry",
|
297
|
+
values?: undefined
|
298
|
+
): string;
|
299
|
+
encodeFunctionData(
|
300
|
+
functionFragment: "getProposalData",
|
301
|
+
values: [BigNumberish]
|
302
|
+
): string;
|
303
|
+
encodeFunctionData(
|
304
|
+
functionFragment: "getProposalId",
|
305
|
+
values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]
|
306
|
+
): string;
|
307
|
+
encodeFunctionData(
|
308
|
+
functionFragment: "getProposalsByServiceRequest",
|
309
|
+
values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]
|
310
|
+
): string;
|
311
|
+
encodeFunctionData(
|
312
|
+
functionFragment: "getServiceRequestsBySLCCore",
|
313
|
+
values: [AddressLike, BigNumberish, BigNumberish]
|
314
|
+
): string;
|
315
|
+
encodeFunctionData(
|
316
|
+
functionFragment: "getSystemToken",
|
317
|
+
values?: undefined
|
318
|
+
): string;
|
319
|
+
encodeFunctionData(
|
320
|
+
functionFragment: "getVotes",
|
321
|
+
values: [AddressLike, BigNumberish]
|
322
|
+
): string;
|
323
|
+
encodeFunctionData(
|
324
|
+
functionFragment: "getVotesWithParams",
|
325
|
+
values: [AddressLike, BigNumberish, BytesLike]
|
326
|
+
): string;
|
327
|
+
encodeFunctionData(
|
328
|
+
functionFragment: "hasVoted",
|
329
|
+
values: [BigNumberish, AddressLike]
|
330
|
+
): string;
|
331
|
+
encodeFunctionData(
|
332
|
+
functionFragment: "hashOperation",
|
333
|
+
values: [IGovernance.OperationBundleStruct]
|
334
|
+
): string;
|
335
|
+
encodeFunctionData(
|
336
|
+
functionFragment: "hashProposal",
|
337
|
+
values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]
|
338
|
+
): string;
|
339
|
+
encodeFunctionData(
|
340
|
+
functionFragment: "implementation",
|
341
|
+
values?: undefined
|
342
|
+
): string;
|
343
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
344
|
+
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
345
|
+
encodeFunctionData(
|
346
|
+
functionFragment: "onERC1155BatchReceived",
|
347
|
+
values: [
|
348
|
+
AddressLike,
|
349
|
+
AddressLike,
|
350
|
+
BigNumberish[],
|
351
|
+
BigNumberish[],
|
352
|
+
BytesLike
|
353
|
+
]
|
354
|
+
): string;
|
355
|
+
encodeFunctionData(
|
356
|
+
functionFragment: "onERC1155Received",
|
357
|
+
values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]
|
358
|
+
): string;
|
359
|
+
encodeFunctionData(
|
360
|
+
functionFragment: "onERC721Received",
|
361
|
+
values: [AddressLike, AddressLike, BigNumberish, BytesLike]
|
362
|
+
): string;
|
363
|
+
encodeFunctionData(
|
364
|
+
functionFragment: "processServiceRequest",
|
365
|
+
values: [AddressLike, BigNumberish, BigNumberish, string, BytesLike]
|
366
|
+
): string;
|
367
|
+
encodeFunctionData(
|
368
|
+
functionFragment: "proposalDeadline",
|
369
|
+
values: [BigNumberish]
|
370
|
+
): string;
|
371
|
+
encodeFunctionData(
|
372
|
+
functionFragment: "proposalEta",
|
373
|
+
values: [BigNumberish]
|
374
|
+
): string;
|
375
|
+
encodeFunctionData(
|
376
|
+
functionFragment: "proposalNeedsQueuing",
|
377
|
+
values: [BigNumberish]
|
378
|
+
): string;
|
379
|
+
encodeFunctionData(
|
380
|
+
functionFragment: "proposalProposer",
|
381
|
+
values: [BigNumberish]
|
382
|
+
): string;
|
383
|
+
encodeFunctionData(
|
384
|
+
functionFragment: "proposalSnapshot",
|
385
|
+
values: [BigNumberish]
|
386
|
+
): string;
|
387
|
+
encodeFunctionData(
|
388
|
+
functionFragment: "proposalThreshold",
|
389
|
+
values?: undefined
|
390
|
+
): string;
|
391
|
+
encodeFunctionData(
|
392
|
+
functionFragment: "propose",
|
393
|
+
values: [AddressLike[], BigNumberish[], BytesLike[], string]
|
394
|
+
): string;
|
395
|
+
encodeFunctionData(
|
396
|
+
functionFragment: "proposeOperations",
|
397
|
+
values: [BigNumberish, IGovernance.OperationBundleStruct]
|
398
|
+
): string;
|
399
|
+
encodeFunctionData(
|
400
|
+
functionFragment: "proxiableUUID",
|
401
|
+
values?: undefined
|
402
|
+
): string;
|
403
|
+
encodeFunctionData(
|
404
|
+
functionFragment: "queue",
|
405
|
+
values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike]
|
406
|
+
): string;
|
407
|
+
encodeFunctionData(
|
408
|
+
functionFragment: "quorum",
|
409
|
+
values: [BigNumberish]
|
410
|
+
): string;
|
411
|
+
encodeFunctionData(
|
412
|
+
functionFragment: "relay",
|
413
|
+
values: [AddressLike, BigNumberish, BytesLike]
|
414
|
+
): string;
|
415
|
+
encodeFunctionData(functionFragment: "state", values: [BigNumberish]): string;
|
416
|
+
encodeFunctionData(
|
417
|
+
functionFragment: "supportsInterface",
|
418
|
+
values: [BytesLike]
|
419
|
+
): string;
|
420
|
+
encodeFunctionData(
|
421
|
+
functionFragment: "upgradeToAndCall",
|
422
|
+
values: [AddressLike, BytesLike]
|
423
|
+
): string;
|
424
|
+
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
425
|
+
encodeFunctionData(
|
426
|
+
functionFragment: "votingDelay",
|
427
|
+
values?: undefined
|
428
|
+
): string;
|
429
|
+
encodeFunctionData(
|
430
|
+
functionFragment: "votingPeriod",
|
431
|
+
values?: undefined
|
432
|
+
): string;
|
433
|
+
|
434
|
+
decodeFunctionResult(
|
435
|
+
functionFragment: "BALLOT_TYPEHASH",
|
436
|
+
data: BytesLike
|
437
|
+
): Result;
|
438
|
+
decodeFunctionResult(functionFragment: "CLOCK_MODE", data: BytesLike): Result;
|
439
|
+
decodeFunctionResult(
|
440
|
+
functionFragment: "COUNTING_MODE",
|
441
|
+
data: BytesLike
|
442
|
+
): Result;
|
443
|
+
decodeFunctionResult(
|
444
|
+
functionFragment: "EXTENDED_BALLOT_TYPEHASH",
|
445
|
+
data: BytesLike
|
446
|
+
): Result;
|
447
|
+
decodeFunctionResult(
|
448
|
+
functionFragment: "UPGRADE_INTERFACE_VERSION",
|
449
|
+
data: BytesLike
|
450
|
+
): Result;
|
451
|
+
decodeFunctionResult(
|
452
|
+
functionFragment: "__Governance_init",
|
453
|
+
data: BytesLike
|
454
|
+
): Result;
|
455
|
+
decodeFunctionResult(functionFragment: "cancel", data: BytesLike): Result;
|
456
|
+
decodeFunctionResult(functionFragment: "castVote", data: BytesLike): Result;
|
457
|
+
decodeFunctionResult(
|
458
|
+
functionFragment: "castVoteBySig",
|
459
|
+
data: BytesLike
|
460
|
+
): Result;
|
461
|
+
decodeFunctionResult(
|
462
|
+
functionFragment: "castVoteWithReason",
|
463
|
+
data: BytesLike
|
464
|
+
): Result;
|
465
|
+
decodeFunctionResult(
|
466
|
+
functionFragment: "castVoteWithReasonAndParams",
|
467
|
+
data: BytesLike
|
468
|
+
): Result;
|
469
|
+
decodeFunctionResult(
|
470
|
+
functionFragment: "castVoteWithReasonAndParamsBySig",
|
471
|
+
data: BytesLike
|
472
|
+
): Result;
|
473
|
+
decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result;
|
474
|
+
decodeFunctionResult(
|
475
|
+
functionFragment: "eip712Domain",
|
476
|
+
data: BytesLike
|
477
|
+
): Result;
|
478
|
+
decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
|
479
|
+
decodeFunctionResult(
|
480
|
+
functionFragment: "getExecutorsThreshold",
|
481
|
+
data: BytesLike
|
482
|
+
): Result;
|
483
|
+
decodeFunctionResult(
|
484
|
+
functionFragment: "getExecutorsVotingPeriod",
|
485
|
+
data: BytesLike
|
486
|
+
): Result;
|
487
|
+
decodeFunctionResult(
|
488
|
+
functionFragment: "getNeutralsThreshold",
|
489
|
+
data: BytesLike
|
490
|
+
): Result;
|
491
|
+
decodeFunctionResult(
|
492
|
+
functionFragment: "getNeutralsVotingPeriod",
|
493
|
+
data: BytesLike
|
494
|
+
): Result;
|
495
|
+
decodeFunctionResult(
|
496
|
+
functionFragment: "getParametersRegistry",
|
497
|
+
data: BytesLike
|
498
|
+
): Result;
|
499
|
+
decodeFunctionResult(
|
500
|
+
functionFragment: "getProposalData",
|
501
|
+
data: BytesLike
|
502
|
+
): Result;
|
503
|
+
decodeFunctionResult(
|
504
|
+
functionFragment: "getProposalId",
|
505
|
+
data: BytesLike
|
506
|
+
): Result;
|
507
|
+
decodeFunctionResult(
|
508
|
+
functionFragment: "getProposalsByServiceRequest",
|
509
|
+
data: BytesLike
|
510
|
+
): Result;
|
511
|
+
decodeFunctionResult(
|
512
|
+
functionFragment: "getServiceRequestsBySLCCore",
|
513
|
+
data: BytesLike
|
514
|
+
): Result;
|
515
|
+
decodeFunctionResult(
|
516
|
+
functionFragment: "getSystemToken",
|
517
|
+
data: BytesLike
|
518
|
+
): Result;
|
519
|
+
decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result;
|
520
|
+
decodeFunctionResult(
|
521
|
+
functionFragment: "getVotesWithParams",
|
522
|
+
data: BytesLike
|
523
|
+
): Result;
|
524
|
+
decodeFunctionResult(functionFragment: "hasVoted", data: BytesLike): Result;
|
525
|
+
decodeFunctionResult(
|
526
|
+
functionFragment: "hashOperation",
|
527
|
+
data: BytesLike
|
528
|
+
): Result;
|
529
|
+
decodeFunctionResult(
|
530
|
+
functionFragment: "hashProposal",
|
531
|
+
data: BytesLike
|
532
|
+
): Result;
|
533
|
+
decodeFunctionResult(
|
534
|
+
functionFragment: "implementation",
|
535
|
+
data: BytesLike
|
536
|
+
): Result;
|
537
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
538
|
+
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
539
|
+
decodeFunctionResult(
|
540
|
+
functionFragment: "onERC1155BatchReceived",
|
541
|
+
data: BytesLike
|
542
|
+
): Result;
|
543
|
+
decodeFunctionResult(
|
544
|
+
functionFragment: "onERC1155Received",
|
545
|
+
data: BytesLike
|
546
|
+
): Result;
|
547
|
+
decodeFunctionResult(
|
548
|
+
functionFragment: "onERC721Received",
|
549
|
+
data: BytesLike
|
550
|
+
): Result;
|
551
|
+
decodeFunctionResult(
|
552
|
+
functionFragment: "processServiceRequest",
|
553
|
+
data: BytesLike
|
554
|
+
): Result;
|
555
|
+
decodeFunctionResult(
|
556
|
+
functionFragment: "proposalDeadline",
|
557
|
+
data: BytesLike
|
558
|
+
): Result;
|
559
|
+
decodeFunctionResult(
|
560
|
+
functionFragment: "proposalEta",
|
561
|
+
data: BytesLike
|
562
|
+
): Result;
|
563
|
+
decodeFunctionResult(
|
564
|
+
functionFragment: "proposalNeedsQueuing",
|
565
|
+
data: BytesLike
|
566
|
+
): Result;
|
567
|
+
decodeFunctionResult(
|
568
|
+
functionFragment: "proposalProposer",
|
569
|
+
data: BytesLike
|
570
|
+
): Result;
|
571
|
+
decodeFunctionResult(
|
572
|
+
functionFragment: "proposalSnapshot",
|
573
|
+
data: BytesLike
|
574
|
+
): Result;
|
575
|
+
decodeFunctionResult(
|
576
|
+
functionFragment: "proposalThreshold",
|
577
|
+
data: BytesLike
|
578
|
+
): Result;
|
579
|
+
decodeFunctionResult(functionFragment: "propose", data: BytesLike): Result;
|
580
|
+
decodeFunctionResult(
|
581
|
+
functionFragment: "proposeOperations",
|
582
|
+
data: BytesLike
|
583
|
+
): Result;
|
584
|
+
decodeFunctionResult(
|
585
|
+
functionFragment: "proxiableUUID",
|
586
|
+
data: BytesLike
|
587
|
+
): Result;
|
588
|
+
decodeFunctionResult(functionFragment: "queue", data: BytesLike): Result;
|
589
|
+
decodeFunctionResult(functionFragment: "quorum", data: BytesLike): Result;
|
590
|
+
decodeFunctionResult(functionFragment: "relay", data: BytesLike): Result;
|
591
|
+
decodeFunctionResult(functionFragment: "state", data: BytesLike): Result;
|
592
|
+
decodeFunctionResult(
|
593
|
+
functionFragment: "supportsInterface",
|
594
|
+
data: BytesLike
|
595
|
+
): Result;
|
596
|
+
decodeFunctionResult(
|
597
|
+
functionFragment: "upgradeToAndCall",
|
598
|
+
data: BytesLike
|
599
|
+
): Result;
|
600
|
+
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
601
|
+
decodeFunctionResult(
|
602
|
+
functionFragment: "votingDelay",
|
603
|
+
data: BytesLike
|
604
|
+
): Result;
|
605
|
+
decodeFunctionResult(
|
606
|
+
functionFragment: "votingPeriod",
|
607
|
+
data: BytesLike
|
608
|
+
): Result;
|
609
|
+
}
|
610
|
+
|
611
|
+
export namespace EIP712DomainChangedEvent {
|
612
|
+
export type InputTuple = [];
|
613
|
+
export type OutputTuple = [];
|
614
|
+
export interface OutputObject {}
|
615
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
616
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
617
|
+
export type Log = TypedEventLog<Event>;
|
618
|
+
export type LogDescription = TypedLogDescription<Event>;
|
619
|
+
}
|
620
|
+
|
621
|
+
export namespace InitializedEvent {
|
622
|
+
export type InputTuple = [version: BigNumberish];
|
623
|
+
export type OutputTuple = [version: bigint];
|
624
|
+
export interface OutputObject {
|
625
|
+
version: bigint;
|
626
|
+
}
|
627
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
628
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
629
|
+
export type Log = TypedEventLog<Event>;
|
630
|
+
export type LogDescription = TypedLogDescription<Event>;
|
631
|
+
}
|
632
|
+
|
633
|
+
export namespace ProposalCanceledEvent {
|
634
|
+
export type InputTuple = [proposalId: BigNumberish];
|
635
|
+
export type OutputTuple = [proposalId: bigint];
|
636
|
+
export interface OutputObject {
|
637
|
+
proposalId: bigint;
|
638
|
+
}
|
639
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
640
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
641
|
+
export type Log = TypedEventLog<Event>;
|
642
|
+
export type LogDescription = TypedLogDescription<Event>;
|
643
|
+
}
|
644
|
+
|
645
|
+
export namespace ProposalCreatedEvent {
|
646
|
+
export type InputTuple = [
|
647
|
+
proposalId: BigNumberish,
|
648
|
+
proposer: AddressLike,
|
649
|
+
targets: AddressLike[],
|
650
|
+
values: BigNumberish[],
|
651
|
+
signatures: string[],
|
652
|
+
calldatas: BytesLike[],
|
653
|
+
voteStart: BigNumberish,
|
654
|
+
voteEnd: BigNumberish,
|
655
|
+
description: string
|
656
|
+
];
|
657
|
+
export type OutputTuple = [
|
658
|
+
proposalId: bigint,
|
659
|
+
proposer: string,
|
660
|
+
targets: string[],
|
661
|
+
values: bigint[],
|
662
|
+
signatures: string[],
|
663
|
+
calldatas: string[],
|
664
|
+
voteStart: bigint,
|
665
|
+
voteEnd: bigint,
|
666
|
+
description: string
|
667
|
+
];
|
668
|
+
export interface OutputObject {
|
669
|
+
proposalId: bigint;
|
670
|
+
proposer: string;
|
671
|
+
targets: string[];
|
672
|
+
values: bigint[];
|
673
|
+
signatures: string[];
|
674
|
+
calldatas: string[];
|
675
|
+
voteStart: bigint;
|
676
|
+
voteEnd: bigint;
|
677
|
+
description: string;
|
678
|
+
}
|
679
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
680
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
681
|
+
export type Log = TypedEventLog<Event>;
|
682
|
+
export type LogDescription = TypedLogDescription<Event>;
|
683
|
+
}
|
684
|
+
|
685
|
+
export namespace ProposalExecutedEvent {
|
686
|
+
export type InputTuple = [proposalId: BigNumberish];
|
687
|
+
export type OutputTuple = [proposalId: bigint];
|
688
|
+
export interface OutputObject {
|
689
|
+
proposalId: bigint;
|
690
|
+
}
|
691
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
692
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
693
|
+
export type Log = TypedEventLog<Event>;
|
694
|
+
export type LogDescription = TypedLogDescription<Event>;
|
695
|
+
}
|
696
|
+
|
697
|
+
export namespace ProposalQueuedEvent {
|
698
|
+
export type InputTuple = [proposalId: BigNumberish, etaSeconds: BigNumberish];
|
699
|
+
export type OutputTuple = [proposalId: bigint, etaSeconds: bigint];
|
700
|
+
export interface OutputObject {
|
701
|
+
proposalId: bigint;
|
702
|
+
etaSeconds: bigint;
|
703
|
+
}
|
704
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
705
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
706
|
+
export type Log = TypedEventLog<Event>;
|
707
|
+
export type LogDescription = TypedLogDescription<Event>;
|
708
|
+
}
|
709
|
+
|
710
|
+
export namespace RejectedByExecutorsEvent {
|
711
|
+
export type InputTuple = [
|
712
|
+
proposalId: BigNumberish,
|
713
|
+
newProposalId: BigNumberish
|
714
|
+
];
|
715
|
+
export type OutputTuple = [proposalId: bigint, newProposalId: bigint];
|
716
|
+
export interface OutputObject {
|
717
|
+
proposalId: bigint;
|
718
|
+
newProposalId: bigint;
|
719
|
+
}
|
720
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
721
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
722
|
+
export type Log = TypedEventLog<Event>;
|
723
|
+
export type LogDescription = TypedLogDescription<Event>;
|
724
|
+
}
|
725
|
+
|
726
|
+
export namespace UpgradedEvent {
|
727
|
+
export type InputTuple = [implementation: AddressLike];
|
728
|
+
export type OutputTuple = [implementation: string];
|
729
|
+
export interface OutputObject {
|
730
|
+
implementation: string;
|
731
|
+
}
|
732
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
733
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
734
|
+
export type Log = TypedEventLog<Event>;
|
735
|
+
export type LogDescription = TypedLogDescription<Event>;
|
736
|
+
}
|
737
|
+
|
738
|
+
export namespace VoteCastEvent {
|
739
|
+
export type InputTuple = [
|
740
|
+
voter: AddressLike,
|
741
|
+
proposalId: BigNumberish,
|
742
|
+
support: BigNumberish,
|
743
|
+
weight: BigNumberish,
|
744
|
+
reason: string
|
745
|
+
];
|
746
|
+
export type OutputTuple = [
|
747
|
+
voter: string,
|
748
|
+
proposalId: bigint,
|
749
|
+
support: bigint,
|
750
|
+
weight: bigint,
|
751
|
+
reason: string
|
752
|
+
];
|
753
|
+
export interface OutputObject {
|
754
|
+
voter: string;
|
755
|
+
proposalId: bigint;
|
756
|
+
support: bigint;
|
757
|
+
weight: bigint;
|
758
|
+
reason: string;
|
759
|
+
}
|
760
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
761
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
762
|
+
export type Log = TypedEventLog<Event>;
|
763
|
+
export type LogDescription = TypedLogDescription<Event>;
|
764
|
+
}
|
765
|
+
|
766
|
+
export namespace VoteCastWithParamsEvent {
|
767
|
+
export type InputTuple = [
|
768
|
+
voter: AddressLike,
|
769
|
+
proposalId: BigNumberish,
|
770
|
+
support: BigNumberish,
|
771
|
+
weight: BigNumberish,
|
772
|
+
reason: string,
|
773
|
+
params: BytesLike
|
774
|
+
];
|
775
|
+
export type OutputTuple = [
|
776
|
+
voter: string,
|
777
|
+
proposalId: bigint,
|
778
|
+
support: bigint,
|
779
|
+
weight: bigint,
|
780
|
+
reason: string,
|
781
|
+
params: string
|
782
|
+
];
|
783
|
+
export interface OutputObject {
|
784
|
+
voter: string;
|
785
|
+
proposalId: bigint;
|
786
|
+
support: bigint;
|
787
|
+
weight: bigint;
|
788
|
+
reason: string;
|
789
|
+
params: string;
|
790
|
+
}
|
791
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
792
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
793
|
+
export type Log = TypedEventLog<Event>;
|
794
|
+
export type LogDescription = TypedLogDescription<Event>;
|
795
|
+
}
|
796
|
+
|
797
|
+
export interface Governance extends BaseContract {
|
798
|
+
contractName: "Governance";
|
799
|
+
|
800
|
+
connect(runner?: ContractRunner | null): Governance;
|
801
|
+
waitForDeployment(): Promise<this>;
|
802
|
+
|
803
|
+
interface: GovernanceInterface;
|
804
|
+
|
805
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
806
|
+
event: TCEvent,
|
807
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
808
|
+
toBlock?: string | number | undefined
|
809
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
810
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
811
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
812
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
813
|
+
toBlock?: string | number | undefined
|
814
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
815
|
+
|
816
|
+
on<TCEvent extends TypedContractEvent>(
|
817
|
+
event: TCEvent,
|
818
|
+
listener: TypedListener<TCEvent>
|
819
|
+
): Promise<this>;
|
820
|
+
on<TCEvent extends TypedContractEvent>(
|
821
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
822
|
+
listener: TypedListener<TCEvent>
|
823
|
+
): Promise<this>;
|
824
|
+
|
825
|
+
once<TCEvent extends TypedContractEvent>(
|
826
|
+
event: TCEvent,
|
827
|
+
listener: TypedListener<TCEvent>
|
828
|
+
): Promise<this>;
|
829
|
+
once<TCEvent extends TypedContractEvent>(
|
830
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
831
|
+
listener: TypedListener<TCEvent>
|
832
|
+
): Promise<this>;
|
833
|
+
|
834
|
+
listeners<TCEvent extends TypedContractEvent>(
|
835
|
+
event: TCEvent
|
836
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
837
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
838
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
839
|
+
event?: TCEvent
|
840
|
+
): Promise<this>;
|
841
|
+
|
842
|
+
BALLOT_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
843
|
+
|
844
|
+
CLOCK_MODE: TypedContractMethod<[], [string], "view">;
|
845
|
+
|
846
|
+
COUNTING_MODE: TypedContractMethod<[], [string], "view">;
|
847
|
+
|
848
|
+
EXTENDED_BALLOT_TYPEHASH: TypedContractMethod<[], [string], "view">;
|
849
|
+
|
850
|
+
UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
|
851
|
+
|
852
|
+
__Governance_init: TypedContractMethod<
|
853
|
+
[
|
854
|
+
token_: AddressLike,
|
855
|
+
executorsRegistry_: AddressLike,
|
856
|
+
neutralsRegistry_: AddressLike,
|
857
|
+
parametersRegistry_: AddressLike
|
858
|
+
],
|
859
|
+
[void],
|
860
|
+
"nonpayable"
|
861
|
+
>;
|
862
|
+
|
863
|
+
cancel: TypedContractMethod<
|
864
|
+
[
|
865
|
+
targets: AddressLike[],
|
866
|
+
values: BigNumberish[],
|
867
|
+
calldatas: BytesLike[],
|
868
|
+
descriptionHash: BytesLike
|
869
|
+
],
|
870
|
+
[bigint],
|
871
|
+
"nonpayable"
|
872
|
+
>;
|
873
|
+
|
874
|
+
castVote: TypedContractMethod<
|
875
|
+
[proposalId: BigNumberish, support: BigNumberish],
|
876
|
+
[bigint],
|
877
|
+
"nonpayable"
|
878
|
+
>;
|
879
|
+
|
880
|
+
castVoteBySig: TypedContractMethod<
|
881
|
+
[
|
882
|
+
proposalId: BigNumberish,
|
883
|
+
support: BigNumberish,
|
884
|
+
voter: AddressLike,
|
885
|
+
signature: BytesLike
|
886
|
+
],
|
887
|
+
[bigint],
|
888
|
+
"nonpayable"
|
889
|
+
>;
|
890
|
+
|
891
|
+
castVoteWithReason: TypedContractMethod<
|
892
|
+
[proposalId: BigNumberish, support: BigNumberish, reason: string],
|
893
|
+
[bigint],
|
894
|
+
"nonpayable"
|
895
|
+
>;
|
896
|
+
|
897
|
+
castVoteWithReasonAndParams: TypedContractMethod<
|
898
|
+
[
|
899
|
+
proposalId: BigNumberish,
|
900
|
+
support: BigNumberish,
|
901
|
+
reason: string,
|
902
|
+
params: BytesLike
|
903
|
+
],
|
904
|
+
[bigint],
|
905
|
+
"nonpayable"
|
906
|
+
>;
|
907
|
+
|
908
|
+
castVoteWithReasonAndParamsBySig: TypedContractMethod<
|
909
|
+
[
|
910
|
+
proposalId: BigNumberish,
|
911
|
+
support: BigNumberish,
|
912
|
+
voter: AddressLike,
|
913
|
+
reason: string,
|
914
|
+
params: BytesLike,
|
915
|
+
signature: BytesLike
|
916
|
+
],
|
917
|
+
[bigint],
|
918
|
+
"nonpayable"
|
919
|
+
>;
|
920
|
+
|
921
|
+
clock: TypedContractMethod<[], [bigint], "view">;
|
922
|
+
|
923
|
+
eip712Domain: TypedContractMethod<
|
924
|
+
[],
|
925
|
+
[
|
926
|
+
[string, string, string, bigint, string, string, bigint[]] & {
|
927
|
+
fields: string;
|
928
|
+
name: string;
|
929
|
+
version: string;
|
930
|
+
chainId: bigint;
|
931
|
+
verifyingContract: string;
|
932
|
+
salt: string;
|
933
|
+
extensions: bigint[];
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"view"
|
937
|
+
>;
|
938
|
+
|
939
|
+
execute: TypedContractMethod<
|
940
|
+
[
|
941
|
+
targets: AddressLike[],
|
942
|
+
values: BigNumberish[],
|
943
|
+
calldatas: BytesLike[],
|
944
|
+
descriptionHash: BytesLike
|
945
|
+
],
|
946
|
+
[bigint],
|
947
|
+
"payable"
|
948
|
+
>;
|
949
|
+
|
950
|
+
getExecutorsThreshold: TypedContractMethod<[], [bigint], "view">;
|
951
|
+
|
952
|
+
getExecutorsVotingPeriod: TypedContractMethod<[], [bigint], "view">;
|
953
|
+
|
954
|
+
getNeutralsThreshold: TypedContractMethod<[], [bigint], "view">;
|
955
|
+
|
956
|
+
getNeutralsVotingPeriod: TypedContractMethod<[], [bigint], "view">;
|
957
|
+
|
958
|
+
getParametersRegistry: TypedContractMethod<[], [string], "view">;
|
959
|
+
|
960
|
+
getProposalData: TypedContractMethod<
|
961
|
+
[proposalId: BigNumberish],
|
962
|
+
[
|
963
|
+
[
|
964
|
+
Governance.SLCProposalStateViewStructOutput,
|
965
|
+
GovernorUpgradeable.ProposalCoreStructOutput
|
966
|
+
]
|
967
|
+
],
|
968
|
+
"view"
|
969
|
+
>;
|
970
|
+
|
971
|
+
getProposalId: TypedContractMethod<
|
972
|
+
[
|
973
|
+
targets: AddressLike[],
|
974
|
+
values: BigNumberish[],
|
975
|
+
calldatas: BytesLike[],
|
976
|
+
descriptionHash: BytesLike
|
977
|
+
],
|
978
|
+
[bigint],
|
979
|
+
"view"
|
980
|
+
>;
|
981
|
+
|
982
|
+
getProposalsByServiceRequest: TypedContractMethod<
|
983
|
+
[
|
984
|
+
slcCore_: AddressLike,
|
985
|
+
requestNumber_: BigNumberish,
|
986
|
+
offset_: BigNumberish,
|
987
|
+
limit_: BigNumberish
|
988
|
+
],
|
989
|
+
[
|
990
|
+
[
|
991
|
+
Governance.SLCProposalStateViewStructOutput[],
|
992
|
+
GovernorUpgradeable.ProposalCoreStructOutput[]
|
993
|
+
]
|
994
|
+
],
|
995
|
+
"view"
|
996
|
+
>;
|
997
|
+
|
998
|
+
getServiceRequestsBySLCCore: TypedContractMethod<
|
999
|
+
[slcCore_: AddressLike, offset_: BigNumberish, limit_: BigNumberish],
|
1000
|
+
[Governance.ServiceRequestStateStructOutput[]],
|
1001
|
+
"view"
|
1002
|
+
>;
|
1003
|
+
|
1004
|
+
getSystemToken: TypedContractMethod<[], [string], "view">;
|
1005
|
+
|
1006
|
+
getVotes: TypedContractMethod<
|
1007
|
+
[account: AddressLike, timepoint: BigNumberish],
|
1008
|
+
[bigint],
|
1009
|
+
"view"
|
1010
|
+
>;
|
1011
|
+
|
1012
|
+
getVotesWithParams: TypedContractMethod<
|
1013
|
+
[account: AddressLike, timepoint: BigNumberish, params: BytesLike],
|
1014
|
+
[bigint],
|
1015
|
+
"view"
|
1016
|
+
>;
|
1017
|
+
|
1018
|
+
hasVoted: TypedContractMethod<
|
1019
|
+
[proposalId: BigNumberish, account: AddressLike],
|
1020
|
+
[boolean],
|
1021
|
+
"view"
|
1022
|
+
>;
|
1023
|
+
|
1024
|
+
hashOperation: TypedContractMethod<
|
1025
|
+
[operation_: IGovernance.OperationBundleStruct],
|
1026
|
+
[string],
|
1027
|
+
"view"
|
1028
|
+
>;
|
1029
|
+
|
1030
|
+
hashProposal: TypedContractMethod<
|
1031
|
+
[
|
1032
|
+
targets: AddressLike[],
|
1033
|
+
values: BigNumberish[],
|
1034
|
+
calldatas: BytesLike[],
|
1035
|
+
descriptionHash: BytesLike
|
1036
|
+
],
|
1037
|
+
[bigint],
|
1038
|
+
"view"
|
1039
|
+
>;
|
1040
|
+
|
1041
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
1042
|
+
|
1043
|
+
name: TypedContractMethod<[], [string], "view">;
|
1044
|
+
|
1045
|
+
nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
1046
|
+
|
1047
|
+
onERC1155BatchReceived: TypedContractMethod<
|
1048
|
+
[
|
1049
|
+
arg0: AddressLike,
|
1050
|
+
arg1: AddressLike,
|
1051
|
+
arg2: BigNumberish[],
|
1052
|
+
arg3: BigNumberish[],
|
1053
|
+
arg4: BytesLike
|
1054
|
+
],
|
1055
|
+
[string],
|
1056
|
+
"nonpayable"
|
1057
|
+
>;
|
1058
|
+
|
1059
|
+
onERC1155Received: TypedContractMethod<
|
1060
|
+
[
|
1061
|
+
arg0: AddressLike,
|
1062
|
+
arg1: AddressLike,
|
1063
|
+
arg2: BigNumberish,
|
1064
|
+
arg3: BigNumberish,
|
1065
|
+
arg4: BytesLike
|
1066
|
+
],
|
1067
|
+
[string],
|
1068
|
+
"nonpayable"
|
1069
|
+
>;
|
1070
|
+
|
1071
|
+
onERC721Received: TypedContractMethod<
|
1072
|
+
[arg0: AddressLike, arg1: AddressLike, arg2: BigNumberish, arg3: BytesLike],
|
1073
|
+
[string],
|
1074
|
+
"nonpayable"
|
1075
|
+
>;
|
1076
|
+
|
1077
|
+
processServiceRequest: TypedContractMethod<
|
1078
|
+
[
|
1079
|
+
requester_: AddressLike,
|
1080
|
+
serviceFee_: BigNumberish,
|
1081
|
+
neutralsNumber_: BigNumberish,
|
1082
|
+
additionalLink_: string,
|
1083
|
+
data_: BytesLike
|
1084
|
+
],
|
1085
|
+
[boolean],
|
1086
|
+
"payable"
|
1087
|
+
>;
|
1088
|
+
|
1089
|
+
proposalDeadline: TypedContractMethod<
|
1090
|
+
[proposalId: BigNumberish],
|
1091
|
+
[bigint],
|
1092
|
+
"view"
|
1093
|
+
>;
|
1094
|
+
|
1095
|
+
proposalEta: TypedContractMethod<
|
1096
|
+
[proposalId: BigNumberish],
|
1097
|
+
[bigint],
|
1098
|
+
"view"
|
1099
|
+
>;
|
1100
|
+
|
1101
|
+
proposalNeedsQueuing: TypedContractMethod<
|
1102
|
+
[arg0: BigNumberish],
|
1103
|
+
[boolean],
|
1104
|
+
"view"
|
1105
|
+
>;
|
1106
|
+
|
1107
|
+
proposalProposer: TypedContractMethod<
|
1108
|
+
[proposalId: BigNumberish],
|
1109
|
+
[string],
|
1110
|
+
"view"
|
1111
|
+
>;
|
1112
|
+
|
1113
|
+
proposalSnapshot: TypedContractMethod<
|
1114
|
+
[proposalId: BigNumberish],
|
1115
|
+
[bigint],
|
1116
|
+
"view"
|
1117
|
+
>;
|
1118
|
+
|
1119
|
+
proposalThreshold: TypedContractMethod<[], [bigint], "view">;
|
1120
|
+
|
1121
|
+
propose: TypedContractMethod<
|
1122
|
+
[
|
1123
|
+
targets: AddressLike[],
|
1124
|
+
values: BigNumberish[],
|
1125
|
+
calldatas: BytesLike[],
|
1126
|
+
description: string
|
1127
|
+
],
|
1128
|
+
[bigint],
|
1129
|
+
"nonpayable"
|
1130
|
+
>;
|
1131
|
+
|
1132
|
+
proposeOperations: TypedContractMethod<
|
1133
|
+
[
|
1134
|
+
proposalId_: BigNumberish,
|
1135
|
+
operationBundle_: IGovernance.OperationBundleStruct
|
1136
|
+
],
|
1137
|
+
[void],
|
1138
|
+
"nonpayable"
|
1139
|
+
>;
|
1140
|
+
|
1141
|
+
proxiableUUID: TypedContractMethod<[], [string], "view">;
|
1142
|
+
|
1143
|
+
queue: TypedContractMethod<
|
1144
|
+
[
|
1145
|
+
targets: AddressLike[],
|
1146
|
+
values: BigNumberish[],
|
1147
|
+
calldatas: BytesLike[],
|
1148
|
+
descriptionHash: BytesLike
|
1149
|
+
],
|
1150
|
+
[bigint],
|
1151
|
+
"nonpayable"
|
1152
|
+
>;
|
1153
|
+
|
1154
|
+
quorum: TypedContractMethod<[timepoint: BigNumberish], [bigint], "view">;
|
1155
|
+
|
1156
|
+
relay: TypedContractMethod<
|
1157
|
+
[target: AddressLike, value: BigNumberish, data: BytesLike],
|
1158
|
+
[void],
|
1159
|
+
"payable"
|
1160
|
+
>;
|
1161
|
+
|
1162
|
+
state: TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
1163
|
+
|
1164
|
+
supportsInterface: TypedContractMethod<
|
1165
|
+
[interfaceId_: BytesLike],
|
1166
|
+
[boolean],
|
1167
|
+
"view"
|
1168
|
+
>;
|
1169
|
+
|
1170
|
+
upgradeToAndCall: TypedContractMethod<
|
1171
|
+
[newImplementation: AddressLike, data: BytesLike],
|
1172
|
+
[void],
|
1173
|
+
"payable"
|
1174
|
+
>;
|
1175
|
+
|
1176
|
+
version: TypedContractMethod<[], [string], "view">;
|
1177
|
+
|
1178
|
+
votingDelay: TypedContractMethod<[], [bigint], "view">;
|
1179
|
+
|
1180
|
+
votingPeriod: TypedContractMethod<[], [bigint], "view">;
|
1181
|
+
|
1182
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
1183
|
+
key: string | FunctionFragment
|
1184
|
+
): T;
|
1185
|
+
|
1186
|
+
getFunction(
|
1187
|
+
nameOrSignature: "BALLOT_TYPEHASH"
|
1188
|
+
): TypedContractMethod<[], [string], "view">;
|
1189
|
+
getFunction(
|
1190
|
+
nameOrSignature: "CLOCK_MODE"
|
1191
|
+
): TypedContractMethod<[], [string], "view">;
|
1192
|
+
getFunction(
|
1193
|
+
nameOrSignature: "COUNTING_MODE"
|
1194
|
+
): TypedContractMethod<[], [string], "view">;
|
1195
|
+
getFunction(
|
1196
|
+
nameOrSignature: "EXTENDED_BALLOT_TYPEHASH"
|
1197
|
+
): TypedContractMethod<[], [string], "view">;
|
1198
|
+
getFunction(
|
1199
|
+
nameOrSignature: "UPGRADE_INTERFACE_VERSION"
|
1200
|
+
): TypedContractMethod<[], [string], "view">;
|
1201
|
+
getFunction(
|
1202
|
+
nameOrSignature: "__Governance_init"
|
1203
|
+
): TypedContractMethod<
|
1204
|
+
[
|
1205
|
+
token_: AddressLike,
|
1206
|
+
executorsRegistry_: AddressLike,
|
1207
|
+
neutralsRegistry_: AddressLike,
|
1208
|
+
parametersRegistry_: AddressLike
|
1209
|
+
],
|
1210
|
+
[void],
|
1211
|
+
"nonpayable"
|
1212
|
+
>;
|
1213
|
+
getFunction(
|
1214
|
+
nameOrSignature: "cancel"
|
1215
|
+
): TypedContractMethod<
|
1216
|
+
[
|
1217
|
+
targets: AddressLike[],
|
1218
|
+
values: BigNumberish[],
|
1219
|
+
calldatas: BytesLike[],
|
1220
|
+
descriptionHash: BytesLike
|
1221
|
+
],
|
1222
|
+
[bigint],
|
1223
|
+
"nonpayable"
|
1224
|
+
>;
|
1225
|
+
getFunction(
|
1226
|
+
nameOrSignature: "castVote"
|
1227
|
+
): TypedContractMethod<
|
1228
|
+
[proposalId: BigNumberish, support: BigNumberish],
|
1229
|
+
[bigint],
|
1230
|
+
"nonpayable"
|
1231
|
+
>;
|
1232
|
+
getFunction(
|
1233
|
+
nameOrSignature: "castVoteBySig"
|
1234
|
+
): TypedContractMethod<
|
1235
|
+
[
|
1236
|
+
proposalId: BigNumberish,
|
1237
|
+
support: BigNumberish,
|
1238
|
+
voter: AddressLike,
|
1239
|
+
signature: BytesLike
|
1240
|
+
],
|
1241
|
+
[bigint],
|
1242
|
+
"nonpayable"
|
1243
|
+
>;
|
1244
|
+
getFunction(
|
1245
|
+
nameOrSignature: "castVoteWithReason"
|
1246
|
+
): TypedContractMethod<
|
1247
|
+
[proposalId: BigNumberish, support: BigNumberish, reason: string],
|
1248
|
+
[bigint],
|
1249
|
+
"nonpayable"
|
1250
|
+
>;
|
1251
|
+
getFunction(
|
1252
|
+
nameOrSignature: "castVoteWithReasonAndParams"
|
1253
|
+
): TypedContractMethod<
|
1254
|
+
[
|
1255
|
+
proposalId: BigNumberish,
|
1256
|
+
support: BigNumberish,
|
1257
|
+
reason: string,
|
1258
|
+
params: BytesLike
|
1259
|
+
],
|
1260
|
+
[bigint],
|
1261
|
+
"nonpayable"
|
1262
|
+
>;
|
1263
|
+
getFunction(
|
1264
|
+
nameOrSignature: "castVoteWithReasonAndParamsBySig"
|
1265
|
+
): TypedContractMethod<
|
1266
|
+
[
|
1267
|
+
proposalId: BigNumberish,
|
1268
|
+
support: BigNumberish,
|
1269
|
+
voter: AddressLike,
|
1270
|
+
reason: string,
|
1271
|
+
params: BytesLike,
|
1272
|
+
signature: BytesLike
|
1273
|
+
],
|
1274
|
+
[bigint],
|
1275
|
+
"nonpayable"
|
1276
|
+
>;
|
1277
|
+
getFunction(
|
1278
|
+
nameOrSignature: "clock"
|
1279
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1280
|
+
getFunction(
|
1281
|
+
nameOrSignature: "eip712Domain"
|
1282
|
+
): TypedContractMethod<
|
1283
|
+
[],
|
1284
|
+
[
|
1285
|
+
[string, string, string, bigint, string, string, bigint[]] & {
|
1286
|
+
fields: string;
|
1287
|
+
name: string;
|
1288
|
+
version: string;
|
1289
|
+
chainId: bigint;
|
1290
|
+
verifyingContract: string;
|
1291
|
+
salt: string;
|
1292
|
+
extensions: bigint[];
|
1293
|
+
}
|
1294
|
+
],
|
1295
|
+
"view"
|
1296
|
+
>;
|
1297
|
+
getFunction(
|
1298
|
+
nameOrSignature: "execute"
|
1299
|
+
): TypedContractMethod<
|
1300
|
+
[
|
1301
|
+
targets: AddressLike[],
|
1302
|
+
values: BigNumberish[],
|
1303
|
+
calldatas: BytesLike[],
|
1304
|
+
descriptionHash: BytesLike
|
1305
|
+
],
|
1306
|
+
[bigint],
|
1307
|
+
"payable"
|
1308
|
+
>;
|
1309
|
+
getFunction(
|
1310
|
+
nameOrSignature: "getExecutorsThreshold"
|
1311
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1312
|
+
getFunction(
|
1313
|
+
nameOrSignature: "getExecutorsVotingPeriod"
|
1314
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1315
|
+
getFunction(
|
1316
|
+
nameOrSignature: "getNeutralsThreshold"
|
1317
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1318
|
+
getFunction(
|
1319
|
+
nameOrSignature: "getNeutralsVotingPeriod"
|
1320
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1321
|
+
getFunction(
|
1322
|
+
nameOrSignature: "getParametersRegistry"
|
1323
|
+
): TypedContractMethod<[], [string], "view">;
|
1324
|
+
getFunction(
|
1325
|
+
nameOrSignature: "getProposalData"
|
1326
|
+
): TypedContractMethod<
|
1327
|
+
[proposalId: BigNumberish],
|
1328
|
+
[
|
1329
|
+
[
|
1330
|
+
Governance.SLCProposalStateViewStructOutput,
|
1331
|
+
GovernorUpgradeable.ProposalCoreStructOutput
|
1332
|
+
]
|
1333
|
+
],
|
1334
|
+
"view"
|
1335
|
+
>;
|
1336
|
+
getFunction(
|
1337
|
+
nameOrSignature: "getProposalId"
|
1338
|
+
): TypedContractMethod<
|
1339
|
+
[
|
1340
|
+
targets: AddressLike[],
|
1341
|
+
values: BigNumberish[],
|
1342
|
+
calldatas: BytesLike[],
|
1343
|
+
descriptionHash: BytesLike
|
1344
|
+
],
|
1345
|
+
[bigint],
|
1346
|
+
"view"
|
1347
|
+
>;
|
1348
|
+
getFunction(
|
1349
|
+
nameOrSignature: "getProposalsByServiceRequest"
|
1350
|
+
): TypedContractMethod<
|
1351
|
+
[
|
1352
|
+
slcCore_: AddressLike,
|
1353
|
+
requestNumber_: BigNumberish,
|
1354
|
+
offset_: BigNumberish,
|
1355
|
+
limit_: BigNumberish
|
1356
|
+
],
|
1357
|
+
[
|
1358
|
+
[
|
1359
|
+
Governance.SLCProposalStateViewStructOutput[],
|
1360
|
+
GovernorUpgradeable.ProposalCoreStructOutput[]
|
1361
|
+
]
|
1362
|
+
],
|
1363
|
+
"view"
|
1364
|
+
>;
|
1365
|
+
getFunction(
|
1366
|
+
nameOrSignature: "getServiceRequestsBySLCCore"
|
1367
|
+
): TypedContractMethod<
|
1368
|
+
[slcCore_: AddressLike, offset_: BigNumberish, limit_: BigNumberish],
|
1369
|
+
[Governance.ServiceRequestStateStructOutput[]],
|
1370
|
+
"view"
|
1371
|
+
>;
|
1372
|
+
getFunction(
|
1373
|
+
nameOrSignature: "getSystemToken"
|
1374
|
+
): TypedContractMethod<[], [string], "view">;
|
1375
|
+
getFunction(
|
1376
|
+
nameOrSignature: "getVotes"
|
1377
|
+
): TypedContractMethod<
|
1378
|
+
[account: AddressLike, timepoint: BigNumberish],
|
1379
|
+
[bigint],
|
1380
|
+
"view"
|
1381
|
+
>;
|
1382
|
+
getFunction(
|
1383
|
+
nameOrSignature: "getVotesWithParams"
|
1384
|
+
): TypedContractMethod<
|
1385
|
+
[account: AddressLike, timepoint: BigNumberish, params: BytesLike],
|
1386
|
+
[bigint],
|
1387
|
+
"view"
|
1388
|
+
>;
|
1389
|
+
getFunction(
|
1390
|
+
nameOrSignature: "hasVoted"
|
1391
|
+
): TypedContractMethod<
|
1392
|
+
[proposalId: BigNumberish, account: AddressLike],
|
1393
|
+
[boolean],
|
1394
|
+
"view"
|
1395
|
+
>;
|
1396
|
+
getFunction(
|
1397
|
+
nameOrSignature: "hashOperation"
|
1398
|
+
): TypedContractMethod<
|
1399
|
+
[operation_: IGovernance.OperationBundleStruct],
|
1400
|
+
[string],
|
1401
|
+
"view"
|
1402
|
+
>;
|
1403
|
+
getFunction(
|
1404
|
+
nameOrSignature: "hashProposal"
|
1405
|
+
): TypedContractMethod<
|
1406
|
+
[
|
1407
|
+
targets: AddressLike[],
|
1408
|
+
values: BigNumberish[],
|
1409
|
+
calldatas: BytesLike[],
|
1410
|
+
descriptionHash: BytesLike
|
1411
|
+
],
|
1412
|
+
[bigint],
|
1413
|
+
"view"
|
1414
|
+
>;
|
1415
|
+
getFunction(
|
1416
|
+
nameOrSignature: "implementation"
|
1417
|
+
): TypedContractMethod<[], [string], "view">;
|
1418
|
+
getFunction(
|
1419
|
+
nameOrSignature: "name"
|
1420
|
+
): TypedContractMethod<[], [string], "view">;
|
1421
|
+
getFunction(
|
1422
|
+
nameOrSignature: "nonces"
|
1423
|
+
): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
1424
|
+
getFunction(
|
1425
|
+
nameOrSignature: "onERC1155BatchReceived"
|
1426
|
+
): TypedContractMethod<
|
1427
|
+
[
|
1428
|
+
arg0: AddressLike,
|
1429
|
+
arg1: AddressLike,
|
1430
|
+
arg2: BigNumberish[],
|
1431
|
+
arg3: BigNumberish[],
|
1432
|
+
arg4: BytesLike
|
1433
|
+
],
|
1434
|
+
[string],
|
1435
|
+
"nonpayable"
|
1436
|
+
>;
|
1437
|
+
getFunction(
|
1438
|
+
nameOrSignature: "onERC1155Received"
|
1439
|
+
): TypedContractMethod<
|
1440
|
+
[
|
1441
|
+
arg0: AddressLike,
|
1442
|
+
arg1: AddressLike,
|
1443
|
+
arg2: BigNumberish,
|
1444
|
+
arg3: BigNumberish,
|
1445
|
+
arg4: BytesLike
|
1446
|
+
],
|
1447
|
+
[string],
|
1448
|
+
"nonpayable"
|
1449
|
+
>;
|
1450
|
+
getFunction(
|
1451
|
+
nameOrSignature: "onERC721Received"
|
1452
|
+
): TypedContractMethod<
|
1453
|
+
[arg0: AddressLike, arg1: AddressLike, arg2: BigNumberish, arg3: BytesLike],
|
1454
|
+
[string],
|
1455
|
+
"nonpayable"
|
1456
|
+
>;
|
1457
|
+
getFunction(
|
1458
|
+
nameOrSignature: "processServiceRequest"
|
1459
|
+
): TypedContractMethod<
|
1460
|
+
[
|
1461
|
+
requester_: AddressLike,
|
1462
|
+
serviceFee_: BigNumberish,
|
1463
|
+
neutralsNumber_: BigNumberish,
|
1464
|
+
additionalLink_: string,
|
1465
|
+
data_: BytesLike
|
1466
|
+
],
|
1467
|
+
[boolean],
|
1468
|
+
"payable"
|
1469
|
+
>;
|
1470
|
+
getFunction(
|
1471
|
+
nameOrSignature: "proposalDeadline"
|
1472
|
+
): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
1473
|
+
getFunction(
|
1474
|
+
nameOrSignature: "proposalEta"
|
1475
|
+
): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
1476
|
+
getFunction(
|
1477
|
+
nameOrSignature: "proposalNeedsQueuing"
|
1478
|
+
): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
1479
|
+
getFunction(
|
1480
|
+
nameOrSignature: "proposalProposer"
|
1481
|
+
): TypedContractMethod<[proposalId: BigNumberish], [string], "view">;
|
1482
|
+
getFunction(
|
1483
|
+
nameOrSignature: "proposalSnapshot"
|
1484
|
+
): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
1485
|
+
getFunction(
|
1486
|
+
nameOrSignature: "proposalThreshold"
|
1487
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1488
|
+
getFunction(
|
1489
|
+
nameOrSignature: "propose"
|
1490
|
+
): TypedContractMethod<
|
1491
|
+
[
|
1492
|
+
targets: AddressLike[],
|
1493
|
+
values: BigNumberish[],
|
1494
|
+
calldatas: BytesLike[],
|
1495
|
+
description: string
|
1496
|
+
],
|
1497
|
+
[bigint],
|
1498
|
+
"nonpayable"
|
1499
|
+
>;
|
1500
|
+
getFunction(
|
1501
|
+
nameOrSignature: "proposeOperations"
|
1502
|
+
): TypedContractMethod<
|
1503
|
+
[
|
1504
|
+
proposalId_: BigNumberish,
|
1505
|
+
operationBundle_: IGovernance.OperationBundleStruct
|
1506
|
+
],
|
1507
|
+
[void],
|
1508
|
+
"nonpayable"
|
1509
|
+
>;
|
1510
|
+
getFunction(
|
1511
|
+
nameOrSignature: "proxiableUUID"
|
1512
|
+
): TypedContractMethod<[], [string], "view">;
|
1513
|
+
getFunction(
|
1514
|
+
nameOrSignature: "queue"
|
1515
|
+
): TypedContractMethod<
|
1516
|
+
[
|
1517
|
+
targets: AddressLike[],
|
1518
|
+
values: BigNumberish[],
|
1519
|
+
calldatas: BytesLike[],
|
1520
|
+
descriptionHash: BytesLike
|
1521
|
+
],
|
1522
|
+
[bigint],
|
1523
|
+
"nonpayable"
|
1524
|
+
>;
|
1525
|
+
getFunction(
|
1526
|
+
nameOrSignature: "quorum"
|
1527
|
+
): TypedContractMethod<[timepoint: BigNumberish], [bigint], "view">;
|
1528
|
+
getFunction(
|
1529
|
+
nameOrSignature: "relay"
|
1530
|
+
): TypedContractMethod<
|
1531
|
+
[target: AddressLike, value: BigNumberish, data: BytesLike],
|
1532
|
+
[void],
|
1533
|
+
"payable"
|
1534
|
+
>;
|
1535
|
+
getFunction(
|
1536
|
+
nameOrSignature: "state"
|
1537
|
+
): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
1538
|
+
getFunction(
|
1539
|
+
nameOrSignature: "supportsInterface"
|
1540
|
+
): TypedContractMethod<[interfaceId_: BytesLike], [boolean], "view">;
|
1541
|
+
getFunction(
|
1542
|
+
nameOrSignature: "upgradeToAndCall"
|
1543
|
+
): TypedContractMethod<
|
1544
|
+
[newImplementation: AddressLike, data: BytesLike],
|
1545
|
+
[void],
|
1546
|
+
"payable"
|
1547
|
+
>;
|
1548
|
+
getFunction(
|
1549
|
+
nameOrSignature: "version"
|
1550
|
+
): TypedContractMethod<[], [string], "view">;
|
1551
|
+
getFunction(
|
1552
|
+
nameOrSignature: "votingDelay"
|
1553
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1554
|
+
getFunction(
|
1555
|
+
nameOrSignature: "votingPeriod"
|
1556
|
+
): TypedContractMethod<[], [bigint], "view">;
|
1557
|
+
|
1558
|
+
getEvent(
|
1559
|
+
key: "EIP712DomainChanged"
|
1560
|
+
): TypedContractEvent<
|
1561
|
+
EIP712DomainChangedEvent.InputTuple,
|
1562
|
+
EIP712DomainChangedEvent.OutputTuple,
|
1563
|
+
EIP712DomainChangedEvent.OutputObject
|
1564
|
+
>;
|
1565
|
+
getEvent(
|
1566
|
+
key: "Initialized"
|
1567
|
+
): TypedContractEvent<
|
1568
|
+
InitializedEvent.InputTuple,
|
1569
|
+
InitializedEvent.OutputTuple,
|
1570
|
+
InitializedEvent.OutputObject
|
1571
|
+
>;
|
1572
|
+
getEvent(
|
1573
|
+
key: "ProposalCanceled"
|
1574
|
+
): TypedContractEvent<
|
1575
|
+
ProposalCanceledEvent.InputTuple,
|
1576
|
+
ProposalCanceledEvent.OutputTuple,
|
1577
|
+
ProposalCanceledEvent.OutputObject
|
1578
|
+
>;
|
1579
|
+
getEvent(
|
1580
|
+
key: "ProposalCreated"
|
1581
|
+
): TypedContractEvent<
|
1582
|
+
ProposalCreatedEvent.InputTuple,
|
1583
|
+
ProposalCreatedEvent.OutputTuple,
|
1584
|
+
ProposalCreatedEvent.OutputObject
|
1585
|
+
>;
|
1586
|
+
getEvent(
|
1587
|
+
key: "ProposalExecuted"
|
1588
|
+
): TypedContractEvent<
|
1589
|
+
ProposalExecutedEvent.InputTuple,
|
1590
|
+
ProposalExecutedEvent.OutputTuple,
|
1591
|
+
ProposalExecutedEvent.OutputObject
|
1592
|
+
>;
|
1593
|
+
getEvent(
|
1594
|
+
key: "ProposalQueued"
|
1595
|
+
): TypedContractEvent<
|
1596
|
+
ProposalQueuedEvent.InputTuple,
|
1597
|
+
ProposalQueuedEvent.OutputTuple,
|
1598
|
+
ProposalQueuedEvent.OutputObject
|
1599
|
+
>;
|
1600
|
+
getEvent(
|
1601
|
+
key: "RejectedByExecutors"
|
1602
|
+
): TypedContractEvent<
|
1603
|
+
RejectedByExecutorsEvent.InputTuple,
|
1604
|
+
RejectedByExecutorsEvent.OutputTuple,
|
1605
|
+
RejectedByExecutorsEvent.OutputObject
|
1606
|
+
>;
|
1607
|
+
getEvent(
|
1608
|
+
key: "Upgraded"
|
1609
|
+
): TypedContractEvent<
|
1610
|
+
UpgradedEvent.InputTuple,
|
1611
|
+
UpgradedEvent.OutputTuple,
|
1612
|
+
UpgradedEvent.OutputObject
|
1613
|
+
>;
|
1614
|
+
getEvent(
|
1615
|
+
key: "VoteCast"
|
1616
|
+
): TypedContractEvent<
|
1617
|
+
VoteCastEvent.InputTuple,
|
1618
|
+
VoteCastEvent.OutputTuple,
|
1619
|
+
VoteCastEvent.OutputObject
|
1620
|
+
>;
|
1621
|
+
getEvent(
|
1622
|
+
key: "VoteCastWithParams"
|
1623
|
+
): TypedContractEvent<
|
1624
|
+
VoteCastWithParamsEvent.InputTuple,
|
1625
|
+
VoteCastWithParamsEvent.OutputTuple,
|
1626
|
+
VoteCastWithParamsEvent.OutputObject
|
1627
|
+
>;
|
1628
|
+
|
1629
|
+
filters: {
|
1630
|
+
"EIP712DomainChanged()": TypedContractEvent<
|
1631
|
+
EIP712DomainChangedEvent.InputTuple,
|
1632
|
+
EIP712DomainChangedEvent.OutputTuple,
|
1633
|
+
EIP712DomainChangedEvent.OutputObject
|
1634
|
+
>;
|
1635
|
+
EIP712DomainChanged: TypedContractEvent<
|
1636
|
+
EIP712DomainChangedEvent.InputTuple,
|
1637
|
+
EIP712DomainChangedEvent.OutputTuple,
|
1638
|
+
EIP712DomainChangedEvent.OutputObject
|
1639
|
+
>;
|
1640
|
+
|
1641
|
+
"Initialized(uint64)": TypedContractEvent<
|
1642
|
+
InitializedEvent.InputTuple,
|
1643
|
+
InitializedEvent.OutputTuple,
|
1644
|
+
InitializedEvent.OutputObject
|
1645
|
+
>;
|
1646
|
+
Initialized: TypedContractEvent<
|
1647
|
+
InitializedEvent.InputTuple,
|
1648
|
+
InitializedEvent.OutputTuple,
|
1649
|
+
InitializedEvent.OutputObject
|
1650
|
+
>;
|
1651
|
+
|
1652
|
+
"ProposalCanceled(uint256)": TypedContractEvent<
|
1653
|
+
ProposalCanceledEvent.InputTuple,
|
1654
|
+
ProposalCanceledEvent.OutputTuple,
|
1655
|
+
ProposalCanceledEvent.OutputObject
|
1656
|
+
>;
|
1657
|
+
ProposalCanceled: TypedContractEvent<
|
1658
|
+
ProposalCanceledEvent.InputTuple,
|
1659
|
+
ProposalCanceledEvent.OutputTuple,
|
1660
|
+
ProposalCanceledEvent.OutputObject
|
1661
|
+
>;
|
1662
|
+
|
1663
|
+
"ProposalCreated(uint256,address,address[],uint256[],string[],bytes[],uint256,uint256,string)": TypedContractEvent<
|
1664
|
+
ProposalCreatedEvent.InputTuple,
|
1665
|
+
ProposalCreatedEvent.OutputTuple,
|
1666
|
+
ProposalCreatedEvent.OutputObject
|
1667
|
+
>;
|
1668
|
+
ProposalCreated: TypedContractEvent<
|
1669
|
+
ProposalCreatedEvent.InputTuple,
|
1670
|
+
ProposalCreatedEvent.OutputTuple,
|
1671
|
+
ProposalCreatedEvent.OutputObject
|
1672
|
+
>;
|
1673
|
+
|
1674
|
+
"ProposalExecuted(uint256)": TypedContractEvent<
|
1675
|
+
ProposalExecutedEvent.InputTuple,
|
1676
|
+
ProposalExecutedEvent.OutputTuple,
|
1677
|
+
ProposalExecutedEvent.OutputObject
|
1678
|
+
>;
|
1679
|
+
ProposalExecuted: TypedContractEvent<
|
1680
|
+
ProposalExecutedEvent.InputTuple,
|
1681
|
+
ProposalExecutedEvent.OutputTuple,
|
1682
|
+
ProposalExecutedEvent.OutputObject
|
1683
|
+
>;
|
1684
|
+
|
1685
|
+
"ProposalQueued(uint256,uint256)": TypedContractEvent<
|
1686
|
+
ProposalQueuedEvent.InputTuple,
|
1687
|
+
ProposalQueuedEvent.OutputTuple,
|
1688
|
+
ProposalQueuedEvent.OutputObject
|
1689
|
+
>;
|
1690
|
+
ProposalQueued: TypedContractEvent<
|
1691
|
+
ProposalQueuedEvent.InputTuple,
|
1692
|
+
ProposalQueuedEvent.OutputTuple,
|
1693
|
+
ProposalQueuedEvent.OutputObject
|
1694
|
+
>;
|
1695
|
+
|
1696
|
+
"RejectedByExecutors(uint256,uint256)": TypedContractEvent<
|
1697
|
+
RejectedByExecutorsEvent.InputTuple,
|
1698
|
+
RejectedByExecutorsEvent.OutputTuple,
|
1699
|
+
RejectedByExecutorsEvent.OutputObject
|
1700
|
+
>;
|
1701
|
+
RejectedByExecutors: TypedContractEvent<
|
1702
|
+
RejectedByExecutorsEvent.InputTuple,
|
1703
|
+
RejectedByExecutorsEvent.OutputTuple,
|
1704
|
+
RejectedByExecutorsEvent.OutputObject
|
1705
|
+
>;
|
1706
|
+
|
1707
|
+
"Upgraded(address)": TypedContractEvent<
|
1708
|
+
UpgradedEvent.InputTuple,
|
1709
|
+
UpgradedEvent.OutputTuple,
|
1710
|
+
UpgradedEvent.OutputObject
|
1711
|
+
>;
|
1712
|
+
Upgraded: TypedContractEvent<
|
1713
|
+
UpgradedEvent.InputTuple,
|
1714
|
+
UpgradedEvent.OutputTuple,
|
1715
|
+
UpgradedEvent.OutputObject
|
1716
|
+
>;
|
1717
|
+
|
1718
|
+
"VoteCast(address,uint256,uint8,uint256,string)": TypedContractEvent<
|
1719
|
+
VoteCastEvent.InputTuple,
|
1720
|
+
VoteCastEvent.OutputTuple,
|
1721
|
+
VoteCastEvent.OutputObject
|
1722
|
+
>;
|
1723
|
+
VoteCast: TypedContractEvent<
|
1724
|
+
VoteCastEvent.InputTuple,
|
1725
|
+
VoteCastEvent.OutputTuple,
|
1726
|
+
VoteCastEvent.OutputObject
|
1727
|
+
>;
|
1728
|
+
|
1729
|
+
"VoteCastWithParams(address,uint256,uint8,uint256,string,bytes)": TypedContractEvent<
|
1730
|
+
VoteCastWithParamsEvent.InputTuple,
|
1731
|
+
VoteCastWithParamsEvent.OutputTuple,
|
1732
|
+
VoteCastWithParamsEvent.OutputObject
|
1733
|
+
>;
|
1734
|
+
VoteCastWithParams: TypedContractEvent<
|
1735
|
+
VoteCastWithParamsEvent.InputTuple,
|
1736
|
+
VoteCastWithParamsEvent.OutputTuple,
|
1737
|
+
VoteCastWithParamsEvent.OutputObject
|
1738
|
+
>;
|
1739
|
+
};
|
1740
|
+
}
|