github.com/consensys/gnark@v0.11.0/constraint/hint.go (about) 1 package constraint 2 3 import ( 4 "github.com/consensys/gnark/constraint/solver" 5 ) 6 7 // HintMapping mark a list of output variables to be computed using provided hint and inputs. 8 type HintMapping struct { 9 HintID solver.HintID // Hint function id 10 Inputs []LinearExpression // Terms to inject in the hint function 11 OutputRange struct { // IDs of wires the hint outputs map to 12 Start, End uint32 13 } 14 }