V3 Changes

V2 Changes

The string sUSD (and synth tickers) are used throughout the codebase, including as currencyKeys which are used in external facing functions. Presumably, we’d like to leave these as-is, and only change the return value of symbol functions.

The symbol for synths (including sUSD) is returned via the getter automatically generated by Solidity for public variables. We could change this variable to private, rename it to avoid an Identifier already declared error, and create a getter that appends the string legacy. The changes to the existing variable should not alter the storage layout and cause issues during upgrade, but this need verification from the auditors.

The implementation would look something like this:

Screenshot_2023-09-21_at_2.50.39_PM.png

Comments/Questions