UserStateTransitionProof
Inherits: BaseProof
A class representing a user state transition proof. Each of the following properties are public signals for the proof.
import { UserStateTransitionProof } from '@unirep/circuits'
const data = new UserStateTransitionProof(publicSignals, proof)
historyTreeRoot
The history tree root being proven against.
this.historyTreeRoot
stateTreeLeaf
The new state tree leaf for the user.
this.stateTreeLeaf
toEpoch
The epoch the user is transitioning to.
this.toEpoch
attesterId
The attester id for the proof.
this.attesterId
epochKeys
The epoch keys that are output as public signals. These should be verified to not exist in the epoch tree.
this.epochKeys