Anoma.TransparentResource.Resource (Anoma v0.29.0)
resource struct
Summary
Types
Link to this type
commitment()
@type commitment() :: binary()
Link to this type
nullifier()
@type nullifier() :: binary()
@type t() :: %Anoma.TransparentResource.Resource{ data: binary(), ephemeral: bool(), label: binary(), logic: Noun.t(), nonce: <<_::256>>, nullifier_key: Anoma.Crypto.Sign.public(), quantity: non_neg_integer(), rseed: <<_::0>> }
Functions
Link to this function
bool_to_noun(bool)
@spec bool_to_noun(true) :: 0
@spec bool_to_noun(false) :: 1
Link to this function
commitment(resource)
@spec commitment(t()) :: commitment()
Link to this function
commits?(self, commitment)
@spec commits?(t(), Noun.noun_atom()) :: boolean()
Link to this function
delta(resource)
@spec delta(t()) :: Anoma.TransparentResource.Delta.t()
Link to this function
from_noun(arg1)
Link to this function
from_noun!(noun)
Link to this function
kind(resource)
Link to this function
noun_to_bool(zero)
Link to this function
nullifier(resource)
Link to this function
nullifies?(self, nullifier)
@spec nullifies?(t(), Noun.noun_atom()) :: boolean()
Link to this function