Skip to content

chores#74

Merged
Kaylahray merged 8 commits into
learnault:mainfrom
Cedarich:feat/stake-vault-staking
Jun 4, 2026
Merged

chores#74
Kaylahray merged 8 commits into
learnault:mainfrom
Cedarich:feat/stake-vault-staking

Conversation

@Cedarich

Copy link
Copy Markdown
Contributor
  • Defines StakeInfo { amount, lock_timestamp } and DataKey::{Admin, Token, UserStake(Address)}
  • Implements stake to transfer USDC into the vault, accumulate stake, and reset lock timestamp
  • Implements unstake to enforce 7-day lock-up, transfer full stake back, and clear storage
  • Adds tests for staking, lock enforcement, and post-withdrawal cleanup

closes #45
closes #47
closes #46

@drips-wave

drips-wave Bot commented May 31, 2026

Copy link
Copy Markdown

@Cedarich Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Cedarich

Copy link
Copy Markdown
Contributor Author

@Kaylahray

@Kaylahray Kaylahray left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please resolve 1 conflict

@Kaylahray

Copy link
Copy Markdown
Contributor

@Cedarich Sorrry champ please help resolve

@Cedarich

Cedarich commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@Kaylahray

@Cedarich

Cedarich commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

Done

@Kaylahray Kaylahray merged commit 950945b into learnault:main Jun 4, 2026
1 check passed
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.

[StakeVault] Unstake USDC (withdrawal) [StakeVault] Stake USDC for multipliers [StakeVault] Define staking schema

3 participants