[][src]Trait fabric_contract::contract::Contract

pub trait Contract: Routing + Metadata {
    fn name(&self) -> String;

    fn get_verified_client_org(&self) -> Result<String, ContractError> { ... }
}

Trait that is implemented for each contract Default implementations here

Required methods

fn name(&self) -> String

Loading content...

Provided methods

fn get_verified_client_org(&self) -> Result<String, ContractError>

Verify the client MSPID and the Peers MSPID are the same

Loading content...

Implementors

Loading content...