Module transaction

Source
Expand description

Transaction Repository Module

This module provides the transaction repository layer for the OpenZeppelin Relayer service. It implements the Repository pattern to abstract transaction data persistence operations, supporting both in-memory and Redis-backed storage implementations.

§Features

  • CRUD Operations: Create, read, update, and delete transactions
  • Specialized Queries: Find transactions by relayer ID, status, and nonce
  • Pagination Support: Efficient paginated listing of transactions
  • Status Management: Update transaction status and timestamps
  • Partial Updates: Support for partial transaction updates
  • Network Data: Manage transaction network-specific data

§Repository Implementations

Structs§

InMemoryTransactionRepository
RedisTransactionRepository

Enums§

TransactionRepositoryStorage
Enum wrapper for different transaction repository implementations

Traits§

TransactionRepository
A trait defining transaction repository operations