Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Extern functions

add_circuit_inputFill an input in the circuit instance’s data.
circuit_failure_guarantee_verifyVerifies the guarantee in order to drop it.
eval_circuit—
get_circuit_descriptorReturns the descriptor for the circuit.
get_circuit_outputReturns the value of the circuit output, and a guarantee that the output is less than the modulus value.
init_circuit_dataInitializes the input data for running an instance of the circuit.
into_u96_guaranteeConverts ‘T’ into a ‘U96Guarantee’. ‘T’ must be a value that fits inside a u96, for example: u8, u96 or BoundedInt < 0, 12>.