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
toAppStorage
as a full list of the tokens that the protocol supports.
New facets
ozLoupeFacetV1_2
- Added
getTokenDatabase()
in order to gettokenDatabaseArray
for a better display of information on the front-end.
OZLFacetV1_2
- Modified the methods
addTokenToDatabase()
andremoveTokenFromDatabase()
so they add/remove a stablecoin fromtokenDatabaseArray
when they're called respectively.