package
0.0.5
Repository: https://github.com/goplugin/plugin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BigToSeed returns seed x represented as a Seed, or an error if x is too big.
BytesToSeed returns the Seed corresponding to b, or an error if b is too long.
FinalSeed is the seed which is actually passed to the VRF proof generator, given the pre-seed and the hash of the block in which the VRFCoordinator emitted the log for the request this is responding to.
No description provided by the author
Check the key hash against the spec's pubkey.
MarshalForSolidityVerifier renders p as required by randomValueFromVRFProof.
No description provided by the author
SolidityPrecalculations returns the precomputed values needed by the solidity verifier, or an error on failure.
No description provided by the author
UnmarshalProofResponse returns the ProofResponse represented by the bytes in m.
No description provided by the author
No description provided by the author

# Constants

OnChainResponseLength is the length of the MarshaledOnChainResponse.
zInv (Leave Output out, because that can be efficiently calculated).

# Variables

No description provided by the author

# Structs

No description provided by the author
PreSeedData contains the data the VRF provider needs to compute the final VRF output and marshal the proof for transmission to the VRFCoordinator contract.
ProofResponse is the data which is sent back to the VRFCoordinator, so that it can verify that the seed the oracle finally used is correct.
SolidityProof contains precalculations which VRF.sol needs to verifiy proofs.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

MarshaledOnChainResponse is the flat bytes which are sent back to the VRFCoordinator.
MarshaledProof contains a VRF proof for randomValueFromVRFProof.
Seed represents a VRF seed as a serialized uint256.