# GTokenRateProvider

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

## gToken

```solidity
contract IGToken gToken
```

## constructor

```solidity
constructor(contract IGToken _gToken) public
```

## getRate

```solidity
function getRate() external view returns (uint256)
```

*Fetches the price rate of a gToken*

### Return Values

| Name | Type    | Description                                                |
| ---- | ------- | ---------------------------------------------------------- |
| \[0] | uint256 | the value of gToken in collateral token, in 1e18 precision |
