Trait ibc::ics02_client::context::ClientReader [−][src]
Defines the read-only part of ICS2 (client functions) context.
Required methods
fn client_type(&self, client_id: &ClientId) -> Option<ClientType>
[src]
fn client_state(&self, client_id: &ClientId) -> Option<AnyClientState>
[src]
fn consensus_state(
&self,
client_id: &ClientId,
height: Height
) -> Option<AnyConsensusState>
[src]
&self,
client_id: &ClientId,
height: Height
) -> Option<AnyConsensusState>
fn client_counter(&self) -> u64
[src]
Returns a natural number, counting how many clients have been created thus far.
The value of this counter should increase only via method ClientKeeper::increase_client_counter
.