getProtocolTokenToGov

Developers > Best Yield > getProtocolTokenToGov

This method gives the governance token associated to a protocol token, e.g. protocolTokenToGov[cDAI] == COMP address.

function getProtocolTokenToGov(
    address _protocolToken
) external view returns (address);

Parameters

ParameterDescription

_protocolToken

Address of one of the interest-bearing tokens currently used

Return values

ValueDescription

address

An array of the address of the governance token

Last updated