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

Defines base types constructions.

Summary

Types

Callbacks

@callback new(any()) :: struct() | error()
Link to this callback

to_sc_map_entry(struct)

View Source (optional)
@callback to_sc_map_entry(struct()) :: map_entry()
Link to this callback

to_sc_val(struct)

View Source (optional)
@callback to_sc_val(struct()) :: sc_val()