Skip to content

Commit

Permalink
add isNullifier and isCommitment (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira authored Jan 20, 2025
1 parent 59e2a36 commit beef149
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Anoma/Builtin/System.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,9 @@ axiom pseudoRandomNumberGeneratorSplit : PRNG -> Pair PRNG PRNG;
--- @return A pair containing the random number and the advanced PRNG.
builtin anoma-random-next-bytes
axiom pseudoRandomNumberGeneratorNextBytes : Nat -> PRNG -> Pair ByteArray PRNG;

builtin anoma-is-nullifier
axiom isNullifier : Nat -> Bool;

builtin anoma-is-commitment
axiom isCommitment : Nat -> Bool;

0 comments on commit beef149

Please sign in to comment.