Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
*wallets.Storage
node.Identifier
}
func NewProcessor ¶
func NewProcessor(identifier node.Identifier, wStorage *wallets.Storage) Processor
NewProcessor creates a VRF instruction processor backed by wallet storage.
func (*Processor) ProveRandomness ¶
func (p *Processor) ProveRandomness( _ types.SubmissionTag, dataFixed *instruction.DataFixed, _ []hexutil.Bytes, _ []common.Address, _ *policy.SigningPolicy, ) ([]byte, []byte, error)
ProveRandomness returns a VRF proof for the given wallet/key pair and nonce.
Click to show internal directories.
Click to hide internal directories.