Type Alias concordium_std::Host
source · pub type Host<State> = ExternHost<State>;
Expand description
The host, which supports interactions with the chain, such as querying the balance of the contract, accessing its state, and invoking operations on other contracts and accounts.
The type is parameterized by the State
type. This is the type of the
contract state that the particular contract operates on.
See ExternHost
for more details.
Aliased Type§
struct Host<State> {
pub state: State,
pub state_builder: StateBuilder,
}
Fields§
§state: State
§state_builder: StateBuilder