Module ink_env::call

source ·
Expand description

Utilities to call or instantiate contracts on the chain.


Type states that tell what state of a instantiation argument has not yet been set properly for a valid construction.
Utility types for the cross-contract calling API.


The default call type for cross-contract calls. Performs a cross-contract call to callee with gas limit gas_limit, transferring transferred_value of currency.
Builds up a cross contract call.
The final parameters to the cross-contract call.
Builds up contract instantiations.
Builds up contract instantiations.
The delegatecall call type. Performs a call with the given code hash.
The input data for a smart contract execution.
The function selector.


Represents any type that can be returned from an ink! constructor. The following contract implements the four different return type signatures implementing this trait:
Contracts that can be constructed from an AccountId.


Returns a new CallBuilder to build up the parameters to a cross-contract call.
Returns a new CreateBuilder to build up the parameters to a cross-contract instantiation.