This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 381
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { address, network, rewardTokenAddress } = opts; | ||
|
||
const url = `https://us-west1-zapper-backend.cloudfunctions.net/balancer-v2-claimable`; | ||
const response = await Axios.get(url, { params: { address, network, rewardTokenAddress } }); |
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.
Type this please :)
// Legacy merkle redeem configurations can be found in https://github.com/balancer-labs/erc20-redeemable | ||
// New merkle orchard configurations can be found in https://github.com/balancer-labs/frontend-v2 | ||
|
||
export type ClaimableTokenConfig = { |
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.
Delete unused type
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'll move it next to it's utilization in balancer-v2.claimables.config.ts
immasandwich
approved these changes
Apr 29, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Migrated balancer-v2
Checklist
How to test?
arb -
0x0020c5222a24e4a96b720c06b803fb8d34adc0af
eth -
0x0020c5222a24e4a96b720c06b803fb8d34adc0af
poly -
0x53f2736fae551c998d4e72e519f1acf474264de4