View Source
Stellar.TxBuild.Ledger.ContractCode
(Elixir Stellar SDK v0.17.1)
ContractCode
struct definition.
@type body_type() :: :data_entry | :expiration_ext
@type error() :: {:error, atom()}
@type t() :: %Stellar.TxBuild.Ledger.ContractCode{
body_type: body_type(),
hash: hash()
}
@type validation() :: {:ok, any()} | error()