Documentation ¶
Index ¶
- Constants
- Variables
- type VRFTestHelper
- type VRFTestHelperCaller
- func (_VRFTestHelper *VRFTestHelperCaller) AffineECAdd(opts *bind.CallOpts, p1 [2]*big.Int, p2 [2]*big.Int, invZ *big.Int) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) BigModExp(opts *bind.CallOpts, base *big.Int, exponent *big.Int) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) EcmulVerify(opts *bind.CallOpts, x [2]*big.Int, scalar *big.Int, q [2]*big.Int) (bool, error)
- func (_VRFTestHelper *VRFTestHelperCaller) FieldHash(opts *bind.CallOpts, b []byte) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) HashToCurve(opts *bind.CallOpts, pk [2]*big.Int, x *big.Int) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) LinearCombination(opts *bind.CallOpts, c *big.Int, p1 [2]*big.Int, cp1Witness [2]*big.Int, ...) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) PROOFLENGTH(opts *bind.CallOpts) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) ProjectiveECAdd(opts *bind.CallOpts, px *big.Int, py *big.Int, qx *big.Int, qy *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) RandomValueFromVRFProof(opts *bind.CallOpts, proof []byte) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) ScalarFromCurvePoints(opts *bind.CallOpts, hash [2]*big.Int, pk [2]*big.Int, gamma [2]*big.Int, ...) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) SquareRoot(opts *bind.CallOpts, x *big.Int) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCaller) VerifyLinearCombinationWithGenerator(opts *bind.CallOpts, c *big.Int, p [2]*big.Int, s *big.Int, ...) (bool, error)
- func (_VRFTestHelper *VRFTestHelperCaller) VerifyVRFProof(opts *bind.CallOpts, pk [2]*big.Int, gamma [2]*big.Int, c *big.Int, s *big.Int, ...) error
- func (_VRFTestHelper *VRFTestHelperCaller) YSquared(opts *bind.CallOpts, x *big.Int) (*big.Int, error)
- type VRFTestHelperCallerRaw
- type VRFTestHelperCallerSession
- func (_VRFTestHelper *VRFTestHelperCallerSession) AffineECAdd(p1 [2]*big.Int, p2 [2]*big.Int, invZ *big.Int) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) BigModExp(base *big.Int, exponent *big.Int) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) EcmulVerify(x [2]*big.Int, scalar *big.Int, q [2]*big.Int) (bool, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) FieldHash(b []byte) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) HashToCurve(pk [2]*big.Int, x *big.Int) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) LinearCombination(c *big.Int, p1 [2]*big.Int, cp1Witness [2]*big.Int, s *big.Int, p2 [2]*big.Int, ...) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) PROOFLENGTH() (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) ProjectiveECAdd(px *big.Int, py *big.Int, qx *big.Int, qy *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) RandomValueFromVRFProof(proof []byte) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) ScalarFromCurvePoints(hash [2]*big.Int, pk [2]*big.Int, gamma [2]*big.Int, uWitness common.Address, ...) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) SquareRoot(x *big.Int) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) VerifyLinearCombinationWithGenerator(c *big.Int, p [2]*big.Int, s *big.Int, lcWitness common.Address) (bool, error)
- func (_VRFTestHelper *VRFTestHelperCallerSession) VerifyVRFProof(pk [2]*big.Int, gamma [2]*big.Int, c *big.Int, s *big.Int, seed *big.Int, ...) error
- func (_VRFTestHelper *VRFTestHelperCallerSession) YSquared(x *big.Int) (*big.Int, error)
- type VRFTestHelperFilterer
- type VRFTestHelperInterface
- type VRFTestHelperRaw
- func (_VRFTestHelper *VRFTestHelperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VRFTestHelper *VRFTestHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFTestHelper *VRFTestHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFTestHelperSession
- func (_VRFTestHelper *VRFTestHelperSession) AffineECAdd(p1 [2]*big.Int, p2 [2]*big.Int, invZ *big.Int) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) BigModExp(base *big.Int, exponent *big.Int) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) EcmulVerify(x [2]*big.Int, scalar *big.Int, q [2]*big.Int) (bool, error)
- func (_VRFTestHelper *VRFTestHelperSession) FieldHash(b []byte) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) HashToCurve(pk [2]*big.Int, x *big.Int) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) LinearCombination(c *big.Int, p1 [2]*big.Int, cp1Witness [2]*big.Int, s *big.Int, p2 [2]*big.Int, ...) ([2]*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) PROOFLENGTH() (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) ProjectiveECAdd(px *big.Int, py *big.Int, qx *big.Int, qy *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) RandomValueFromVRFProof(proof []byte) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) ScalarFromCurvePoints(hash [2]*big.Int, pk [2]*big.Int, gamma [2]*big.Int, uWitness common.Address, ...) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) SquareRoot(x *big.Int) (*big.Int, error)
- func (_VRFTestHelper *VRFTestHelperSession) VerifyLinearCombinationWithGenerator(c *big.Int, p [2]*big.Int, s *big.Int, lcWitness common.Address) (bool, error)
- func (_VRFTestHelper *VRFTestHelperSession) VerifyVRFProof(pk [2]*big.Int, gamma [2]*big.Int, c *big.Int, s *big.Int, seed *big.Int, ...) error
- func (_VRFTestHelper *VRFTestHelperSession) YSquared(x *big.Int) (*big.Int, error)
- type VRFTestHelperTransactor
- type VRFTestHelperTransactorRaw
- type VRFTestHelperTransactorSession
Constants ¶
View Source
const VRFTestHelperABI = "" /* 5638-byte string literal not displayed */
Variables ¶
View Source
var VRFTestHelperBin = "" /* 13798-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type VRFTestHelper ¶
type VRFTestHelper struct { VRFTestHelperCaller VRFTestHelperTransactor VRFTestHelperFilterer // contains filtered or unexported fields }
func DeployVRFTestHelper ¶
func DeployVRFTestHelper(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *VRFTestHelper, error)
func NewVRFTestHelper ¶
func NewVRFTestHelper(address common.Address, backend bind.ContractBackend) (*VRFTestHelper, error)
func (*VRFTestHelper) Address ¶ added in v0.9.10
func (_VRFTestHelper *VRFTestHelper) Address() common.Address
type VRFTestHelperCaller ¶
type VRFTestHelperCaller struct {
// contains filtered or unexported fields
}
func NewVRFTestHelperCaller ¶
func NewVRFTestHelperCaller(address common.Address, caller bind.ContractCaller) (*VRFTestHelperCaller, error)
func (*VRFTestHelperCaller) AffineECAdd ¶
func (*VRFTestHelperCaller) EcmulVerify ¶
func (*VRFTestHelperCaller) HashToCurve ¶
func (*VRFTestHelperCaller) LinearCombination ¶
func (*VRFTestHelperCaller) PROOFLENGTH ¶ added in v0.8.12
func (*VRFTestHelperCaller) ProjectiveECAdd ¶
func (*VRFTestHelperCaller) RandomValueFromVRFProof ¶
func (*VRFTestHelperCaller) ScalarFromCurvePoints ¶
func (*VRFTestHelperCaller) SquareRoot ¶
func (*VRFTestHelperCaller) VerifyLinearCombinationWithGenerator ¶
func (*VRFTestHelperCaller) VerifyVRFProof ¶
type VRFTestHelperCallerRaw ¶
type VRFTestHelperCallerRaw struct {
Contract *VRFTestHelperCaller
}
type VRFTestHelperCallerSession ¶
type VRFTestHelperCallerSession struct { Contract *VRFTestHelperCaller CallOpts bind.CallOpts }
func (*VRFTestHelperCallerSession) AffineECAdd ¶
func (*VRFTestHelperCallerSession) EcmulVerify ¶
func (*VRFTestHelperCallerSession) FieldHash ¶
func (_VRFTestHelper *VRFTestHelperCallerSession) FieldHash(b []byte) (*big.Int, error)
func (*VRFTestHelperCallerSession) HashToCurve ¶
func (*VRFTestHelperCallerSession) LinearCombination ¶
func (*VRFTestHelperCallerSession) PROOFLENGTH ¶ added in v0.8.12
func (_VRFTestHelper *VRFTestHelperCallerSession) PROOFLENGTH() (*big.Int, error)
func (*VRFTestHelperCallerSession) ProjectiveECAdd ¶
func (*VRFTestHelperCallerSession) RandomValueFromVRFProof ¶
func (_VRFTestHelper *VRFTestHelperCallerSession) RandomValueFromVRFProof(proof []byte) (*big.Int, error)
func (*VRFTestHelperCallerSession) ScalarFromCurvePoints ¶
func (*VRFTestHelperCallerSession) SquareRoot ¶
func (*VRFTestHelperCallerSession) VerifyLinearCombinationWithGenerator ¶
func (*VRFTestHelperCallerSession) VerifyVRFProof ¶
type VRFTestHelperFilterer ¶
type VRFTestHelperFilterer struct {
// contains filtered or unexported fields
}
func NewVRFTestHelperFilterer ¶
func NewVRFTestHelperFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFTestHelperFilterer, error)
type VRFTestHelperInterface ¶ added in v0.9.10
type VRFTestHelperInterface interface { PROOFLENGTH(opts *bind.CallOpts) (*big.Int, error) AffineECAdd(opts *bind.CallOpts, p1 [2]*big.Int, p2 [2]*big.Int, invZ *big.Int) ([2]*big.Int, error) BigModExp(opts *bind.CallOpts, base *big.Int, exponent *big.Int) (*big.Int, error) EcmulVerify(opts *bind.CallOpts, x [2]*big.Int, scalar *big.Int, q [2]*big.Int) (bool, error) FieldHash(opts *bind.CallOpts, b []byte) (*big.Int, error) HashToCurve(opts *bind.CallOpts, pk [2]*big.Int, x *big.Int) ([2]*big.Int, error) LinearCombination(opts *bind.CallOpts, c *big.Int, p1 [2]*big.Int, cp1Witness [2]*big.Int, s *big.Int, p2 [2]*big.Int, sp2Witness [2]*big.Int, zInv *big.Int) ([2]*big.Int, error) ProjectiveECAdd(opts *bind.CallOpts, px *big.Int, py *big.Int, qx *big.Int, qy *big.Int) (*big.Int, *big.Int, *big.Int, error) RandomValueFromVRFProof(opts *bind.CallOpts, proof []byte) (*big.Int, error) ScalarFromCurvePoints(opts *bind.CallOpts, hash [2]*big.Int, pk [2]*big.Int, gamma [2]*big.Int, uWitness common.Address, v [2]*big.Int) (*big.Int, error) SquareRoot(opts *bind.CallOpts, x *big.Int) (*big.Int, error) VerifyLinearCombinationWithGenerator(opts *bind.CallOpts, c *big.Int, p [2]*big.Int, s *big.Int, lcWitness common.Address) (bool, error) VerifyVRFProof(opts *bind.CallOpts, pk [2]*big.Int, gamma [2]*big.Int, c *big.Int, s *big.Int, seed *big.Int, uWitness common.Address, cGammaWitness [2]*big.Int, sHashWitness [2]*big.Int, zInv *big.Int) error YSquared(opts *bind.CallOpts, x *big.Int) (*big.Int, error) Address() common.Address }
type VRFTestHelperRaw ¶
type VRFTestHelperRaw struct {
Contract *VRFTestHelper
}
func (*VRFTestHelperRaw) Call ¶
func (_VRFTestHelper *VRFTestHelperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*VRFTestHelperRaw) Transact ¶
func (_VRFTestHelper *VRFTestHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFTestHelperRaw) Transfer ¶
func (_VRFTestHelper *VRFTestHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFTestHelperSession ¶
type VRFTestHelperSession struct { Contract *VRFTestHelper CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*VRFTestHelperSession) AffineECAdd ¶
func (*VRFTestHelperSession) EcmulVerify ¶
func (*VRFTestHelperSession) FieldHash ¶
func (_VRFTestHelper *VRFTestHelperSession) FieldHash(b []byte) (*big.Int, error)
func (*VRFTestHelperSession) HashToCurve ¶
func (*VRFTestHelperSession) LinearCombination ¶
func (*VRFTestHelperSession) PROOFLENGTH ¶ added in v0.8.12
func (_VRFTestHelper *VRFTestHelperSession) PROOFLENGTH() (*big.Int, error)
func (*VRFTestHelperSession) ProjectiveECAdd ¶
func (*VRFTestHelperSession) RandomValueFromVRFProof ¶
func (_VRFTestHelper *VRFTestHelperSession) RandomValueFromVRFProof(proof []byte) (*big.Int, error)
func (*VRFTestHelperSession) ScalarFromCurvePoints ¶
func (*VRFTestHelperSession) SquareRoot ¶
func (*VRFTestHelperSession) VerifyLinearCombinationWithGenerator ¶
func (*VRFTestHelperSession) VerifyVRFProof ¶
type VRFTestHelperTransactor ¶
type VRFTestHelperTransactor struct {
// contains filtered or unexported fields
}
func NewVRFTestHelperTransactor ¶
func NewVRFTestHelperTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFTestHelperTransactor, error)
type VRFTestHelperTransactorRaw ¶
type VRFTestHelperTransactorRaw struct {
Contract *VRFTestHelperTransactor
}
func (*VRFTestHelperTransactorRaw) Transact ¶
func (_VRFTestHelper *VRFTestHelperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFTestHelperTransactorRaw) Transfer ¶
func (_VRFTestHelper *VRFTestHelperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFTestHelperTransactorSession ¶
type VRFTestHelperTransactorSession struct { Contract *VRFTestHelperTransactor TransactOpts bind.TransactOpts }
Click to show internal directories.
Click to hide internal directories.