"sUSD"
synthetix
package.synthetix
package."snxBTC"
with "sBTC"
and make analogous changes to all other files in that directory.synthetix-omnibus
package.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:
symbol
are being renamed in the SIP spec, not the name
values. If the latter is desired, ideally this could be processed at the same time.