Anoma.CairoResource.Transaction (Anoma v0.29.0)
I am a shielded resource machine transaction.
Summary
Functions
The arguments are JSON strings of compliance units, input logics, input witnesses, output logics, and output witnesses.
Callback implementation for Noun.Nounable.Kind.from_noun/1
.
Types
@type t() :: %Anoma.CairoResource.Transaction{ actions: [Anoma.CairoResource.Action.t()], commitments: [<<_::256>>], delta: binary(), nullifiers: [<<_::256>>], roots: [<<_::256>>] }
Functions
Link to this function
create_from_compliance_units(compliance_units, input_logics, input_witnesses, output_logics, output_witnesses)
@spec create_from_compliance_units([binary()], [binary()], [binary()], [binary()], [ binary() ]) :: {:ok, t()} | {:error, term()}
The arguments are JSON strings of compliance units, input logics, input witnesses, output logics, and output witnesses.
Link to this function
finalize(tx)
Link to this function
from_noun(list)
Callback implementation for Noun.Nounable.Kind.from_noun/1
.
Link to this function
get_binding_messages(tx)
Link to this function
get_compliance_instances(transaction)
@spec get_compliance_instances(t()) :: [Anoma.CairoResource.ComplianceInstance.t()]