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

feat(unstoppable): add glp compounder #2146

Merged
merged 3 commits into from Jan 19, 2023
Merged

Conversation

tonzgao
Copy link
Contributor

@tonzgao tonzgao commented Jan 18, 2023

Description

https://glp.unstoppablefinance.org/
note: not affiliated with project

Checklist

How to test?

http://localhost:5001/apps/unstoppable/balances?network=arbitrum&addresses%5B%5D=0x4E190B3D31d96e0cD11a1520185a77b57A0182f2

async getPricePerShare({ appToken, contract }: GetPricePerShareParams<UnstoppableGlpVault>) {
const reserveRaw = await contract.totalAssets();
const reserve = Number(reserveRaw) / 10 ** appToken.tokens[0].decimals;
console.warn('a', reserveRaw, reserve, appToken);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you remove this console log 🙏

@wpoulin
Copy link
Contributor

wpoulin commented Jan 19, 2023

Good job and thanks for the PRs. You rock !

@tonzgao tonzgao requested a review from wpoulin January 19, 2023 15:46
@wpoulin wpoulin merged commit 85825a5 into Zapper-fi:main Jan 19, 2023
0xdapper pushed a commit to 0xdapper/studio that referenced this pull request Feb 28, 2023
* feat(unstoppable): Add Glp compounder
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.

None yet

2 participants