Versions in this module Expand all Collapse all v1 v1.10.17 Oct 18, 2021 Changes in this version + var VRFConsumerV2ABI = VRFConsumerV2MetaData.ABI + var VRFConsumerV2Bin = VRFConsumerV2MetaData.Bin + var VRFConsumerV2MetaData = &bind.MetaData + type VRFConsumerV2 struct + func DeployVRFConsumerV2(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *VRFConsumerV2, error) + func NewVRFConsumerV2(address common.Address, backend bind.ContractBackend) (*VRFConsumerV2, error) + func (_VRFConsumerV2 *VRFConsumerV2) Address() common.Address + type VRFConsumerV2Caller struct + func NewVRFConsumerV2Caller(address common.Address, caller bind.ContractCaller) (*VRFConsumerV2Caller, error) + func (_VRFConsumerV2 *VRFConsumerV2Caller) SGasAvailable(opts *bind.CallOpts) (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2Caller) SRandomWords(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2Caller) SRequestId(opts *bind.CallOpts) (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2Caller) SSubId(opts *bind.CallOpts) (uint64, error) + type VRFConsumerV2CallerRaw struct + Contract *VRFConsumerV2Caller + func (_VRFConsumerV2 *VRFConsumerV2CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type VRFConsumerV2CallerSession struct + CallOpts bind.CallOpts + Contract *VRFConsumerV2Caller + func (_VRFConsumerV2 *VRFConsumerV2CallerSession) SGasAvailable() (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2CallerSession) SRandomWords(arg0 *big.Int) (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2CallerSession) SRequestId() (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2CallerSession) SSubId() (uint64, error) + type VRFConsumerV2Filterer struct + func NewVRFConsumerV2Filterer(address common.Address, filterer bind.ContractFilterer) (*VRFConsumerV2Filterer, error) + type VRFConsumerV2Interface interface + Address func() common.Address + RawFulfillRandomWords func(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + SGasAvailable func(opts *bind.CallOpts) (*big.Int, error) + SRandomWords func(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error) + SRequestId func(opts *bind.CallOpts) (*big.Int, error) + SSubId func(opts *bind.CallOpts) (uint64, error) + TestCreateSubscriptionAndFund func(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + TestRequestRandomness func(opts *bind.TransactOpts, keyHash [32]byte, subId uint64, minReqConfs uint16, ...) (*types.Transaction, error) + UpdateSubscription func(opts *bind.TransactOpts, consumers []common.Address) (*types.Transaction, error) + type VRFConsumerV2Raw struct + Contract *VRFConsumerV2 + func (_VRFConsumerV2 *VRFConsumerV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_VRFConsumerV2 *VRFConsumerV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VRFConsumerV2Session struct + CallOpts bind.CallOpts + Contract *VRFConsumerV2 + TransactOpts bind.TransactOpts + func (_VRFConsumerV2 *VRFConsumerV2Session) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) SGasAvailable() (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) SRandomWords(arg0 *big.Int) (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) SRequestId() (*big.Int, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) SSubId() (uint64, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) TestCreateSubscriptionAndFund(amount *big.Int) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) TestRequestRandomness(keyHash [32]byte, subId uint64, minReqConfs uint16, callbackGasLimit uint32, ...) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Session) UpdateSubscription(consumers []common.Address) (*types.Transaction, error) + type VRFConsumerV2Transactor struct + func NewVRFConsumerV2Transactor(address common.Address, transactor bind.ContractTransactor) (*VRFConsumerV2Transactor, error) + func (_VRFConsumerV2 *VRFConsumerV2Transactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Transactor) TestCreateSubscriptionAndFund(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Transactor) TestRequestRandomness(opts *bind.TransactOpts, keyHash [32]byte, subId uint64, minReqConfs uint16, ...) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2Transactor) UpdateSubscription(opts *bind.TransactOpts, consumers []common.Address) (*types.Transaction, error) + type VRFConsumerV2TransactorRaw struct + Contract *VRFConsumerV2Transactor + func (_VRFConsumerV2 *VRFConsumerV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VRFConsumerV2TransactorSession struct + Contract *VRFConsumerV2Transactor + TransactOpts bind.TransactOpts + func (_VRFConsumerV2 *VRFConsumerV2TransactorSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2TransactorSession) TestCreateSubscriptionAndFund(amount *big.Int) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2TransactorSession) TestRequestRandomness(keyHash [32]byte, subId uint64, minReqConfs uint16, callbackGasLimit uint32, ...) (*types.Transaction, error) + func (_VRFConsumerV2 *VRFConsumerV2TransactorSession) UpdateSubscription(consumers []common.Address) (*types.Transaction, error)