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(lazer): add fees to solana contract #2146

Merged
merged 6 commits into from
Dec 4, 2024
Merged

feat(lazer): add fees to solana contract #2146

merged 6 commits into from
Dec 4, 2024

Conversation

Riateche
Copy link
Contributor

@Riateche Riateche commented Nov 25, 2024

The user will now call our contract so that we can withdraw fees to the treasury account.

Not sure about the migration path for devnet/testnet. We can redeploy the program itself but the storage account also needs to be migrated somehow.

Copy link

vercel bot commented Nov 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 2:39pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 2:39pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 2:39pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Dec 3, 2024 2:39pm
insights ⬜️ Ignored (Inspect) Visit Preview Dec 3, 2024 2:39pm

@Riateche Riateche merged commit 9c49daf into main Dec 4, 2024
11 checks passed
@Riateche Riateche deleted the lazer-solana-fees branch December 4, 2024 17:36
cprussin pushed a commit to cprussin/pyth-crosschain that referenced this pull request Dec 4, 2024
* refactor(lazer): change verify_message to a contract call, add test

* feat(lazer): add treasury and fees to solana contract

* feat(lazer): make treasury configurable, add migration

* feat(lazer): add extra space to contract's pda

* fix(lazer): keep old names for legacy structs for compatibility

* refactor(lazer): keep good names for new types and methods
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.

3 participants