If you have been using an earlier (prior to 1.2.0) version of the OpenPool SDK, you will need to make sure to update the following methods listed below:
1.2.0 Breaking Changes
The following method name changes were made to improve the clarity and usage of the SDK.
Method names
- Renamed the
getBalances
method togetTokenBalances
- Renamed the
getProtocolBalances
method togetDeFiBalances
Interfaces
- Renamed the
WalletProtocolBalanceQuery
interface toWalletDeFiBalanceQuery
- Renamed the
ProtocolBalance
interface toDeFiBalance
- Removed the
Basis
Interface