Skip to main content

IWeightedPool

Functions

getSwapEnabled

function getSwapEnabled() external returns (bool)

getNormalizedWeights

function getNormalizedWeights() external returns (uint256[])

getGradualWeightUpdateParams

function getGradualWeightUpdateParams() external returns (uint256 startTime, uint256 endTime, uint256[] endWeights)

setSwapEnabled

function setSwapEnabled(
bool swapEnabled
) external

Parameters

NameTypeDescription
swapEnabledbool

updateWeightsGradually

function updateWeightsGradually(
uint256 startTime,
uint256 endTime,
uint256[] endWeights
) external

Parameters

NameTypeDescription
startTimeuint256
endTimeuint256
endWeightsuint256[]

withdrawCollectedManagementFees

function withdrawCollectedManagementFees(
address recipient
) external

Parameters

NameTypeDescription
recipientaddress