Anoma.TransparentResource.Resource (Anoma v0.25.0)

resource struct

Summary

Types

Link to this type

commitment()

@type commitment() :: binary()
@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)

Link to this function

commitment(resource)

Link to this function

commits?(self, commitment)

@spec commits?(t(), Noun.noun_atom()) :: boolean()
Link to this function

delta(resource)

Link to this function

from_noun(arg1)

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

to_noun(resource)