stability-contracts icon indicating copy to clipboard operation
stability-contracts copied to clipboard

Factory: short vault symbols

Open a17 opened this issue 1 year ago • 0 comments

Why change the current logic?

While Metamask contributors cannot or do not want to increase the maximum length of a token symbol (based on https://github.com/MetaMask/metamask-extension/issues/9243), we will use the logic for generating vault symbols, in which the maximum length will be no more than 11 letters.

New scheme

  • 1 character for vault type
  • 1 character for separator
  • 1-5 characters for all strategy assets
  • 1 character for separator
  • 1-7 characters for the strategy identifier and its specifics

Examples

  • C-UeU-GQMFS
  • C-USDCe-Y
  • C-MUe-DQMFN
  • C-cUU-CCF
  • C-MU-GRMFN
  • C-M-AS1B
  • C-BE-IRBMFE
  • C-EU-IRBMFE
  • C-BE-GRBMFN
  • C-EU-IQMF

a17 avatar May 10 '24 11:05 a17