RedactedTree
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
height: number
originalTree: MerkleTree
Returns RedactedTree
Properties
contracts
height
leafs
originalTree
redactedTree
verificationKey
Methods
publiccompile
Returns Promise<VerificationKey>
publicdeploy
Parameters
deployer: PrivateKey
privateKey: PrivateKey
optionalnonce: number
Returns Promise<undefined | PendingTransaction>
publicproof
Parameters
verbose: boolean = false
Returns Promise<TreeStateProof>
proof
publicset
copy public attribute
Parameters
key: number
key of the attribute
value: Field
Returns void