View Source Soroban.Types.Spec behaviour (Soroban v0.3.0)

Defines base types constructions.

Link to this section Summary

Link to this section Types

@type error() :: {:error, atom()}
@type sc_val() :: Stellar.TxBuild.SCVal.t()

Link to this section Callbacks

@callback new(any()) :: struct() | error()
@callback to_sc_val(struct()) :: sc_val()