@raac/rpc 2.0.0-beta.7 → 2.0.0-beta.8
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/dist/RPCLibrary.js +14 -2
- package/dist/artifacts/core/collectors/fee-streamer/RentStreamer.sol/RentStreamer.json +838 -0
- package/dist/artifacts/mocks/core/tokens/USDCTokenLimited.sol/USDCTokenLimited.json +558 -0
- package/dist/configs/chains/11155111.json +28 -3
- package/dist/contracts/rentStreamer/_helpers.js +19 -0
- package/dist/contracts/rentStreamer/getScheduled.js +19 -0
- package/dist/contracts/rentStreamer/getState.js +40 -0
- package/dist/contracts/rentStreamer/previewRelease.js +23 -0
- package/dist/contracts/rentStreamer/release.js +22 -0
- package/dist/contracts/rentStreamer/sync.js +21 -0
- package/dist/types/RPCLibrary.d.ts +12 -0
- package/dist/types/contracts/rentStreamer/_helpers.d.ts +4 -0
- package/dist/types/contracts/rentStreamer/getScheduled.d.ts +12 -0
- package/dist/types/contracts/rentStreamer/getState.d.ts +33 -0
- package/dist/types/contracts/rentStreamer/previewRelease.d.ts +20 -0
- package/dist/types/contracts/rentStreamer/release.d.ts +12 -0
- package/dist/types/contracts/rentStreamer/sync.d.ts +11 -0
- package/dist/types/typechain-types/contracts/core/collectors/fee-streamer/RentStreamer.d.ts +422 -0
- package/dist/types/typechain-types/contracts/core/collectors/fee-streamer/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/USDCTokenLimited.d.ts +238 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/fee-streamer/RentStreamer__factory.d.ts +665 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/fee-streamer/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/USDCTokenLimited__factory.d.ts +439 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/index.d.ts +4 -0
- package/dist/types/utils/artifacts.d.ts +198 -0
- package/dist/utils/artifacts.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,422 @@
|
|
|
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 RentStreamerInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "BOUNTY_PRECISION" | "DEFAULT_ADMIN_ROLE" | "EMERGENCY_ROLE" | "GAUGE_REWARD_DISTRIBUTOR" | "MAX_BOUNTY_DURATION" | "MAX_BOUNTY_FEE" | "MAX_NUM_EPOCHS" | "MIN_BOUNTY_DURATION" | "PARAMETER_ROLE" | "TOKEN" | "WEEK" | "bountyDuration" | "getRoleAdmin" | "grantRole" | "hasRole" | "kill" | "killed" | "lastEpochProcessed" | "maxBountyFee" | "minBountyFee" | "numEpochs" | "previewRelease" | "processed" | "release(address)" | "release()" | "released" | "renounceRole" | "rescueToken" | "revokeRole" | "scheduled" | "setBounty" | "setNumEpochs" | "supportsInterface" | "sync"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "BountyParamsUpdated" | "Killed" | "NumEpochsUpdated" | "Released" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Synced" | "TokenRescued"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "BOUNTY_PRECISION", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "EMERGENCY_ROLE", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "GAUGE_REWARD_DISTRIBUTOR", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "MAX_BOUNTY_DURATION", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "MAX_BOUNTY_FEE", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "MAX_NUM_EPOCHS", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "MIN_BOUNTY_DURATION", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "PARAMETER_ROLE", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "TOKEN", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "WEEK", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "bountyDuration", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "kill", values?: undefined): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "killed", values?: undefined): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "lastEpochProcessed", values?: undefined): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "maxBountyFee", values?: undefined): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "minBountyFee", values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "numEpochs", values?: undefined): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "previewRelease", values?: undefined): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "processed", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "release(address)", values: [AddressLike]): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "release()", values?: undefined): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "released", values?: undefined): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "rescueToken", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
34
|
+
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
35
|
+
encodeFunctionData(functionFragment: "scheduled", values: [BigNumberish]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "setBounty", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "setNumEpochs", values: [BigNumberish]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "sync", values?: undefined): string;
|
|
40
|
+
decodeFunctionResult(functionFragment: "BOUNTY_PRECISION", data: BytesLike): Result;
|
|
41
|
+
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
42
|
+
decodeFunctionResult(functionFragment: "EMERGENCY_ROLE", data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(functionFragment: "GAUGE_REWARD_DISTRIBUTOR", data: BytesLike): Result;
|
|
44
|
+
decodeFunctionResult(functionFragment: "MAX_BOUNTY_DURATION", data: BytesLike): Result;
|
|
45
|
+
decodeFunctionResult(functionFragment: "MAX_BOUNTY_FEE", data: BytesLike): Result;
|
|
46
|
+
decodeFunctionResult(functionFragment: "MAX_NUM_EPOCHS", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(functionFragment: "MIN_BOUNTY_DURATION", data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: "PARAMETER_ROLE", data: BytesLike): Result;
|
|
49
|
+
decodeFunctionResult(functionFragment: "TOKEN", data: BytesLike): Result;
|
|
50
|
+
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: "bountyDuration", data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
54
|
+
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
55
|
+
decodeFunctionResult(functionFragment: "kill", data: BytesLike): Result;
|
|
56
|
+
decodeFunctionResult(functionFragment: "killed", data: BytesLike): Result;
|
|
57
|
+
decodeFunctionResult(functionFragment: "lastEpochProcessed", data: BytesLike): Result;
|
|
58
|
+
decodeFunctionResult(functionFragment: "maxBountyFee", data: BytesLike): Result;
|
|
59
|
+
decodeFunctionResult(functionFragment: "minBountyFee", data: BytesLike): Result;
|
|
60
|
+
decodeFunctionResult(functionFragment: "numEpochs", data: BytesLike): Result;
|
|
61
|
+
decodeFunctionResult(functionFragment: "previewRelease", data: BytesLike): Result;
|
|
62
|
+
decodeFunctionResult(functionFragment: "processed", data: BytesLike): Result;
|
|
63
|
+
decodeFunctionResult(functionFragment: "release(address)", data: BytesLike): Result;
|
|
64
|
+
decodeFunctionResult(functionFragment: "release()", data: BytesLike): Result;
|
|
65
|
+
decodeFunctionResult(functionFragment: "released", data: BytesLike): Result;
|
|
66
|
+
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
67
|
+
decodeFunctionResult(functionFragment: "rescueToken", data: BytesLike): Result;
|
|
68
|
+
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
69
|
+
decodeFunctionResult(functionFragment: "scheduled", data: BytesLike): Result;
|
|
70
|
+
decodeFunctionResult(functionFragment: "setBounty", data: BytesLike): Result;
|
|
71
|
+
decodeFunctionResult(functionFragment: "setNumEpochs", data: BytesLike): Result;
|
|
72
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
73
|
+
decodeFunctionResult(functionFragment: "sync", data: BytesLike): Result;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace BountyParamsUpdatedEvent {
|
|
76
|
+
type InputTuple = [
|
|
77
|
+
_newMinFee: BigNumberish,
|
|
78
|
+
_newMaxFee: BigNumberish,
|
|
79
|
+
_duration: BigNumberish
|
|
80
|
+
];
|
|
81
|
+
type OutputTuple = [
|
|
82
|
+
_newMinFee: bigint,
|
|
83
|
+
_newMaxFee: bigint,
|
|
84
|
+
_duration: bigint
|
|
85
|
+
];
|
|
86
|
+
interface OutputObject {
|
|
87
|
+
_newMinFee: bigint;
|
|
88
|
+
_newMaxFee: bigint;
|
|
89
|
+
_duration: bigint;
|
|
90
|
+
}
|
|
91
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
92
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
93
|
+
type Log = TypedEventLog<Event>;
|
|
94
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
95
|
+
}
|
|
96
|
+
export declare namespace KilledEvent {
|
|
97
|
+
type InputTuple = [];
|
|
98
|
+
type OutputTuple = [];
|
|
99
|
+
interface OutputObject {
|
|
100
|
+
}
|
|
101
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
102
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
103
|
+
type Log = TypedEventLog<Event>;
|
|
104
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace NumEpochsUpdatedEvent {
|
|
107
|
+
type InputTuple = [_newNumEpochs: BigNumberish];
|
|
108
|
+
type OutputTuple = [_newNumEpochs: bigint];
|
|
109
|
+
interface OutputObject {
|
|
110
|
+
_newNumEpochs: bigint;
|
|
111
|
+
}
|
|
112
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
113
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
114
|
+
type Log = TypedEventLog<Event>;
|
|
115
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace ReleasedEvent {
|
|
118
|
+
type InputTuple = [
|
|
119
|
+
epoch: BigNumberish,
|
|
120
|
+
distributedAmount: BigNumberish,
|
|
121
|
+
bountyFee: BigNumberish
|
|
122
|
+
];
|
|
123
|
+
type OutputTuple = [
|
|
124
|
+
epoch: bigint,
|
|
125
|
+
distributedAmount: bigint,
|
|
126
|
+
bountyFee: bigint
|
|
127
|
+
];
|
|
128
|
+
interface OutputObject {
|
|
129
|
+
epoch: bigint;
|
|
130
|
+
distributedAmount: bigint;
|
|
131
|
+
bountyFee: bigint;
|
|
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 RoleAdminChangedEvent {
|
|
139
|
+
type InputTuple = [
|
|
140
|
+
role: BytesLike,
|
|
141
|
+
previousAdminRole: BytesLike,
|
|
142
|
+
newAdminRole: BytesLike
|
|
143
|
+
];
|
|
144
|
+
type OutputTuple = [
|
|
145
|
+
role: string,
|
|
146
|
+
previousAdminRole: string,
|
|
147
|
+
newAdminRole: string
|
|
148
|
+
];
|
|
149
|
+
interface OutputObject {
|
|
150
|
+
role: string;
|
|
151
|
+
previousAdminRole: string;
|
|
152
|
+
newAdminRole: string;
|
|
153
|
+
}
|
|
154
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
155
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
156
|
+
type Log = TypedEventLog<Event>;
|
|
157
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace RoleGrantedEvent {
|
|
160
|
+
type InputTuple = [
|
|
161
|
+
role: BytesLike,
|
|
162
|
+
account: AddressLike,
|
|
163
|
+
sender: AddressLike
|
|
164
|
+
];
|
|
165
|
+
type OutputTuple = [role: string, account: string, sender: string];
|
|
166
|
+
interface OutputObject {
|
|
167
|
+
role: string;
|
|
168
|
+
account: string;
|
|
169
|
+
sender: string;
|
|
170
|
+
}
|
|
171
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
172
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
173
|
+
type Log = TypedEventLog<Event>;
|
|
174
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
175
|
+
}
|
|
176
|
+
export declare namespace RoleRevokedEvent {
|
|
177
|
+
type InputTuple = [
|
|
178
|
+
role: BytesLike,
|
|
179
|
+
account: AddressLike,
|
|
180
|
+
sender: AddressLike
|
|
181
|
+
];
|
|
182
|
+
type OutputTuple = [role: string, account: string, sender: string];
|
|
183
|
+
interface OutputObject {
|
|
184
|
+
role: string;
|
|
185
|
+
account: string;
|
|
186
|
+
sender: string;
|
|
187
|
+
}
|
|
188
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
189
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
190
|
+
type Log = TypedEventLog<Event>;
|
|
191
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
192
|
+
}
|
|
193
|
+
export declare namespace SyncedEvent {
|
|
194
|
+
type InputTuple = [
|
|
195
|
+
startEpoch: BigNumberish,
|
|
196
|
+
amount: BigNumberish,
|
|
197
|
+
numEpochs: BigNumberish
|
|
198
|
+
];
|
|
199
|
+
type OutputTuple = [
|
|
200
|
+
startEpoch: bigint,
|
|
201
|
+
amount: bigint,
|
|
202
|
+
numEpochs: bigint
|
|
203
|
+
];
|
|
204
|
+
interface OutputObject {
|
|
205
|
+
startEpoch: bigint;
|
|
206
|
+
amount: bigint;
|
|
207
|
+
numEpochs: bigint;
|
|
208
|
+
}
|
|
209
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
210
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
211
|
+
type Log = TypedEventLog<Event>;
|
|
212
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
213
|
+
}
|
|
214
|
+
export declare namespace TokenRescuedEvent {
|
|
215
|
+
type InputTuple = [
|
|
216
|
+
token: AddressLike,
|
|
217
|
+
recipient: AddressLike,
|
|
218
|
+
amount: BigNumberish
|
|
219
|
+
];
|
|
220
|
+
type OutputTuple = [token: string, recipient: string, amount: bigint];
|
|
221
|
+
interface OutputObject {
|
|
222
|
+
token: string;
|
|
223
|
+
recipient: string;
|
|
224
|
+
amount: bigint;
|
|
225
|
+
}
|
|
226
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
227
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
228
|
+
type Log = TypedEventLog<Event>;
|
|
229
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
230
|
+
}
|
|
231
|
+
export interface RentStreamer extends BaseContract {
|
|
232
|
+
connect(runner?: ContractRunner | null): RentStreamer;
|
|
233
|
+
waitForDeployment(): Promise<this>;
|
|
234
|
+
interface: RentStreamerInterface;
|
|
235
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
236
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
237
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
238
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
239
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
240
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
241
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
242
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
243
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
244
|
+
BOUNTY_PRECISION: TypedContractMethod<[], [bigint], "view">;
|
|
245
|
+
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
246
|
+
EMERGENCY_ROLE: TypedContractMethod<[], [string], "view">;
|
|
247
|
+
GAUGE_REWARD_DISTRIBUTOR: TypedContractMethod<[], [string], "view">;
|
|
248
|
+
MAX_BOUNTY_DURATION: TypedContractMethod<[], [bigint], "view">;
|
|
249
|
+
MAX_BOUNTY_FEE: TypedContractMethod<[], [bigint], "view">;
|
|
250
|
+
MAX_NUM_EPOCHS: TypedContractMethod<[], [bigint], "view">;
|
|
251
|
+
MIN_BOUNTY_DURATION: TypedContractMethod<[], [bigint], "view">;
|
|
252
|
+
PARAMETER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
253
|
+
TOKEN: TypedContractMethod<[], [string], "view">;
|
|
254
|
+
WEEK: TypedContractMethod<[], [bigint], "view">;
|
|
255
|
+
bountyDuration: TypedContractMethod<[], [bigint], "view">;
|
|
256
|
+
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
257
|
+
grantRole: TypedContractMethod<[
|
|
258
|
+
role: BytesLike,
|
|
259
|
+
account: AddressLike
|
|
260
|
+
], [
|
|
261
|
+
void
|
|
262
|
+
], "nonpayable">;
|
|
263
|
+
hasRole: TypedContractMethod<[
|
|
264
|
+
role: BytesLike,
|
|
265
|
+
account: AddressLike
|
|
266
|
+
], [
|
|
267
|
+
boolean
|
|
268
|
+
], "view">;
|
|
269
|
+
kill: TypedContractMethod<[], [void], "nonpayable">;
|
|
270
|
+
killed: TypedContractMethod<[], [boolean], "view">;
|
|
271
|
+
lastEpochProcessed: TypedContractMethod<[], [bigint], "view">;
|
|
272
|
+
maxBountyFee: TypedContractMethod<[], [bigint], "view">;
|
|
273
|
+
minBountyFee: TypedContractMethod<[], [bigint], "view">;
|
|
274
|
+
numEpochs: TypedContractMethod<[], [bigint], "view">;
|
|
275
|
+
previewRelease: TypedContractMethod<[], [[bigint, bigint, bigint]], "view">;
|
|
276
|
+
processed: TypedContractMethod<[], [bigint], "view">;
|
|
277
|
+
"release(address)": TypedContractMethod<[
|
|
278
|
+
receiver: AddressLike
|
|
279
|
+
], [
|
|
280
|
+
[bigint, bigint]
|
|
281
|
+
], "nonpayable">;
|
|
282
|
+
"release()": TypedContractMethod<[], [[bigint, bigint]], "nonpayable">;
|
|
283
|
+
released: TypedContractMethod<[], [bigint], "view">;
|
|
284
|
+
renounceRole: TypedContractMethod<[
|
|
285
|
+
role: BytesLike,
|
|
286
|
+
callerConfirmation: AddressLike
|
|
287
|
+
], [
|
|
288
|
+
void
|
|
289
|
+
], "nonpayable">;
|
|
290
|
+
rescueToken: TypedContractMethod<[
|
|
291
|
+
tokenAddress: AddressLike,
|
|
292
|
+
recipient: AddressLike,
|
|
293
|
+
amount: BigNumberish
|
|
294
|
+
], [
|
|
295
|
+
void
|
|
296
|
+
], "nonpayable">;
|
|
297
|
+
revokeRole: TypedContractMethod<[
|
|
298
|
+
role: BytesLike,
|
|
299
|
+
account: AddressLike
|
|
300
|
+
], [
|
|
301
|
+
void
|
|
302
|
+
], "nonpayable">;
|
|
303
|
+
scheduled: TypedContractMethod<[epoch: BigNumberish], [bigint], "view">;
|
|
304
|
+
setBounty: TypedContractMethod<[
|
|
305
|
+
_minFee: BigNumberish,
|
|
306
|
+
_maxFee: BigNumberish,
|
|
307
|
+
_duration: BigNumberish
|
|
308
|
+
], [
|
|
309
|
+
void
|
|
310
|
+
], "nonpayable">;
|
|
311
|
+
setNumEpochs: TypedContractMethod<[
|
|
312
|
+
_numEpochs: BigNumberish
|
|
313
|
+
], [
|
|
314
|
+
void
|
|
315
|
+
], "nonpayable">;
|
|
316
|
+
supportsInterface: TypedContractMethod<[
|
|
317
|
+
interfaceId: BytesLike
|
|
318
|
+
], [
|
|
319
|
+
boolean
|
|
320
|
+
], "view">;
|
|
321
|
+
sync: TypedContractMethod<[], [void], "nonpayable">;
|
|
322
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
323
|
+
getFunction(nameOrSignature: "BOUNTY_PRECISION"): TypedContractMethod<[], [bigint], "view">;
|
|
324
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
325
|
+
getFunction(nameOrSignature: "EMERGENCY_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
326
|
+
getFunction(nameOrSignature: "GAUGE_REWARD_DISTRIBUTOR"): TypedContractMethod<[], [string], "view">;
|
|
327
|
+
getFunction(nameOrSignature: "MAX_BOUNTY_DURATION"): TypedContractMethod<[], [bigint], "view">;
|
|
328
|
+
getFunction(nameOrSignature: "MAX_BOUNTY_FEE"): TypedContractMethod<[], [bigint], "view">;
|
|
329
|
+
getFunction(nameOrSignature: "MAX_NUM_EPOCHS"): TypedContractMethod<[], [bigint], "view">;
|
|
330
|
+
getFunction(nameOrSignature: "MIN_BOUNTY_DURATION"): TypedContractMethod<[], [bigint], "view">;
|
|
331
|
+
getFunction(nameOrSignature: "PARAMETER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
332
|
+
getFunction(nameOrSignature: "TOKEN"): TypedContractMethod<[], [string], "view">;
|
|
333
|
+
getFunction(nameOrSignature: "WEEK"): TypedContractMethod<[], [bigint], "view">;
|
|
334
|
+
getFunction(nameOrSignature: "bountyDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
335
|
+
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
336
|
+
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
|
337
|
+
role: BytesLike,
|
|
338
|
+
account: AddressLike
|
|
339
|
+
], [
|
|
340
|
+
void
|
|
341
|
+
], "nonpayable">;
|
|
342
|
+
getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
|
|
343
|
+
role: BytesLike,
|
|
344
|
+
account: AddressLike
|
|
345
|
+
], [
|
|
346
|
+
boolean
|
|
347
|
+
], "view">;
|
|
348
|
+
getFunction(nameOrSignature: "kill"): TypedContractMethod<[], [void], "nonpayable">;
|
|
349
|
+
getFunction(nameOrSignature: "killed"): TypedContractMethod<[], [boolean], "view">;
|
|
350
|
+
getFunction(nameOrSignature: "lastEpochProcessed"): TypedContractMethod<[], [bigint], "view">;
|
|
351
|
+
getFunction(nameOrSignature: "maxBountyFee"): TypedContractMethod<[], [bigint], "view">;
|
|
352
|
+
getFunction(nameOrSignature: "minBountyFee"): TypedContractMethod<[], [bigint], "view">;
|
|
353
|
+
getFunction(nameOrSignature: "numEpochs"): TypedContractMethod<[], [bigint], "view">;
|
|
354
|
+
getFunction(nameOrSignature: "previewRelease"): TypedContractMethod<[], [[bigint, bigint, bigint]], "view">;
|
|
355
|
+
getFunction(nameOrSignature: "processed"): TypedContractMethod<[], [bigint], "view">;
|
|
356
|
+
getFunction(nameOrSignature: "release(address)"): TypedContractMethod<[
|
|
357
|
+
receiver: AddressLike
|
|
358
|
+
], [
|
|
359
|
+
[bigint, bigint]
|
|
360
|
+
], "nonpayable">;
|
|
361
|
+
getFunction(nameOrSignature: "release()"): TypedContractMethod<[], [[bigint, bigint]], "nonpayable">;
|
|
362
|
+
getFunction(nameOrSignature: "released"): TypedContractMethod<[], [bigint], "view">;
|
|
363
|
+
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
|
364
|
+
role: BytesLike,
|
|
365
|
+
callerConfirmation: AddressLike
|
|
366
|
+
], [
|
|
367
|
+
void
|
|
368
|
+
], "nonpayable">;
|
|
369
|
+
getFunction(nameOrSignature: "rescueToken"): TypedContractMethod<[
|
|
370
|
+
tokenAddress: AddressLike,
|
|
371
|
+
recipient: AddressLike,
|
|
372
|
+
amount: BigNumberish
|
|
373
|
+
], [
|
|
374
|
+
void
|
|
375
|
+
], "nonpayable">;
|
|
376
|
+
getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
|
|
377
|
+
role: BytesLike,
|
|
378
|
+
account: AddressLike
|
|
379
|
+
], [
|
|
380
|
+
void
|
|
381
|
+
], "nonpayable">;
|
|
382
|
+
getFunction(nameOrSignature: "scheduled"): TypedContractMethod<[epoch: BigNumberish], [bigint], "view">;
|
|
383
|
+
getFunction(nameOrSignature: "setBounty"): TypedContractMethod<[
|
|
384
|
+
_minFee: BigNumberish,
|
|
385
|
+
_maxFee: BigNumberish,
|
|
386
|
+
_duration: BigNumberish
|
|
387
|
+
], [
|
|
388
|
+
void
|
|
389
|
+
], "nonpayable">;
|
|
390
|
+
getFunction(nameOrSignature: "setNumEpochs"): TypedContractMethod<[_numEpochs: BigNumberish], [void], "nonpayable">;
|
|
391
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
392
|
+
getFunction(nameOrSignature: "sync"): TypedContractMethod<[], [void], "nonpayable">;
|
|
393
|
+
getEvent(key: "BountyParamsUpdated"): TypedContractEvent<BountyParamsUpdatedEvent.InputTuple, BountyParamsUpdatedEvent.OutputTuple, BountyParamsUpdatedEvent.OutputObject>;
|
|
394
|
+
getEvent(key: "Killed"): TypedContractEvent<KilledEvent.InputTuple, KilledEvent.OutputTuple, KilledEvent.OutputObject>;
|
|
395
|
+
getEvent(key: "NumEpochsUpdated"): TypedContractEvent<NumEpochsUpdatedEvent.InputTuple, NumEpochsUpdatedEvent.OutputTuple, NumEpochsUpdatedEvent.OutputObject>;
|
|
396
|
+
getEvent(key: "Released"): TypedContractEvent<ReleasedEvent.InputTuple, ReleasedEvent.OutputTuple, ReleasedEvent.OutputObject>;
|
|
397
|
+
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
398
|
+
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
399
|
+
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
400
|
+
getEvent(key: "Synced"): TypedContractEvent<SyncedEvent.InputTuple, SyncedEvent.OutputTuple, SyncedEvent.OutputObject>;
|
|
401
|
+
getEvent(key: "TokenRescued"): TypedContractEvent<TokenRescuedEvent.InputTuple, TokenRescuedEvent.OutputTuple, TokenRescuedEvent.OutputObject>;
|
|
402
|
+
filters: {
|
|
403
|
+
"BountyParamsUpdated(uint64,uint64,uint32)": TypedContractEvent<BountyParamsUpdatedEvent.InputTuple, BountyParamsUpdatedEvent.OutputTuple, BountyParamsUpdatedEvent.OutputObject>;
|
|
404
|
+
BountyParamsUpdated: TypedContractEvent<BountyParamsUpdatedEvent.InputTuple, BountyParamsUpdatedEvent.OutputTuple, BountyParamsUpdatedEvent.OutputObject>;
|
|
405
|
+
"Killed()": TypedContractEvent<KilledEvent.InputTuple, KilledEvent.OutputTuple, KilledEvent.OutputObject>;
|
|
406
|
+
Killed: TypedContractEvent<KilledEvent.InputTuple, KilledEvent.OutputTuple, KilledEvent.OutputObject>;
|
|
407
|
+
"NumEpochsUpdated(uint8)": TypedContractEvent<NumEpochsUpdatedEvent.InputTuple, NumEpochsUpdatedEvent.OutputTuple, NumEpochsUpdatedEvent.OutputObject>;
|
|
408
|
+
NumEpochsUpdated: TypedContractEvent<NumEpochsUpdatedEvent.InputTuple, NumEpochsUpdatedEvent.OutputTuple, NumEpochsUpdatedEvent.OutputObject>;
|
|
409
|
+
"Released(uint256,uint256,uint256)": TypedContractEvent<ReleasedEvent.InputTuple, ReleasedEvent.OutputTuple, ReleasedEvent.OutputObject>;
|
|
410
|
+
Released: TypedContractEvent<ReleasedEvent.InputTuple, ReleasedEvent.OutputTuple, ReleasedEvent.OutputObject>;
|
|
411
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
412
|
+
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
413
|
+
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
414
|
+
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
415
|
+
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
416
|
+
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
417
|
+
"Synced(uint256,uint256,uint8)": TypedContractEvent<SyncedEvent.InputTuple, SyncedEvent.OutputTuple, SyncedEvent.OutputObject>;
|
|
418
|
+
Synced: TypedContractEvent<SyncedEvent.InputTuple, SyncedEvent.OutputTuple, SyncedEvent.OutputObject>;
|
|
419
|
+
"TokenRescued(address,address,uint256)": TypedContractEvent<TokenRescuedEvent.InputTuple, TokenRescuedEvent.OutputTuple, TokenRescuedEvent.OutputObject>;
|
|
420
|
+
TokenRescued: TypedContractEvent<TokenRescuedEvent.InputTuple, TokenRescuedEvent.OutputTuple, TokenRescuedEvent.OutputObject>;
|
|
421
|
+
};
|
|
422
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { RentStreamer } from "./RentStreamer";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as nftRoyaltyFeeCollectorSol from "./NFTRoyaltyFeeCollector.sol";
|
|
2
2
|
export type { nftRoyaltyFeeCollectorSol };
|
|
3
|
+
import type * as feeStreamer from "./fee-streamer";
|
|
4
|
+
export type { feeStreamer };
|
|
3
5
|
export type { ERC20Collector } from "./ERC20Collector";
|
|
4
6
|
export type { FeeCollector } from "./FeeCollector";
|
|
5
7
|
export type { RAACTokenCollector } from "./RAACTokenCollector";
|