Skip to content

feat(escrow): implement lockCustodyFunds with validation, multisig, m…#146

Closed
codewithzubair07 wants to merge 7 commits intoamina69:developfrom
codewithzubair07:feat/lock-custody-funds
Closed

feat(escrow): implement lockCustodyFunds with validation, multisig, m…#146
codewithzubair07 wants to merge 7 commits intoamina69:developfrom
codewithzubair07:feat/lock-custody-funds

Conversation

@codewithzubair07
Copy link
Copy Markdown

🚀 lockCustodyFunds Implementation

Implements escrow locking with configurable duration and deterministic condition hashing.

✅ Features

  • Input validation
  • Deterministic conditionsHash
  • Unlock date calculation
  • Escrow account creation
  • Multi-sig setup (custodian + owner + platform)
  • Memo encoding (<= 28 bytes)
  • Unit tests

🧪 Tests

  • Unlock date correctness
  • Deterministic hashing
  • Validation errors
  • Memo length check

Closes #76

@codewithzubair07 codewithzubair07 force-pushed the feat/lock-custody-funds branch from cfcec82 to 13e76d4 Compare March 30, 2026 07:34
@codewithzubair07 codewithzubair07 force-pushed the feat/lock-custody-funds branch from 6a40be8 to 9aa1f4d Compare March 30, 2026 07:40
@codewithzubair07 codewithzubair07 force-pushed the feat/lock-custody-funds branch from bdaa07a to c6f81d9 Compare March 30, 2026 07:46
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