View Source Stellar.TxBuild.InvokeHostFunction (Elixir Stellar SDK v0.12.0)

Performs the following operations:

  • Invokes contract functions.
  • Installs WASM of the new contracts.
  • Deploys new contracts using the installed WASM or built-in implementations.

Link to this section Summary

Link to this section Types

@type t() :: %Stellar.TxBuild.InvokeHostFunction{
  auth: [Stellar.TxBuild.ContractAuth.t()],
  footprint: String.t(),
  function: Stellar.TxBuild.HostFunction.t(),
  source_account: Stellar.TxBuild.OptionalAccount.t()
}
@type validation() :: {:ok, any()} | {:error, atom()}

Link to this section Functions

Link to this function

set_footprint(module, footprint)

View Source
@spec set_footprint(module :: t(), footprint :: String.t()) :: t()