Skip to content

Commit

Permalink
add missing docs for attester-incentives
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-evans98 committed Aug 24, 2023
1 parent 46f261c commit cfb828f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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,
}

Expand Down

0 comments on commit cfb828f

Please sign in to comment.