ProtocolAdapter
address
type: the first one is token address and the second one is account address. The function MUST return balance of given asset held on the protocol for the given account.TokenAdapter
name
: string
with token name;symbol
: string
with token symbol;decimals
: uint8
number with token decimals.token
: address
of the underlying token contract;rate
: uint256
with price per base token share (1e18).