Trait fuel_core_txpool::ports::TxPoolDb
source · pub trait TxPoolDb: Send + Sync {
// Required methods
fn utxo(&self, utxo_id: &UtxoId) -> StorageResult<Option<CompressedCoin>>;
fn contract_exist(&self, contract_id: &ContractId) -> StorageResult<bool>;
fn message(&self, message_id: &Nonce) -> StorageResult<Option<Message>>;
}