mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-13 06:29:25 +00:00
14 lines
359 B
Rust
14 lines
359 B
Rust
use serai_validator_sets_primitives::Session;
|
|
use serai_in_instructions_primitives::{Batch, SignedBatch};
|
|
|
|
use serai_db::{Get, DbTxn, create_db};
|
|
|
|
create_db! {
|
|
SignersBatch {
|
|
ActiveSigningProtocols: (session: Session) -> Vec<u32>,
|
|
Batches: (id: u32) -> Batch,
|
|
SignedBatches: (id: u32) -> SignedBatch,
|
|
LastAcknowledgedBatch: () -> u32,
|
|
}
|
|
}
|