-
Notifications
You must be signed in to change notification settings - Fork 183
Add stablecoin and real world asset tabs #404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
|
Are the "Stablecoin" and "Real-World Assets" tabs intended to be identical? |
Yes -- pointing to same page. |
Do we expect these to become different at some point, in a way that is not backwards compatible? This question relates to semantic versioning of the external API. If we indicate that these are experimental, then that allows us to change them in the future without bumping the major version. |
Yeah, these two tabs should be marked/labelled as experimental |
ericglau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial comments
| return opts.mintable || opts.limitations !== false || opts.custodian || opts.pausable || opts.upgradeable === 'uups'; | ||
| } | ||
|
|
||
| export function buildStablecoin(opts: StablecoinOptions): Contract { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to just "extend" erc20.ts in some way to add limitations and custodian and whatever else is needed, without having to duplicate the code building logic of ERC20? I don't think this needs to be done for this PR though.
| </label> | ||
| </section> | ||
|
|
||
| <section class="controls-section"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this PR, we should consider whether this can just extend ERC20Controls.svelte in some way, similar to my other comment for the code building.
Co-authored-by: Eric Lau <ericglau@outlook.com>
…' into add-stables
No description provided.