Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat: add stargate finance #926

Closed
wants to merge 7 commits into from
Closed

Conversation

tonzgao
Copy link
Contributor

@tonzgao tonzgao commented Jul 21, 2022

Description

stargate finance - https://stargateprotocol.gitbook.io/stargate/developers/contract-addresses/mainnet

note: applying for grant at https://app.dework.xyz/stargate-finance/community-tasks-1?taskId=60ee3f58-da0a-48a3-bb27-13a47d9a2a91

@immasandwich are there plans to create some sort of generator function which takes a template and registers it for multiple chains?

edit: hmm, from #435 i see that stargate might already be supported? it seems to have pools and farms already, but not ve?

Checklist

How to test?

http://localhost:5001/apps/stargate-finance/tokens?network=ethereum&groupIds%5B%5D=ve&groupIds%5B%5D=pool&groupIds%5B%5D=eth
http://localhost:5001/apps/stargate-finance/positions?network=ethereum&groupIds%5B%5D=farm
http://localhost:5001/apps/stargate-finance/balances?network=ethereum&addresses%5B%5D=0xF627E5F4BAd95a956468d8BB6Ee20b119F992E96 (random address)

@immasandwich
Copy link
Contributor

@tonzgao yes terribly sorry, Stargate is already integrated (and I know because its a pain in the ass to copy all of these files around 😠), we are missing the ve token though, you're right about that.

I can extract Stargate Finance today to Studio, and that will enable you to add the ve token and make any other changes you'd like to see if that works for you?

Also, the boilerplate is a pain in the ass for multichain apps, we're aware of that and we're gonna be making some improvements in the next few months to reduce that copy/pasta. For now, we'll need to bear with the pain of copying files around.

@immasandwich
Copy link
Contributor

@tonzgao I'll take the thumbs up as a yes! I'll get Stargate extracted by tomorrow morning I hope 🙏

@tonzgao
Copy link
Contributor Author

tonzgao commented Jul 25, 2022

closing for #947

@tonzgao tonzgao closed this Jul 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants