Skip to content

feat: add batch and intent validation utilities - #1

Merged
setraprotocol merged 1 commit into
mainfrom
feat/add-batch-validation
Jul 25, 2026
Merged

feat: add batch and intent validation utilities#1
setraprotocol merged 1 commit into
mainfrom
feat/add-batch-validation

Conversation

@setraprotocol

Copy link
Copy Markdown
Owner

Adds validation functions for batch size limits, intent deadlines, and buyer/seller pair checks.

  • validateBatchSize() - enforces MAX_BATCH_SIZE
  • validateIntentDeadline() - checks deadline not passed
  • validateIntentPair() - validates buyer != seller, non-zero amounts

@setraprotocol
setraprotocol merged commit 9c24b91 into main Jul 25, 2026
1 of 4 checks passed
setraprotocol added a commit that referenced this pull request Jul 25, 2026
Co-authored-by: Punter <puntertrade@users.noreply.github.com>
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