Proposal

Public InputDescription
sn1nullifier is hash of nonce nonce, and sk
epepoch index
coin public key pk affine x coordinate
coin public key pk affine y coordinate
rootroot of coins commitments tree
value commitment affine x coordinate
value commitment affine y coordinate
rewardlottery reward value of type u64
value commitment affine x coordinate
value commitment affine y coordinate
coin commitment
random, deterministic PRF output
random, deterministic PRF output
on-chain entropy as hash of nonce, and
target function approximation first term coefficient
target function approximation second term coefficient

WitnessesDescription
skcoin secret key derived from previous coin sk
nonce2random nonce derived from previous coin
valuecoin value or u64
epepoch index
rewardlottery reward value of type u64
blinding scalar for value commitment
C position rooted by root
pathpath of C at position
blinding scalar for value commitment of newly minted coin
random, deterministic PRF output
random, deterministic PRF output
target function approximation first term coefficient
target function approximation second term coefficient
headstartcompetitive advantage added to target T

Table: if you read this after zerocash which crypsinous is based off, both papers calls nullifiers serial numbers. and serial number is nonce, sn in the table below can be called nullifier in our contract, similarly nonce can be called input/output serial using zcash sapling terminology which is used in our money contract (sapling contract).

FunctionsDescription
value + reward
commitment to
commitment to