Skip to content
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

Deploy test token contracts that are mintable to anyone and update params #3

Closed
cupOJoseph opened this issue Jul 13, 2023 · 1 comment
Assignees

Comments

@cupOJoseph
Copy link
Contributor

cupOJoseph commented Jul 13, 2023

https://github.com/UseKeyp/opendollar/blob/dev/src/script/Params.s.sol

existing:

// Collateral Names
bytes32 constant RETH = bytes32('ETH-A'); // 0x4554482d41000000000000000000000000000000000000000000000000000000
bytes32 constant CETH = bytes32('WETH'); // 0x5745544800000000000000000000000000000000000000000000000000000000
bytes32 constant WSTETH = bytes32('WSTETH'); // 0x5753544554480000000000000000000000000000000000000000000000000000
bytes32 constant ARB = bytes32('OP'); // 0x4f50000000000000000000000000000000000000000000000000000000000000
bytes32 constant MAGIC = bytes32('WBTC'); // 0x5742544300000000000000000000000000000000000000000000000000000000
  • a test token that always goes down in price

So for each of these that doesnt already exist a version should be deployed where we are testing that can be minted in unlimited amounts for testing: WSTETH, RETH, ARB instead of OP, WBTC.

Then add the tokens to the params with proper names and addresses in a few places as part of the deploy script

@pi0neerpat
Copy link
Member

Duplicate of #79

@pi0neerpat pi0neerpat marked this as a duplicate of #79 Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants