getStates

This method returns the current reserve, weight, and last block timestamp of the pool.

Function

function getStates() external view returns (uint, uint);

Return values

ValueDescription

uint _r

The reserve of the pool.

uint _w

The weight of the pool.

Last updated