Skip to content

feat: update Apex Vault contract for Clarity 4 compliance and yield handling#1

Open
syed-ghufran-hassan wants to merge 1 commit intocharlesbarleyman:mainfrom
syed-ghufran-hassan:patch-1
Open

feat: update Apex Vault contract for Clarity 4 compliance and yield handling#1
syed-ghufran-hassan wants to merge 1 commit intocharlesbarleyman:mainfrom
syed-ghufran-hassan:patch-1

Conversation

@syed-ghufran-hassan
Copy link
Copy Markdown

  • Fixed deposit and withdraw Clarity 4 syntax issues (as-contract usage)
  • Added yield accrual at deposit/withdraw for accurate total-assets tracking
  • Simplified USDCx transfer in withdraw function
  • Added proper event logging for deposit, withdraw, and transfer
  • Improved SIP-010 compliance and token metadata functions
  • Enforced zero-amount checks and token ownership verification
  • Incremented version to 2.0.1

…andling



- Fixed deposit and withdraw Clarity 4 syntax issues (as-contract usage)
- Added yield accrual at deposit/withdraw for accurate total-assets tracking
- Simplified USDCx transfer in withdraw function
- Added proper event logging for deposit, withdraw, and transfer
- Improved SIP-010 compliance and token metadata functions
- Enforced zero-amount checks and token ownership verification
- Incremented version to 2.0.1
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.

1 participant