Skip to content

Make the name and symbol of the Stablecoin and the Reservecoin configurable #18

@Zahnentferner

Description

@Zahnentferner

In lines 46 and 47 of Djed.sol (https://github.com/DjedAlliance/Djed-Solidity/blob/main/src/Djed.sol), the satablecoin and the reservecoin are given fixed and hard-coded names and symbols: "Stablecoin", "SC", "Reservecoin", "RC".

We should make these names and symbols configurable.

The desired names and symbols should be passed as arguments in the constructor and then used in lines 46 and 47.

Note that there is a limit in the number of arguments that a function, including a constructor, can have. If adding 4 more arguments in teh constructor will make us exceed this limit, we will need to find a workaround. A one-time setup function to be called once after the constructor could be a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions