solidity_vrf_consumer_interface

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const VRFConsumerABI = "" /* 1187-byte string literal not displayed */

Variables

View Source
var VRFConsumerBin = "" /* 2560-byte string literal not displayed */

Functions

This section is empty.

Types

type VRFConsumer

type VRFConsumer struct {
	VRFConsumerCaller
	VRFConsumerTransactor
	VRFConsumerFilterer
	// contains filtered or unexported fields
}

func DeployVRFConsumer

func DeployVRFConsumer(auth *bind.TransactOpts, backend bind.ContractBackend, _vrfCoordinator common.Address, _link common.Address) (common.Address, *types.Transaction, *VRFConsumer, error)

func NewVRFConsumer

func NewVRFConsumer(address common.Address, backend bind.ContractBackend) (*VRFConsumer, error)

func (*VRFConsumer) Address

func (_VRFConsumer *VRFConsumer) Address() common.Address

type VRFConsumerCaller

type VRFConsumerCaller struct {
	// contains filtered or unexported fields
}

func NewVRFConsumerCaller

func NewVRFConsumerCaller(address common.Address, caller bind.ContractCaller) (*VRFConsumerCaller, error)

func (*VRFConsumerCaller) RandomnessOutput

func (_VRFConsumer *VRFConsumerCaller) RandomnessOutput(opts *bind.CallOpts) (*big.Int, error)

func (*VRFConsumerCaller) RequestId

func (_VRFConsumer *VRFConsumerCaller) RequestId(opts *bind.CallOpts) ([32]byte, error)

type VRFConsumerCallerRaw

type VRFConsumerCallerRaw struct {
	Contract *VRFConsumerCaller
}

func (*VRFConsumerCallerRaw) Call

func (_VRFConsumer *VRFConsumerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type VRFConsumerCallerSession

type VRFConsumerCallerSession struct {
	Contract *VRFConsumerCaller
	CallOpts bind.CallOpts
}

func (*VRFConsumerCallerSession) RandomnessOutput

func (_VRFConsumer *VRFConsumerCallerSession) RandomnessOutput() (*big.Int, error)

func (*VRFConsumerCallerSession) RequestId

func (_VRFConsumer *VRFConsumerCallerSession) RequestId() ([32]byte, error)

type VRFConsumerFilterer

type VRFConsumerFilterer struct {
	// contains filtered or unexported fields
}

func NewVRFConsumerFilterer

func NewVRFConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFConsumerFilterer, error)

type VRFConsumerInterface

type VRFConsumerInterface interface {
	RandomnessOutput(opts *bind.CallOpts) (*big.Int, error)

	RequestId(opts *bind.CallOpts) ([32]byte, error)

	RawFulfillRandomness(opts *bind.TransactOpts, requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

	TestRequestRandomness(opts *bind.TransactOpts, _keyHash [32]byte, _fee *big.Int) (*types.Transaction, error)

	Address() common.Address
}

type VRFConsumerRaw

type VRFConsumerRaw struct {
	Contract *VRFConsumer
}

func (*VRFConsumerRaw) Call

func (_VRFConsumer *VRFConsumerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*VRFConsumerRaw) Transact

func (_VRFConsumer *VRFConsumerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*VRFConsumerRaw) Transfer

func (_VRFConsumer *VRFConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFConsumerSession

type VRFConsumerSession struct {
	Contract     *VRFConsumer
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*VRFConsumerSession) RandomnessOutput

func (_VRFConsumer *VRFConsumerSession) RandomnessOutput() (*big.Int, error)

func (*VRFConsumerSession) RawFulfillRandomness

func (_VRFConsumer *VRFConsumerSession) RawFulfillRandomness(requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

func (*VRFConsumerSession) RequestId

func (_VRFConsumer *VRFConsumerSession) RequestId() ([32]byte, error)

func (*VRFConsumerSession) TestRequestRandomness

func (_VRFConsumer *VRFConsumerSession) TestRequestRandomness(_keyHash [32]byte, _fee *big.Int) (*types.Transaction, error)

type VRFConsumerTransactor

type VRFConsumerTransactor struct {
	// contains filtered or unexported fields
}

func NewVRFConsumerTransactor

func NewVRFConsumerTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFConsumerTransactor, error)

func (*VRFConsumerTransactor) RawFulfillRandomness

func (_VRFConsumer *VRFConsumerTransactor) RawFulfillRandomness(opts *bind.TransactOpts, requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

func (*VRFConsumerTransactor) TestRequestRandomness

func (_VRFConsumer *VRFConsumerTransactor) TestRequestRandomness(opts *bind.TransactOpts, _keyHash [32]byte, _fee *big.Int) (*types.Transaction, error)

type VRFConsumerTransactorRaw

type VRFConsumerTransactorRaw struct {
	Contract *VRFConsumerTransactor
}

func (*VRFConsumerTransactorRaw) Transact

func (_VRFConsumer *VRFConsumerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*VRFConsumerTransactorRaw) Transfer

func (_VRFConsumer *VRFConsumerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFConsumerTransactorSession

type VRFConsumerTransactorSession struct {
	Contract     *VRFConsumerTransactor
	TransactOpts bind.TransactOpts
}

func (*VRFConsumerTransactorSession) RawFulfillRandomness

func (_VRFConsumer *VRFConsumerTransactorSession) RawFulfillRandomness(requestId [32]byte, randomness *big.Int) (*types.Transaction, error)

func (*VRFConsumerTransactorSession) TestRequestRandomness

func (_VRFConsumer *VRFConsumerTransactorSession) TestRequestRandomness(_keyHash [32]byte, _fee *big.Int) (*types.Transaction, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL