update
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
Parameters
Parameter
Description
_balance
The balance of the pool.
_r
The reserve of the pool.
_w
The weight of the pool.
Last updated