@rev-net/core-v6 0.0.13 → 0.0.14
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/CHANGE_LOG.md +8 -3
- package/package.json +1 -1
- package/deployments/revnet-core-v5/arbitrum/REVDeployer.json +0 -2821
- package/deployments/revnet-core-v5/arbitrum/REVLoans.json +0 -2260
- package/deployments/revnet-core-v5/arbitrum_sepolia/REVDeployer.json +0 -2821
- package/deployments/revnet-core-v5/arbitrum_sepolia/REVLoans.json +0 -2260
- package/deployments/revnet-core-v5/base/REVDeployer.json +0 -2825
- package/deployments/revnet-core-v5/base/REVLoans.json +0 -2264
- package/deployments/revnet-core-v5/base_sepolia/REVDeployer.json +0 -2825
- package/deployments/revnet-core-v5/base_sepolia/REVLoans.json +0 -2264
- package/deployments/revnet-core-v5/ethereum/REVDeployer.json +0 -2825
- package/deployments/revnet-core-v5/ethereum/REVLoans.json +0 -2264
- package/deployments/revnet-core-v5/optimism/REVDeployer.json +0 -2821
- package/deployments/revnet-core-v5/optimism/REVLoans.json +0 -2260
- package/deployments/revnet-core-v5/optimism_sepolia/REVDeployer.json +0 -2825
- package/deployments/revnet-core-v5/optimism_sepolia/REVLoans.json +0 -2264
- package/deployments/revnet-core-v5/sepolia/REVDeployer.json +0 -2825
- package/deployments/revnet-core-v5/sepolia/REVLoans.json +0 -2264
- package/docs/book.css +0 -13
- package/docs/book.toml +0 -13
- package/docs/solidity.min.js +0 -74
- package/docs/src/README.md +0 -185
- package/docs/src/SUMMARY.md +0 -18
- package/docs/src/src/README.md +0 -7
- package/docs/src/src/REVDeployer.sol/contract.REVDeployer.md +0 -999
- package/docs/src/src/REVLoans.sol/contract.REVLoans.md +0 -1108
- package/docs/src/src/interfaces/IREVDeployer.sol/interface.IREVDeployer.md +0 -525
- package/docs/src/src/interfaces/IREVLoans.sol/interface.IREVLoans.md +0 -598
- package/docs/src/src/interfaces/README.md +0 -5
- package/docs/src/src/structs/README.md +0 -12
- package/docs/src/src/structs/REVAutoIssuance.sol/struct.REVAutoIssuance.md +0 -19
- package/docs/src/src/structs/REVBuybackHookConfig.sol/struct.REVBuybackHookConfig.md +0 -19
- package/docs/src/src/structs/REVBuybackPoolConfig.sol/struct.REVBuybackPoolConfig.md +0 -21
- package/docs/src/src/structs/REVConfig.sol/struct.REVConfig.md +0 -23
- package/docs/src/src/structs/REVCroptopAllowedPost.sol/struct.REVCroptopAllowedPost.md +0 -32
- package/docs/src/src/structs/REVDeploy721TiersHookConfig.sol/struct.REVDeploy721TiersHookConfig.md +0 -34
- package/docs/src/src/structs/REVDescription.sol/struct.REVDescription.md +0 -23
- package/docs/src/src/structs/REVLoan.sol/struct.REVLoan.md +0 -28
- package/docs/src/src/structs/REVLoanSource.sol/struct.REVLoanSource.md +0 -16
- package/docs/src/src/structs/REVStageConfig.sol/struct.REVStageConfig.md +0 -44
- package/docs/src/src/structs/REVSuckerDeploymentConfig.sol/struct.REVSuckerDeploymentConfig.md +0 -16
|
@@ -1,525 +0,0 @@
|
|
|
1
|
-
# IREVDeployer
|
|
2
|
-
[Git Source](https://github.com/rev-net/revnet-core-v6/blob/94c003a3a16de2bd012d63cccedd6bd38d21f6e7/src/interfaces/IREVDeployer.sol)
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Functions
|
|
6
|
-
### CASH_OUT_DELAY
|
|
7
|
-
|
|
8
|
-
The number of seconds until a revnet's participants can cash out after deploying to a new network.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```solidity
|
|
12
|
-
function CASH_OUT_DELAY() external view returns (uint256);
|
|
13
|
-
```
|
|
14
|
-
**Returns**
|
|
15
|
-
|
|
16
|
-
|Name|Type|Description|
|
|
17
|
-
|----|----|-----------|
|
|
18
|
-
|`<none>`|`uint256`|The cash out delay in seconds.|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### CONTROLLER
|
|
22
|
-
|
|
23
|
-
The controller used to create and manage Juicebox projects for revnets.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
```solidity
|
|
27
|
-
function CONTROLLER() external view returns (IJBController);
|
|
28
|
-
```
|
|
29
|
-
**Returns**
|
|
30
|
-
|
|
31
|
-
|Name|Type|Description|
|
|
32
|
-
|----|----|-----------|
|
|
33
|
-
|`<none>`|`IJBController`|The controller contract.|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### DIRECTORY
|
|
37
|
-
|
|
38
|
-
The directory of terminals and controllers for Juicebox projects.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
```solidity
|
|
42
|
-
function DIRECTORY() external view returns (IJBDirectory);
|
|
43
|
-
```
|
|
44
|
-
**Returns**
|
|
45
|
-
|
|
46
|
-
|Name|Type|Description|
|
|
47
|
-
|----|----|-----------|
|
|
48
|
-
|`<none>`|`IJBDirectory`|The directory contract.|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### PROJECTS
|
|
52
|
-
|
|
53
|
-
The contract that mints ERC-721s representing project ownership.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```solidity
|
|
57
|
-
function PROJECTS() external view returns (IJBProjects);
|
|
58
|
-
```
|
|
59
|
-
**Returns**
|
|
60
|
-
|
|
61
|
-
|Name|Type|Description|
|
|
62
|
-
|----|----|-----------|
|
|
63
|
-
|`<none>`|`IJBProjects`|The projects contract.|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
### PERMISSIONS
|
|
67
|
-
|
|
68
|
-
The contract that stores Juicebox project access permissions.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```solidity
|
|
72
|
-
function PERMISSIONS() external view returns (IJBPermissions);
|
|
73
|
-
```
|
|
74
|
-
**Returns**
|
|
75
|
-
|
|
76
|
-
|Name|Type|Description|
|
|
77
|
-
|----|----|-----------|
|
|
78
|
-
|`<none>`|`IJBPermissions`|The permissions contract.|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### FEE
|
|
82
|
-
|
|
83
|
-
The cash out fee as a fraction out of `JBConstants.MAX_FEE`.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
```solidity
|
|
87
|
-
function FEE() external view returns (uint256);
|
|
88
|
-
```
|
|
89
|
-
**Returns**
|
|
90
|
-
|
|
91
|
-
|Name|Type|Description|
|
|
92
|
-
|----|----|-----------|
|
|
93
|
-
|`<none>`|`uint256`|The fee value.|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### DEFAULT_BUYBACK_POOL_FEE
|
|
97
|
-
|
|
98
|
-
The default Uniswap pool fee tier for auto-configured buyback pools.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
```solidity
|
|
102
|
-
function DEFAULT_BUYBACK_POOL_FEE() external view returns (uint24);
|
|
103
|
-
```
|
|
104
|
-
**Returns**
|
|
105
|
-
|
|
106
|
-
|Name|Type|Description|
|
|
107
|
-
|----|----|-----------|
|
|
108
|
-
|`<none>`|`uint24`|The fee tier (10_000 = 1%).|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
### DEFAULT_BUYBACK_TWAP_WINDOW
|
|
112
|
-
|
|
113
|
-
The default TWAP window for auto-configured buyback pools.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
```solidity
|
|
117
|
-
function DEFAULT_BUYBACK_TWAP_WINDOW() external view returns (uint32);
|
|
118
|
-
```
|
|
119
|
-
**Returns**
|
|
120
|
-
|
|
121
|
-
|Name|Type|Description|
|
|
122
|
-
|----|----|-----------|
|
|
123
|
-
|`<none>`|`uint32`|The TWAP window in seconds.|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### SUCKER_REGISTRY
|
|
127
|
-
|
|
128
|
-
The registry that deploys and tracks suckers for revnets.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
```solidity
|
|
132
|
-
function SUCKER_REGISTRY() external view returns (IJBSuckerRegistry);
|
|
133
|
-
```
|
|
134
|
-
**Returns**
|
|
135
|
-
|
|
136
|
-
|Name|Type|Description|
|
|
137
|
-
|----|----|-----------|
|
|
138
|
-
|`<none>`|`IJBSuckerRegistry`|The sucker registry contract.|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
### FEE_REVNET_ID
|
|
142
|
-
|
|
143
|
-
The Juicebox project ID of the revnet that receives cash out fees.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
```solidity
|
|
147
|
-
function FEE_REVNET_ID() external view returns (uint256);
|
|
148
|
-
```
|
|
149
|
-
**Returns**
|
|
150
|
-
|
|
151
|
-
|Name|Type|Description|
|
|
152
|
-
|----|----|-----------|
|
|
153
|
-
|`<none>`|`uint256`|The fee revnet ID.|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### PUBLISHER
|
|
157
|
-
|
|
158
|
-
The croptop publisher revnets can use to publish ERC-721 posts to their tiered ERC-721 hooks.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
```solidity
|
|
162
|
-
function PUBLISHER() external view returns (CTPublisher);
|
|
163
|
-
```
|
|
164
|
-
**Returns**
|
|
165
|
-
|
|
166
|
-
|Name|Type|Description|
|
|
167
|
-
|----|----|-----------|
|
|
168
|
-
|`<none>`|`CTPublisher`|The publisher contract.|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
### BUYBACK_HOOK
|
|
172
|
-
|
|
173
|
-
The buyback hook used as a data hook to route payments through buyback pools.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
```solidity
|
|
177
|
-
function BUYBACK_HOOK() external view returns (IJBRulesetDataHook);
|
|
178
|
-
```
|
|
179
|
-
**Returns**
|
|
180
|
-
|
|
181
|
-
|Name|Type|Description|
|
|
182
|
-
|----|----|-----------|
|
|
183
|
-
|`<none>`|`IJBRulesetDataHook`|The buyback hook contract.|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
### HOOK_DEPLOYER
|
|
187
|
-
|
|
188
|
-
The deployer used to create tiered ERC-721 hooks for revnets.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
```solidity
|
|
192
|
-
function HOOK_DEPLOYER() external view returns (IJB721TiersHookDeployer);
|
|
193
|
-
```
|
|
194
|
-
**Returns**
|
|
195
|
-
|
|
196
|
-
|Name|Type|Description|
|
|
197
|
-
|----|----|-----------|
|
|
198
|
-
|`<none>`|`IJB721TiersHookDeployer`|The hook deployer contract.|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
### LOANS
|
|
202
|
-
|
|
203
|
-
The loan contract used by all revnets.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
```solidity
|
|
207
|
-
function LOANS() external view returns (address);
|
|
208
|
-
```
|
|
209
|
-
**Returns**
|
|
210
|
-
|
|
211
|
-
|Name|Type|Description|
|
|
212
|
-
|----|----|-----------|
|
|
213
|
-
|`<none>`|`address`|The loans contract address.|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
### amountToAutoIssue
|
|
217
|
-
|
|
218
|
-
The number of revnet tokens that can be auto-minted for a beneficiary during a stage.
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
```solidity
|
|
222
|
-
function amountToAutoIssue(uint256 revnetId, uint256 stageId, address beneficiary) external view returns (uint256);
|
|
223
|
-
```
|
|
224
|
-
**Parameters**
|
|
225
|
-
|
|
226
|
-
|Name|Type|Description|
|
|
227
|
-
|----|----|-----------|
|
|
228
|
-
|`revnetId`|`uint256`|The ID of the revnet.|
|
|
229
|
-
|`stageId`|`uint256`|The ID of the stage.|
|
|
230
|
-
|`beneficiary`|`address`|The beneficiary of the auto-mint.|
|
|
231
|
-
|
|
232
|
-
**Returns**
|
|
233
|
-
|
|
234
|
-
|Name|Type|Description|
|
|
235
|
-
|----|----|-----------|
|
|
236
|
-
|`<none>`|`uint256`|The number of tokens available to auto-issue.|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
### cashOutDelayOf
|
|
240
|
-
|
|
241
|
-
The timestamp when cash outs become available for a revnet's participants.
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
```solidity
|
|
245
|
-
function cashOutDelayOf(uint256 revnetId) external view returns (uint256);
|
|
246
|
-
```
|
|
247
|
-
**Parameters**
|
|
248
|
-
|
|
249
|
-
|Name|Type|Description|
|
|
250
|
-
|----|----|-----------|
|
|
251
|
-
|`revnetId`|`uint256`|The ID of the revnet.|
|
|
252
|
-
|
|
253
|
-
**Returns**
|
|
254
|
-
|
|
255
|
-
|Name|Type|Description|
|
|
256
|
-
|----|----|-----------|
|
|
257
|
-
|`<none>`|`uint256`|The cash out delay timestamp.|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
### deploySuckersFor
|
|
261
|
-
|
|
262
|
-
Deploy new suckers for an existing revnet.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
```solidity
|
|
266
|
-
function deploySuckersFor(
|
|
267
|
-
uint256 revnetId,
|
|
268
|
-
REVSuckerDeploymentConfig calldata suckerDeploymentConfiguration
|
|
269
|
-
)
|
|
270
|
-
external
|
|
271
|
-
returns (address[] memory suckers);
|
|
272
|
-
```
|
|
273
|
-
**Parameters**
|
|
274
|
-
|
|
275
|
-
|Name|Type|Description|
|
|
276
|
-
|----|----|-----------|
|
|
277
|
-
|`revnetId`|`uint256`|The ID of the revnet to deploy suckers for.|
|
|
278
|
-
|`suckerDeploymentConfiguration`|`REVSuckerDeploymentConfig`|The suckers to set up for the revnet.|
|
|
279
|
-
|
|
280
|
-
**Returns**
|
|
281
|
-
|
|
282
|
-
|Name|Type|Description|
|
|
283
|
-
|----|----|-----------|
|
|
284
|
-
|`suckers`|`address[]`|The addresses of the deployed suckers.|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
### hashedEncodedConfigurationOf
|
|
288
|
-
|
|
289
|
-
The hashed encoded configuration of each revnet.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
```solidity
|
|
293
|
-
function hashedEncodedConfigurationOf(uint256 revnetId) external view returns (bytes32);
|
|
294
|
-
```
|
|
295
|
-
**Parameters**
|
|
296
|
-
|
|
297
|
-
|Name|Type|Description|
|
|
298
|
-
|----|----|-----------|
|
|
299
|
-
|`revnetId`|`uint256`|The ID of the revnet.|
|
|
300
|
-
|
|
301
|
-
**Returns**
|
|
302
|
-
|
|
303
|
-
|Name|Type|Description|
|
|
304
|
-
|----|----|-----------|
|
|
305
|
-
|`<none>`|`bytes32`|The hashed encoded configuration.|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
### isSplitOperatorOf
|
|
309
|
-
|
|
310
|
-
Whether an address is a revnet's split operator.
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
```solidity
|
|
314
|
-
function isSplitOperatorOf(uint256 revnetId, address addr) external view returns (bool);
|
|
315
|
-
```
|
|
316
|
-
**Parameters**
|
|
317
|
-
|
|
318
|
-
|Name|Type|Description|
|
|
319
|
-
|----|----|-----------|
|
|
320
|
-
|`revnetId`|`uint256`|The ID of the revnet.|
|
|
321
|
-
|`addr`|`address`|The address to check.|
|
|
322
|
-
|
|
323
|
-
**Returns**
|
|
324
|
-
|
|
325
|
-
|Name|Type|Description|
|
|
326
|
-
|----|----|-----------|
|
|
327
|
-
|`<none>`|`bool`|A flag indicating whether the address is the revnet's split operator.|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
### tiered721HookOf
|
|
331
|
-
|
|
332
|
-
Each revnet's tiered ERC-721 hook.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
```solidity
|
|
336
|
-
function tiered721HookOf(uint256 revnetId) external view returns (IJB721TiersHook);
|
|
337
|
-
```
|
|
338
|
-
**Parameters**
|
|
339
|
-
|
|
340
|
-
|Name|Type|Description|
|
|
341
|
-
|----|----|-----------|
|
|
342
|
-
|`revnetId`|`uint256`|The ID of the revnet.|
|
|
343
|
-
|
|
344
|
-
**Returns**
|
|
345
|
-
|
|
346
|
-
|Name|Type|Description|
|
|
347
|
-
|----|----|-----------|
|
|
348
|
-
|`<none>`|`IJB721TiersHook`|The tiered ERC-721 hook.|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
### autoIssueFor
|
|
352
|
-
|
|
353
|
-
Auto-mint a revnet's tokens from a stage for a beneficiary.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
```solidity
|
|
357
|
-
function autoIssueFor(uint256 revnetId, uint256 stageId, address beneficiary) external;
|
|
358
|
-
```
|
|
359
|
-
**Parameters**
|
|
360
|
-
|
|
361
|
-
|Name|Type|Description|
|
|
362
|
-
|----|----|-----------|
|
|
363
|
-
|`revnetId`|`uint256`|The ID of the revnet to auto-mint tokens from.|
|
|
364
|
-
|`stageId`|`uint256`|The ID of the stage auto-mint tokens are available from.|
|
|
365
|
-
|`beneficiary`|`address`|The address to auto-mint tokens to.|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
### deployFor
|
|
369
|
-
|
|
370
|
-
Deploy a revnet, or initialize an existing Juicebox project as a revnet.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
```solidity
|
|
374
|
-
function deployFor(
|
|
375
|
-
uint256 revnetId,
|
|
376
|
-
REVConfig memory configuration,
|
|
377
|
-
JBTerminalConfig[] memory terminalConfigurations,
|
|
378
|
-
REVSuckerDeploymentConfig memory suckerDeploymentConfiguration
|
|
379
|
-
)
|
|
380
|
-
external
|
|
381
|
-
returns (uint256);
|
|
382
|
-
```
|
|
383
|
-
**Parameters**
|
|
384
|
-
|
|
385
|
-
|Name|Type|Description|
|
|
386
|
-
|----|----|-----------|
|
|
387
|
-
|`revnetId`|`uint256`|The ID of the Juicebox project to initialize. Send 0 to deploy a new revnet.|
|
|
388
|
-
|`configuration`|`REVConfig`|Core revnet configuration.|
|
|
389
|
-
|`terminalConfigurations`|`JBTerminalConfig[]`|The terminals to set up for the revnet.|
|
|
390
|
-
|`suckerDeploymentConfiguration`|`REVSuckerDeploymentConfig`|The suckers to set up for cross-chain token transfers.|
|
|
391
|
-
|
|
392
|
-
**Returns**
|
|
393
|
-
|
|
394
|
-
|Name|Type|Description|
|
|
395
|
-
|----|----|-----------|
|
|
396
|
-
|`<none>`|`uint256`|The ID of the newly created or initialized revnet.|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
### deployWith721sFor
|
|
400
|
-
|
|
401
|
-
Deploy a revnet with tiered ERC-721s and optional croptop posting support.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
```solidity
|
|
405
|
-
function deployWith721sFor(
|
|
406
|
-
uint256 revnetId,
|
|
407
|
-
REVConfig calldata configuration,
|
|
408
|
-
JBTerminalConfig[] memory terminalConfigurations,
|
|
409
|
-
REVSuckerDeploymentConfig memory suckerDeploymentConfiguration,
|
|
410
|
-
REVDeploy721TiersHookConfig memory tiered721HookConfiguration,
|
|
411
|
-
REVCroptopAllowedPost[] memory allowedPosts
|
|
412
|
-
)
|
|
413
|
-
external
|
|
414
|
-
returns (uint256, IJB721TiersHook hook);
|
|
415
|
-
```
|
|
416
|
-
**Parameters**
|
|
417
|
-
|
|
418
|
-
|Name|Type|Description|
|
|
419
|
-
|----|----|-----------|
|
|
420
|
-
|`revnetId`|`uint256`|The ID of the Juicebox project to initialize. Send 0 to deploy a new revnet.|
|
|
421
|
-
|`configuration`|`REVConfig`|Core revnet configuration.|
|
|
422
|
-
|`terminalConfigurations`|`JBTerminalConfig[]`|The terminals to set up for the revnet.|
|
|
423
|
-
|`suckerDeploymentConfiguration`|`REVSuckerDeploymentConfig`|The suckers to set up for cross-chain token transfers.|
|
|
424
|
-
|`tiered721HookConfiguration`|`REVDeploy721TiersHookConfig`|How to set up the tiered ERC-721 hook.|
|
|
425
|
-
|`allowedPosts`|`REVCroptopAllowedPost[]`|Restrictions on which croptop posts are allowed on the revnet's ERC-721 tiers.|
|
|
426
|
-
|
|
427
|
-
**Returns**
|
|
428
|
-
|
|
429
|
-
|Name|Type|Description|
|
|
430
|
-
|----|----|-----------|
|
|
431
|
-
|`<none>`|`uint256`|The ID of the newly created or initialized revnet.|
|
|
432
|
-
|`hook`|`IJB721TiersHook`|The tiered ERC-721 hook that was deployed for the revnet.|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
### setSplitOperatorOf
|
|
436
|
-
|
|
437
|
-
Change a revnet's split operator. Only the current split operator can call this.
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
```solidity
|
|
441
|
-
function setSplitOperatorOf(uint256 revnetId, address newSplitOperator) external;
|
|
442
|
-
```
|
|
443
|
-
**Parameters**
|
|
444
|
-
|
|
445
|
-
|Name|Type|Description|
|
|
446
|
-
|----|----|-----------|
|
|
447
|
-
|`revnetId`|`uint256`|The ID of the revnet.|
|
|
448
|
-
|`newSplitOperator`|`address`|The new split operator's address.|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
### burnHeldTokensOf
|
|
452
|
-
|
|
453
|
-
Burn any of a revnet's tokens held by this contract.
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
```solidity
|
|
457
|
-
function burnHeldTokensOf(uint256 revnetId) external;
|
|
458
|
-
```
|
|
459
|
-
**Parameters**
|
|
460
|
-
|
|
461
|
-
|Name|Type|Description|
|
|
462
|
-
|----|----|-----------|
|
|
463
|
-
|`revnetId`|`uint256`|The ID of the revnet whose tokens should be burned.|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
## Events
|
|
467
|
-
### ReplaceSplitOperator
|
|
468
|
-
|
|
469
|
-
```solidity
|
|
470
|
-
event ReplaceSplitOperator(uint256 indexed revnetId, address indexed newSplitOperator, address caller);
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
### DeploySuckers
|
|
474
|
-
|
|
475
|
-
```solidity
|
|
476
|
-
event DeploySuckers(
|
|
477
|
-
uint256 indexed revnetId,
|
|
478
|
-
bytes32 encodedConfigurationHash,
|
|
479
|
-
REVSuckerDeploymentConfig suckerDeploymentConfiguration,
|
|
480
|
-
address caller
|
|
481
|
-
);
|
|
482
|
-
```
|
|
483
|
-
|
|
484
|
-
### DeployRevnet
|
|
485
|
-
|
|
486
|
-
```solidity
|
|
487
|
-
event DeployRevnet(
|
|
488
|
-
uint256 indexed revnetId,
|
|
489
|
-
REVConfig configuration,
|
|
490
|
-
JBTerminalConfig[] terminalConfigurations,
|
|
491
|
-
REVSuckerDeploymentConfig suckerDeploymentConfiguration,
|
|
492
|
-
JBRulesetConfig[] rulesetConfigurations,
|
|
493
|
-
bytes32 encodedConfigurationHash,
|
|
494
|
-
address caller
|
|
495
|
-
);
|
|
496
|
-
```
|
|
497
|
-
|
|
498
|
-
### SetCashOutDelay
|
|
499
|
-
|
|
500
|
-
```solidity
|
|
501
|
-
event SetCashOutDelay(uint256 indexed revnetId, uint256 cashOutDelay, address caller);
|
|
502
|
-
```
|
|
503
|
-
|
|
504
|
-
### AutoIssue
|
|
505
|
-
|
|
506
|
-
```solidity
|
|
507
|
-
event AutoIssue(
|
|
508
|
-
uint256 indexed revnetId, uint256 indexed stageId, address indexed beneficiary, uint256 count, address caller
|
|
509
|
-
);
|
|
510
|
-
```
|
|
511
|
-
|
|
512
|
-
### StoreAutoIssuanceAmount
|
|
513
|
-
|
|
514
|
-
```solidity
|
|
515
|
-
event StoreAutoIssuanceAmount(
|
|
516
|
-
uint256 indexed revnetId, uint256 indexed stageId, address indexed beneficiary, uint256 count, address caller
|
|
517
|
-
);
|
|
518
|
-
```
|
|
519
|
-
|
|
520
|
-
### BurnHeldTokens
|
|
521
|
-
|
|
522
|
-
```solidity
|
|
523
|
-
event BurnHeldTokens(uint256 indexed revnetId, uint256 count, address caller);
|
|
524
|
-
```
|
|
525
|
-
|