-
Notifications
You must be signed in to change notification settings - Fork 104
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
dex/{networks,testing}: Add simnet USDC #2640
Conversation
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.
Why do we need separate contract TestToken
and contract TestUSDC
? Can't they be the same contract on simnet?
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.
You're right, it's not necessary. I added a parameter to the TestToken contract so that the decimals can be 6 like the actual 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.
Do we even need the dextt token any more?
constructor() { | ||
_name = "TestToken"; | ||
_symbol = "TST"; | ||
constructor(bool usdc) { |
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.
Why not constructor(uint8 decimals)
?
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.
Just to have the correct _name
and _symbol
.. there's no point though.
True, if no one needs it I'll just remove it. |
I'd really like to get rid of the dextt token. We can just call it usdc.polygon. It's existence causes a lot of headaches. |
@buck54321 Got rid of it. |
This adds the usdc.eth and usdc.polygon assets to simnet and gets rid of dextt.
This adds the usdc.eth and usdc.polygon assets to simnet and gets rid of dextt.