solidity_vrf_consumer_interface

package
v0.8.14 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

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

VRFConsumerABI is the input ABI used to generate the binding from.

Variables

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

VRFConsumerBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type VRFConsumer

type VRFConsumer struct {
	VRFConsumerCaller     // Read-only binding to the contract
	VRFConsumerTransactor // Write-only binding to the contract
	VRFConsumerFilterer   // Log filterer for contract events
}

VRFConsumer is an auto generated Go binding around an Ethereum contract.

func DeployVRFConsumer

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

DeployVRFConsumer deploys a new Ethereum contract, binding an instance of VRFConsumer to it.

func NewVRFConsumer

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

NewVRFConsumer creates a new instance of VRFConsumer, bound to a specific deployed contract.

type VRFConsumerCaller

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

VRFConsumerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewVRFConsumerCaller

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

NewVRFConsumerCaller creates a new read-only instance of VRFConsumer, bound to a specific deployed contract.

func (*VRFConsumerCaller) Nonces

func (_VRFConsumer *VRFConsumerCaller) Nonces(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x9e317f12.

Solidity: function nonces(bytes32 ) view returns(uint256)

func (*VRFConsumerCaller) RandomnessOutput

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

RandomnessOutput is a free data retrieval call binding the contract method 0x2f47fd86.

Solidity: function randomnessOutput() view returns(uint256)

func (*VRFConsumerCaller) RequestId

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

RequestId is a free data retrieval call binding the contract method 0x006d6cae.

Solidity: function requestId() view returns(bytes32)

type VRFConsumerCallerRaw

type VRFConsumerCallerRaw struct {
	Contract *VRFConsumerCaller // Generic read-only contract binding to access the raw methods on
}

VRFConsumerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*VRFConsumerCallerRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type VRFConsumerCallerSession

type VRFConsumerCallerSession struct {
	Contract *VRFConsumerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

VRFConsumerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*VRFConsumerCallerSession) Nonces

func (_VRFConsumer *VRFConsumerCallerSession) Nonces(arg0 [32]byte) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x9e317f12.

Solidity: function nonces(bytes32 ) view returns(uint256)

func (*VRFConsumerCallerSession) RandomnessOutput

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

RandomnessOutput is a free data retrieval call binding the contract method 0x2f47fd86.

Solidity: function randomnessOutput() view returns(uint256)

func (*VRFConsumerCallerSession) RequestId

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

RequestId is a free data retrieval call binding the contract method 0x006d6cae.

Solidity: function requestId() view returns(bytes32)

type VRFConsumerFilterer

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

VRFConsumerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewVRFConsumerFilterer

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

NewVRFConsumerFilterer creates a new log filterer instance of VRFConsumer, bound to a specific deployed contract.

type VRFConsumerRaw

type VRFConsumerRaw struct {
	Contract *VRFConsumer // Generic contract binding to access the raw methods on
}

VRFConsumerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*VRFConsumerRaw) Call

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

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*VRFConsumerRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*VRFConsumerRaw) Transfer

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

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VRFConsumerSession

type VRFConsumerSession struct {
	Contract     *VRFConsumer      // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

VRFConsumerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*VRFConsumerSession) Nonces

func (_VRFConsumer *VRFConsumerSession) Nonces(arg0 [32]byte) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x9e317f12.

Solidity: function nonces(bytes32 ) view returns(uint256)

func (*VRFConsumerSession) RandomnessOutput

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

RandomnessOutput is a free data retrieval call binding the contract method 0x2f47fd86.

Solidity: function randomnessOutput() view returns(uint256)

func (*VRFConsumerSession) RawFulfillRandomness added in v0.8.9

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

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*VRFConsumerSession) RequestId

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

RequestId is a free data retrieval call binding the contract method 0x006d6cae.

Solidity: function requestId() view returns(bytes32)

func (*VRFConsumerSession) RequestRandomness

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

RequestRandomness is a paid mutator transaction binding the contract method 0xdc6cfe10.

Solidity: function requestRandomness(bytes32 _keyHash, uint256 _fee, uint256 _seed) returns(bytes32 requestId)

type VRFConsumerTransactor

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

VRFConsumerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewVRFConsumerTransactor

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

NewVRFConsumerTransactor creates a new write-only instance of VRFConsumer, bound to a specific deployed contract.

func (*VRFConsumerTransactor) RawFulfillRandomness added in v0.8.9

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

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*VRFConsumerTransactor) RequestRandomness

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

RequestRandomness is a paid mutator transaction binding the contract method 0xdc6cfe10.

Solidity: function requestRandomness(bytes32 _keyHash, uint256 _fee, uint256 _seed) returns(bytes32 requestId)

type VRFConsumerTransactorRaw

type VRFConsumerTransactorRaw struct {
	Contract *VRFConsumerTransactor // Generic write-only contract binding to access the raw methods on
}

VRFConsumerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*VRFConsumerTransactorRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*VRFConsumerTransactorRaw) Transfer

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

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type VRFConsumerTransactorSession

type VRFConsumerTransactorSession struct {
	Contract     *VRFConsumerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

VRFConsumerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*VRFConsumerTransactorSession) RawFulfillRandomness added in v0.8.9

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

RawFulfillRandomness is a paid mutator transaction binding the contract method 0x94985ddd.

Solidity: function rawFulfillRandomness(bytes32 requestId, uint256 randomness) returns()

func (*VRFConsumerTransactorSession) RequestRandomness

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

RequestRandomness is a paid mutator transaction binding the contract method 0xdc6cfe10.

Solidity: function requestRandomness(bytes32 _keyHash, uint256 _fee, uint256 _seed) returns(bytes32 requestId)

Jump to

Keyboard shortcuts

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