Skip to content

Add Batch Read View for Key Escrow Fields #101

@mikewheeleer

Description

@mikewheeleer

Implement Summary Read Method for External Indexers

Description

Expose a single read method returning a compact struct of status, funded amount, targets, and timestamps to reduce cross-contract call chatter for backends.

Requirements and context

  • Must be secure, tested, and documented
  • Should be efficient and easy to review

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b feature/escrow-summary-read
  • Implement changes
  • Write contract: escrow/src/lib.rs
  • Write comprehensive tests: escrow/src/test.rs
  • Add documentation: README.md
  • Include Rust doc comments for field stability across versions
  • Validate assumptions on struct size and serialization

Test and commit

  • Run tests
  • Cover edge cases
  • Include test output and security notes

Example commit message

feat(escrow): add compact summary read for indexer efficiency

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions