You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -234,11 +248,27 @@ function setPluginConfig(uint8 newConfig) external
234
248
```
235
249
**Selector**: `0xbca57f81`
236
250
237
-
Set new plugin config
251
+
Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
252
+
253
+
| Name | Type | Description |
254
+
| ---- | ---- | ----------- |
255
+
| newConfig | uint8 | In the new configuration of the plugin, each bit of which is responsible for a particular hook. |
256
+
257
+
### setCommunityVault
258
+
259
+
```solidity
260
+
function setCommunityVault(address newCommunityVault) external
261
+
```
262
+
**Selector**: `0xd8544cf3`
263
+
264
+
Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role
265
+
266
+
*Developer note: Community fee vault receives collected community fees.
267
+
**accumulated but not yet sent to the vault community fees once will be sent to the `newCommunityVault` address***
238
268
239
269
| Name | Type | Description |
240
270
| ---- | ---- | ----------- |
241
-
|newConfig|uint8|In the new configuration of the plugin, each bit of which is responsible for a particular hook. Only factory owner or POOLS_ADMINISTRATOR_ROLE role|
271
+
|newCommunityVault|address|The address of new community fee vault|
242
272
243
273
### setFee
244
274
@@ -254,3 +284,25 @@ Called by the plugin if dynamic fee is enabled
254
284
| ---- | ---- | ----------- |
255
285
| newFee | uint16 | The new fee value |
256
286
287
+
### sync
288
+
289
+
```solidity
290
+
function sync() external
291
+
```
292
+
**Selector**: `0xfff6cae9`
293
+
294
+
Forces balances to match reserves. Excessive tokens will be distributed between active LPs
295
+
296
+
*Developer note: Only plugin can call this function*
297
+
298
+
### skim
299
+
300
+
```solidity
301
+
function skim() external
302
+
```
303
+
**Selector**: `0x1dd19cb4`
304
+
305
+
Forces balances to match reserves. Excessive tokens will be sent to msg.sender
306
+
307
+
*Developer note: Only plugin can call this function*
0 commit comments