Last updated 1 year ago
This method updates the reserve and weight. On the first call per block updates cumulative states. Only the latest core contract can call it.
function update( uint _balance, uint _r, uint _w ) external;
_balance
The balance of the pool.
_r
The reserve of the pool.
_w
The weight of the pool.