View Source Stellar.TxBuild.HostFunction (Elixir Stellar SDK v0.15.1)

HostFunction struct definition.

Link to this section Summary

Link to this section Types

@type auth() :: [contract_auth()] | [String.t()]
@type contract_auth() :: Stellar.TxBuild.ContractAuth.t()
@type contract_auth_xdr() :: StellarBase.XDR.ContractAuth.t()
@type error() :: {:error, atom()}
@type t() :: %Stellar.TxBuild.HostFunction{args: args(), auth: auth()}
@type validation() :: {:ok, any()} | error()

Link to this section Functions

@spec set_auth(module :: t(), auth :: auth()) :: t() | error()