Versions in this module Expand all Collapse all v1 v1.10.17 Oct 18, 2021 Changes in this version + var VRFSingleConsumerExampleABI = VRFSingleConsumerExampleMetaData.ABI + var VRFSingleConsumerExampleBin = VRFSingleConsumerExampleMetaData.Bin + var VRFSingleConsumerExampleMetaData = &bind.MetaData + type SRequestConfig struct + CallbackGasLimit uint32 + KeyHash [32]byte + NumWords uint32 + RequestConfirmations uint16 + SubId uint64 + type VRFSingleConsumerExample struct + func DeployVRFSingleConsumerExample(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *VRFSingleConsumerExample, error) + func NewVRFSingleConsumerExample(address common.Address, backend bind.ContractBackend) (*VRFSingleConsumerExample, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExample) Address() common.Address + type VRFSingleConsumerExampleCaller struct + func NewVRFSingleConsumerExampleCaller(address common.Address, caller bind.ContractCaller) (*VRFSingleConsumerExampleCaller, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCaller) SRandomWords(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCaller) SRequestConfig(opts *bind.CallOpts) (SRequestConfig, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCaller) SRequestId(opts *bind.CallOpts) (*big.Int, error) + type VRFSingleConsumerExampleCallerRaw struct + Contract *VRFSingleConsumerExampleCaller + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type VRFSingleConsumerExampleCallerSession struct + CallOpts bind.CallOpts + Contract *VRFSingleConsumerExampleCaller + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCallerSession) SRandomWords(arg0 *big.Int) (*big.Int, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCallerSession) SRequestConfig() (SRequestConfig, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleCallerSession) SRequestId() (*big.Int, error) + type VRFSingleConsumerExampleFilterer struct + func NewVRFSingleConsumerExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFSingleConsumerExampleFilterer, error) + type VRFSingleConsumerExampleInterface interface + Address func() common.Address + RawFulfillRandomWords func(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + RequestRandomWords func(opts *bind.TransactOpts) (*types.Transaction, error) + SRandomWords func(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error) + SRequestConfig func(opts *bind.CallOpts) (SRequestConfig, error) + SRequestId func(opts *bind.CallOpts) (*big.Int, error) + Subscribe func(opts *bind.TransactOpts) (*types.Transaction, error) + TopUpSubscription func(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + Unsubscribe func(opts *bind.TransactOpts) (*types.Transaction, error) + type VRFSingleConsumerExampleRaw struct + Contract *VRFSingleConsumerExample + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VRFSingleConsumerExampleSession struct + CallOpts bind.CallOpts + Contract *VRFSingleConsumerExample + TransactOpts bind.TransactOpts + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) RequestRandomWords() (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) SRandomWords(arg0 *big.Int) (*big.Int, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) SRequestConfig() (SRequestConfig, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) SRequestId() (*big.Int, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) Subscribe() (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) TopUpSubscription(amount *big.Int) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleSession) Unsubscribe() (*types.Transaction, error) + type VRFSingleConsumerExampleTransactor struct + func NewVRFSingleConsumerExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFSingleConsumerExampleTransactor, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactor) RequestRandomWords(opts *bind.TransactOpts) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactor) Subscribe(opts *bind.TransactOpts) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactor) TopUpSubscription(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactor) Unsubscribe(opts *bind.TransactOpts) (*types.Transaction, error) + type VRFSingleConsumerExampleTransactorRaw struct + Contract *VRFSingleConsumerExampleTransactor + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VRFSingleConsumerExampleTransactorSession struct + Contract *VRFSingleConsumerExampleTransactor + TransactOpts bind.TransactOpts + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorSession) RequestRandomWords() (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorSession) Subscribe() (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorSession) TopUpSubscription(amount *big.Int) (*types.Transaction, error) + func (_VRFSingleConsumerExample *VRFSingleConsumerExampleTransactorSession) Unsubscribe() (*types.Transaction, error)