Expand description
Utilities to call or instantiate contracts on the chain.
Modules
- 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.
Structs
- The default call type for cross-contract calls. Performs a cross-contract call to
callee
with gas limitgas_limit
, transferringtransferred_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.
Traits
- 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
.
Functions
- 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.