Trait linera_base::abi::ContractAbi
source · pub trait ContractAbi {
type Operation: Serialize + DeserializeOwned + Send + Sync + Debug + 'static;
type Response: Serialize + DeserializeOwned + Send + Sync + Debug + 'static;
}
Expand description
A trait that includes all the types exported by a Linera application contract.
Required Associated Types§
sourcetype Operation: Serialize + DeserializeOwned + Send + Sync + Debug + 'static
type Operation: Serialize + DeserializeOwned + Send + Sync + Debug + 'static
The type of operation executed by the application.
Operations are transactions directly added to a block by the creator (and signer) of the block. Users typically use operations to start interacting with an application on their own chain.