Skip to content

chores#74

Open
Cedarich wants to merge 1 commit into
learnault:mainfrom
Cedarich:feat/stake-vault-staking
Open

chores#74
Cedarich wants to merge 1 commit into
learnault:mainfrom
Cedarich:feat/stake-vault-staking

Conversation

@Cedarich
Copy link
Copy Markdown

  • 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
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@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

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

2 participants