ProtocolAdapter (v3)

view functions

getBalance

function getBalance(
address token,
address account
)
view
returns (uint256, bytes32)

The function returns 1) account's balance on the protocol and 2) token type.

adapterType

function adapterType()
view
returns (bytes32)

The function is implemented using the public state variable:

bytes32 public immutable adapterType

The variable is set in the contract's constructors and always returns adapter type.