Skip to content

Consider having the symbol and name functions on the OracleToken include the symbol and name functions of the underlying token #4

@BrendanChou

Description

@BrendanChou

Have the symbol() and name() functions call the respective functions on the token for which the oracle is used, and then append that to the end of the Polaris name or symbol. This will make the token much more readable on sites like EtherScan.

One problem with Uniswap is that each liquidity token appears the same. Since these functions do not affect functionality at all, there shouldn't be any security concern, although you may consider using staticcall to get the name/symbol and then using just your default Polaris values if there is some error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions