IAlgebraPoolPermissionedActions
IAlgebraPoolPermissionedActions
Permissioned pool actions Contains pool methods that may only be called by the factory owner or tokenomics
Functions
setCommunityFee
setCommunityFee(uint8,uint8)
external
Set the community's % share of the fees. Cannot exceed 25% (250)
Name | Type | Description |
---|---|---|
communityFee0 | uint8 | new community fee percent for token0 of the pool in thousandths (1e-3) |
communityFee1 | uint8 | new community fee percent for token1 of the pool in thousandths (1e-3) |
setIncentive
setIncentive(address)
external
Sets an active incentive
Name | Type | Description |
---|---|---|
virtualPoolAddress | address | The address of a virtual pool associated with the incentive |
setLiquidityCooldown
setLiquidityCooldown(uint32)
external
Sets new lock time for added liquidity
Name | Type | Description |
---|---|---|
newLiquidityCooldown | uint32 | The time in seconds |
IAlgebraPoolPermissionedActions
Permissioned pool actions Contains pool methods that may only be called by the factory owner or tokenomics
Functions
setCommunityFee
setCommunityFee(uint8,uint8)
external
Set the community's % share of the fees. Cannot exceed 25% (250)
Name | Type | Description |
---|---|---|
communityFee0 | uint8 | new community fee percent for token0 of the pool in thousandths (1e-3) |
communityFee1 | uint8 | new community fee percent for token1 of the pool in thousandths (1e-3) |
setIncentive
setIncentive(address)
external
Sets an active incentive
Name | Type | Description |
---|---|---|
virtualPoolAddress | address | The address of a virtual pool associated with the incentive |
setLiquidityCooldown
setLiquidityCooldown(uint32)
external
Sets new lock time for added liquidity
Name | Type | Description |
---|---|---|
newLiquidityCooldown | uint32 | The time in seconds |
IAlgebraPoolPermissionedActions
Permissioned pool actions Contains pool methods that may only be called by the factory owner or tokenomics
Functions
setCommunityFee
setCommunityFee(uint8,uint8)
external
Set the community's % share of the fees. Cannot exceed 25% (250)
Name | Type | Description |
---|---|---|
communityFee0 | uint8 | new community fee percent for token0 of the pool in thousandths (1e-3) |
communityFee1 | uint8 | new community fee percent for token1 of the pool in thousandths (1e-3) |
setIncentive
setIncentive(address)
external
Sets an active incentive
Name | Type | Description |
---|---|---|
virtualPoolAddress | address | The address of a virtual pool associated with the incentive |
setLiquidityCooldown
setLiquidityCooldown(uint32)
external
Sets new lock time for added liquidity
Name | Type | Description |
---|---|---|
newLiquidityCooldown | uint32 | The time in seconds |
IAlgebraPoolPermissionedActions
Permissioned pool actions Contains pool methods that may only be called by the factory owner or tokenomics
Functions
setCommunityFee
setCommunityFee(uint8,uint8)
external
Set the community's % share of the fees. Cannot exceed 25% (250)
Name | Type | Description |
---|---|---|
communityFee0 | uint8 | new community fee percent for token0 of the pool in thousandths (1e-3) |
communityFee1 | uint8 | new community fee percent for token1 of the pool in thousandths (1e-3) |
setIncentive
setIncentive(address)
external
Sets an active incentive
Name | Type | Description |
---|---|---|
virtualPoolAddress | address | The address of a virtual pool associated with the incentive |
setLiquidityCooldown
setLiquidityCooldown(uint32)
external
Sets new lock time for added liquidity
Name | Type | Description |
---|---|---|
newLiquidityCooldown | uint32 | The time in seconds |