Anoma.TransparentResource.Transaction (Anoma v0.29.0)
Summary
Functions
Callback implementation for Noun.Nounable.Kind.from_noun/1
.
Types
@type t() :: %Anoma.TransparentResource.Transaction{ actions: MapSet.t(Anoma.TransparentResource.Action.t()), delta: Anoma.TransparentResource.Delta.t(), delta_proof: <<_::0>>, roots: MapSet.t(binary()) }
Link to this type
verify_opts()
Functions
Link to this function
commitments(self)
@spec commitments(t()) :: MapSet.t(Anoma.TransparentResource.Resource.commitment())
Link to this function
compose(tx1, tx2)
Link to this function
from_noun(arg1)
Callback implementation for Noun.Nounable.Kind.from_noun/1
.
Link to this function
nullified_resources(self)
@spec nullified_resources(t()) :: MapSet.t(Anoma.TransparentResource.Resource.t())
Link to this function
nullifiers(self)
@spec nullifiers(t()) :: MapSet.t(Anoma.TransparentResource.Resource.nullifier())
Link to this function
resources(self)
@spec resources(t()) :: MapSet.t(Anoma.TransparentResource.Resource.t())
Link to this function
verify(tx, options \\ [])
@spec verify(t(), [verify_opts()]) :: true | {:error, String.t()}
Link to this function
verify_tx_action_compliance(transaction)
Link to this function
verify_tx_action_delta_sum(transaction)
Link to this function
verify_tx_action_distinctness(tx)
Link to this function
verify_tx_action_logics(tx)
Link to this function
verify_tx_has_zero_delta(transaction)
Link to this function
verify_tx_roots(tx, root_closure)
Link to this function