Type Alias concordium_std::CallResponse

source ·
pub type CallResponse = ExternCallResponse;
Expand description

A type representing the return value of contract invocation.

A contract invocation may return a value. It is returned in the following cases

  • an entrypoint of a V1 contract was invoked and the invocation succeeded
  • an entrypoint of a V1 contract was invoked and the invocation failed due to a CallContractError::LogicReject

In all other cases there is no response.

This type is designed to be used via its Read and HasCallResponse traits.

See ExternCallResponse for more details.

Aliased Type§

struct CallResponse { /* private fields */ }