-
Notifications
You must be signed in to change notification settings - Fork 837
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
Add Usualx #1689
base: master
Are you sure you want to change the base?
Add Usualx #1689
Conversation
The usual adapter exports pools: Test Suites: 1 passed, 1 total
|
The usual adapter exports pools: Test Suites: 1 passed, 1 total
|
const usualxSupply = await getTokenSupply('Ethereum', '0x06B964d96f5dCF7Eae9d7C559B09EDCe244d4B8E'); | ||
const usualxPrice = await getTokenPrice('Ethereum', '0x06B964d96f5dCF7Eae9d7C559B09EDCe244d4B8E'); | ||
const { data: usualxRewardData } = await axios.get('https://app.usual.money/api/rewards/rates/USUALx'); | ||
const usualxReward = usualxRewardData.rewards.find( |
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.
we should fetch the rate from contract
It adds Usualx using the https://app.usual.money/api/rewards/rates/USUALx