GTokenRateProvider

Balancer rate provider to return the value of a gToken in terms of its collaterals token

gToken

contract IGToken gToken

constructor

constructor(contract IGToken _gToken) public

getRate

function getRate() external view returns (uint256)

Fetches the price rate of a gToken

Return Values

NameTypeDescription

[0]

uint256

the value of gToken in collateral token, in 1e18 precision