getProtocolTokenToGov
Developers > Best Yield > getProtocolTokenToGov
This method gives the governance token associated to a protocol token, e.g. protocolTokenToGov[cDAI] == COMP address.
1
function getProtocolTokenToGov(
2
address _protocolToken
3
) external view returns (address);
Copied!

Parameters

Parameter
Description
_protocolToken
Address of one of the interest-bearing tokens currently used

Return values

Value
Description
address
An array of the address of the governance token
Copy link