diff --git a/module-system/module-implementations/sov-attester-incentives/src/query.rs b/module-system/module-implementations/sov-attester-incentives/src/query.rs index 4244df30a..db1781bdc 100644 --- a/module-system/module-implementations/sov-attester-incentives/src/query.rs +++ b/module-system/module-implementations/sov-attester-incentives/src/query.rs @@ -1,3 +1,4 @@ +//! Defines the query methods for the attester incentives module use borsh::{BorshDeserialize, BorshSerialize}; use serde::{Deserialize, Serialize}; use sov_modules_api::Spec; @@ -8,8 +9,10 @@ use sov_state::{Storage, WorkingSet}; use super::AttesterIncentives; use crate::call::Role; +/// The response type to the `getBondAmount` query. #[derive(Serialize, Deserialize, Debug, Eq, PartialEq)] pub struct BondAmountResponse { + /// The value of the bond pub value: u64, }