-
Notifications
You must be signed in to change notification settings - Fork 0
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
Config: Alfajores #1
Conversation
export const DAI_ADDRESS = Address.fromString('0x6B175474E89094C44Da98b954EedeAC495271d0F'); | ||
export const USDT_ADDRESS = Address.fromString('0xdAC17F958D2ee523a2206206994597C13D831ec7'); | ||
export const cUSD_ADDRESS = Address.fromString('0x4a4AC35B50DAf081C22856ebB26561F3a22598C6'); | ||
export const USDC_ADDRESS = Address.fromString('0x4a4AC35B50DAf081C22856ebB26561F3a22598C6'); |
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.
This is a hacky solution, because the code is expecting a USDC address to be set.
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.
If you're referring to the CUSD address on Celo Alfajores, you entered an incorrect address. This is the actual address, and its original source.
CUSD Address ALFAJORES: 0x874069fa1eb16d44d622f2e0ca25eea172369bc1
https://docs.celo.org/es/token-addresses
The API for the deployed subgraph can be accessed here: https://api.studio.thegraph.com/query/10166/balancer-rfi/version/latest |
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.
I deployed this "cUSD" contract to alfajores. It has an unprotected mint function so that we can use it to test stuff. |
Merging this PR despite your request for changes, because using our "own" cUSD contract vs the "official" one is useful for us, because it simplifies testing a lot. |
Description
Please include a summary of the change and if relevant which issue is fixed. Please also include relevant motivation and context.
Type of change
How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.
Checklist:
dev
->master
Merges to
dev
closes #2