Migration Guide

๐Ÿšง

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 to getTokenBalances
  • Renamed the getProtocolBalances method to getDeFiBalances

Interfaces

  • Renamed the WalletProtocolBalanceQuery interface to WalletDeFiBalanceQuery
  • Renamed the ProtocolBalance interface to DeFiBalance
  • Removed the BasisInterface