Minimal Anti Collusion Infrastructure (MACI) / IGenerateProofsOptions
Interface: IGenerateProofsOptions
Defined in: contracts/build/tasks/helpers/types.d.ts:262
Interface that represents generate proof options
Properties
onBatchComplete()?
optionalonBatchComplete: (data) =>void
Defined in: contracts/build/tasks/helpers/types.d.ts:268
Hook to call when batch generation is completed
Parameters
data
batch data
Returns
void
onComplete()?
optionalonComplete: (data,tally?) =>void
Defined in: contracts/build/tasks/helpers/types.d.ts:275
Hook to call when proof generation is completed
Parameters
data
Proof[]
proof generated data
tally?
TallyData
tally data
Returns
void
onFail()?
optionalonFail: (error) =>void
Defined in: contracts/build/tasks/helpers/types.d.ts:281
Hook to call when generation is failed
Parameters
error
Error
error
Returns
void