Skip to content

v1.2

Latest
Compare
Choose a tag to compare
@trojanMcAfee trojanMcAfee released this 04 Mar 20:55
· 14 commits to master since this release

What's changed

This upgrade is done to add a variable, and its supporting methods, that would allow the display of supported tokens in the front-end, providing the ability to use the protocol in Arbitrum through the UI.

New storage variables

  • Added address[] tokenDatabaseArray to AppStorage as a full list of the tokens that the protocol supports.

New facets

ozLoupeFacetV1_2
  • Added getTokenDatabase() in order to get tokenDatabaseArray for a better display of information on the front-end.
OZLFacetV1_2
  • Modified the methods addTokenToDatabase() and removeTokenFromDatabase() so they add/remove a stablecoin from tokenDatabaseArray when they're called respectively.