Skip to content
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

feat: alliance lp hub #31

Merged
merged 12 commits into from
Jan 16, 2024
Merged

feat: alliance lp hub #31

merged 12 commits into from
Jan 16, 2024

Conversation

emidev98
Copy link
Contributor

@emidev98 emidev98 commented Jan 8, 2024

This pull request introduce a new smart contract in the alliance-protocol. This smart contract is a simplified version of AllianceHub, that does not require off-chain oracle and the re-balancing model is based on weights configured through governance.

@emidev98 emidev98 force-pushed the init/alliance/lp/hub branch from 4ae6c93 to e439487 Compare January 9, 2024 11:57
@emidev98 emidev98 force-pushed the init/alliance/lp/hub branch from e439487 to 4e9a0be Compare January 9, 2024 12:03
@emidev98 emidev98 force-pushed the init/alliance/lp/hub branch from 9e9729c to 2928a20 Compare January 11, 2024 06:49
@javiersuweijie
Copy link
Member

@emidev98 When unstaking tokens from the hub, we need to unstake them from the incentives contract as well. Else the LP tokens will still be stuck and cant be withdrawn

@emidev98
Copy link
Contributor Author

emidev98 commented Jan 15, 2024

Thanks! That makes a lot of sense, I'll check and implement that

@emidev98 emidev98 marked this pull request as ready for review January 15, 2024 14:07
@emidev98 emidev98 merged commit ec6898d into main Jan 16, 2024
1 of 2 checks passed
@emidev98 emidev98 deleted the init/alliance/lp/hub branch January 16, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants