Documentation ¶
Index ¶
- Variables
- type GetRequestStatus
- type SRequests
- type VRFV2WrapperConsumerExample
- func DeployVRFV2WrapperConsumerExample(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address, ...) (common.Address, *types.Transaction, *VRFV2WrapperConsumerExample, error)
- func NewVRFV2WrapperConsumerExample(address common.Address, backend bind.ContractBackend) (*VRFV2WrapperConsumerExample, error)
- type VRFV2WrapperConsumerExampleCaller
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCaller) GetRequestStatus(opts *bind.CallOpts, _requestId *big.Int) (GetRequestStatus, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCaller) SRequests(opts *bind.CallOpts, arg0 *big.Int) (SRequests, error)
- type VRFV2WrapperConsumerExampleCallerRaw
- type VRFV2WrapperConsumerExampleCallerSession
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCallerSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCallerSession) Owner() (common.Address, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCallerSession) SRequests(arg0 *big.Int) (SRequests, error)
- type VRFV2WrapperConsumerExampleFilterer
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperConsumerExampleOwnershipTransferredIterator, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) FilterWrappedRequestFulfilled(opts *bind.FilterOpts) (*VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFV2WrapperConsumerExampleOwnershipTransferRequested, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2WrapperConsumerExampleOwnershipTransferred, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) ParseWrappedRequestFulfilled(log types.Log) (*VRFV2WrapperConsumerExampleWrappedRequestFulfilled, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) WatchWrappedRequestFulfilled(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type VRFV2WrapperConsumerExampleInterface
- type VRFV2WrapperConsumerExampleOwnershipTransferRequested
- type VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator
- type VRFV2WrapperConsumerExampleOwnershipTransferred
- type VRFV2WrapperConsumerExampleOwnershipTransferredIterator
- type VRFV2WrapperConsumerExampleRaw
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFV2WrapperConsumerExampleSession
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) AcceptOwnership() (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) Owner() (common.Address, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) SRequests(arg0 *big.Int) (SRequests, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- type VRFV2WrapperConsumerExampleTransactor
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) MakeRequest(opts *bind.TransactOpts, _callbackGasLimit uint32, ...) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, _requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- type VRFV2WrapperConsumerExampleTransactorRaw
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFV2WrapperConsumerExampleTransactorSession
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- type VRFV2WrapperConsumerExampleWrappedRequestFulfilled
- type VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator
Constants ¶
This section is empty.
Variables ¶
View Source
var VRFV2WrapperConsumerExampleABI = VRFV2WrapperConsumerExampleMetaData.ABI
View Source
var VRFV2WrapperConsumerExampleBin = VRFV2WrapperConsumerExampleMetaData.Bin
View Source
var VRFV2WrapperConsumerExampleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_link\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_vrfV2Wrapper\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"requestId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"randomWords\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"payment\",\"type\":\"uint256\"}],\"name\":\"WrappedRequestFulfilled\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"}],\"name\":\"getRequestStatus\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"},{\"internalType\":\"uint256[]\",\"name\":\"randomWords\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"uint16\",\"name\":\"_requestConfirmations\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"_numWords\",\"type\":\"uint32\"}],\"name\":\"makeRequest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"requestId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_requestId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_randomWords\",\"type\":\"uint256[]\"}],\"name\":\"rawFulfillRandomWords\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"s_requests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60c060405234801561001057600080fd5b5060405161102a38038061102a83398101604081905261002f9161019f565b6001600160601b0319606083811b821660805282901b1660a052338060008161009f5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03848116919091179091558116156100cf576100cf816100d9565b50505050506101d2565b6001600160a01b0381163314156101325760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610096565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b80516001600160a01b038116811461019a57600080fd5b919050565b600080604083850312156101b257600080fd5b6101bb83610183565b91506101c960208401610183565b90509250929050565b60805160601c60a05160601c610e18610212600039600081816101b8015281816102e30152818161069901526107c00152600061066f0152610e186000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100c5578063a168fa89146100ed578063d8a4676f1461012c578063f2fde38b1461014e57600080fd5b80630c09b832146100825780631fe543e3146100a857806379ba5097146100bd575b600080fd5b610095610090366004610c6a565b610161565b6040519081526020015b60405180910390f35b6100bb6100b6366004610b7b565b6102cb565b005b6100bb61037d565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161009f565b6101176100fb366004610b49565b6002602052600090815260409020805460019091015460ff1682565b6040805192835290151560208301520161009f565b61013f61013a366004610b49565b61047a565b60405161009f93929190610db2565b6100bb61015c366004610aea565b61058c565b600061016b6105a0565b610176848484610623565b6040805160608101918290527f4306d3540000000000000000000000000000000000000000000000000000000090915263ffffffff86166064820152909150807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634306d3546084830160206040518083038186803b15801561020e57600080fd5b505afa158015610222573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102469190610b62565b8152600060208083018290526040805183815280830182529381019390935284825260028082529183902084518155848201516001820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790559284015180516102c1938501929190910190610a71565b5050509392505050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461036f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f6f6e6c792056524620563220777261707065722063616e2066756c66696c6c0060448201526064015b60405180910390fd5b6103798282610864565b5050565b60015473ffffffffffffffffffffffffffffffffffffffff1633146103fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e6572000000000000000000006044820152606401610366565b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b60008181526002602052604081205481906060906104f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f72657175657374206e6f7420666f756e640000000000000000000000000000006044820152606401610366565b6000848152600260208181526040808420815160608101835281548152600182015460ff161515818501529381018054835181860281018601855281815292949386019383018282801561056757602002820191906000526020600020905b815481526020019060010190808311610553575b5050509190925250508151602083015160409093015190989297509550909350505050565b6105946105a0565b61059d8161097b565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610366565b565b6040517f4306d35400000000000000000000000000000000000000000000000000000000815263ffffffff8416600482015260009073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811691634000aea0917f00000000000000000000000000000000000000000000000000000000000000009190821690634306d3549060240160206040518083038186803b1580156106de57600080fd5b505afa1580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107169190610b62565b6040805163ffffffff808b16602083015261ffff8a169282019290925290871660608201526080016040516020818303038152906040526040518463ffffffff1660e01b815260040161076b93929190610cf1565b602060405180830381600087803b15801561078557600080fd5b505af1158015610799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bd9190610b27565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663fc2a88c36040518163ffffffff1660e01b815260040160206040518083038186803b15801561082457600080fd5b505afa158015610838573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190610b62565b949350505050565b6000828152600260205260409020546108d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f72657175657374206e6f7420666f756e640000000000000000000000000000006044820152606401610366565b6000828152600260208181526040909220600181810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055835161092c93919092019190840190610a71565b50600082815260026020526040908190205490517f6c84e12b4c188e61f1b4727024a5cf05c025fa58467e5eedf763c0744c89da7b9161096f9185918591610d89565b60405180910390a15050565b73ffffffffffffffffffffffffffffffffffffffff81163314156109fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610366565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215610aac579160200282015b82811115610aac578251825591602001919060010190610a91565b50610ab8929150610abc565b5090565b5b80821115610ab85760008155600101610abd565b803563ffffffff81168114610ae557600080fd5b919050565b600060208284031215610afc57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610b2057600080fd5b9392505050565b600060208284031215610b3957600080fd5b81518015158114610b2057600080fd5b600060208284031215610b5b57600080fd5b5035919050565b600060208284031215610b7457600080fd5b5051919050565b60008060408385031215610b8e57600080fd5b8235915060208084013567ffffffffffffffff80821115610bae57600080fd5b818601915086601f830112610bc257600080fd5b813581811115610bd457610bd4610ddc565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610c1757610c17610ddc565b604052828152858101935084860182860187018b1015610c3657600080fd5b600095505b83861015610c59578035855260019590950194938601938601610c3b565b508096505050505050509250929050565b600080600060608486031215610c7f57600080fd5b610c8884610ad1565b9250602084013561ffff81168114610c9f57600080fd5b9150610cad60408501610ad1565b90509250925092565b600081518084526020808501945080840160005b83811015610ce657815187529582019590820190600101610cca565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815260006020848184015260606040840152835180606085015260005b81811015610d4157858101830151858201608001528201610d25565b81811115610d53576000608083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160800195945050505050565b838152606060208201526000610da26060830185610cb6565b9050826040830152949350505050565b8381528215156020820152606060408201526000610dd36060830184610cb6565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea164736f6c6343000806000a",
}
Functions ¶
This section is empty.
Types ¶
type GetRequestStatus ¶
type VRFV2WrapperConsumerExample ¶
type VRFV2WrapperConsumerExample struct { VRFV2WrapperConsumerExampleCaller VRFV2WrapperConsumerExampleTransactor VRFV2WrapperConsumerExampleFilterer // contains filtered or unexported fields }
func DeployVRFV2WrapperConsumerExample ¶
func DeployVRFV2WrapperConsumerExample(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address, _vrfV2Wrapper common.Address) (common.Address, *types.Transaction, *VRFV2WrapperConsumerExample, error)
func NewVRFV2WrapperConsumerExample ¶
func NewVRFV2WrapperConsumerExample(address common.Address, backend bind.ContractBackend) (*VRFV2WrapperConsumerExample, error)
func (*VRFV2WrapperConsumerExample) Address ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExample) Address() common.Address
type VRFV2WrapperConsumerExampleCaller ¶
type VRFV2WrapperConsumerExampleCaller struct {
// contains filtered or unexported fields
}
func NewVRFV2WrapperConsumerExampleCaller ¶
func NewVRFV2WrapperConsumerExampleCaller(address common.Address, caller bind.ContractCaller) (*VRFV2WrapperConsumerExampleCaller, error)
func (*VRFV2WrapperConsumerExampleCaller) GetRequestStatus ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCaller) GetRequestStatus(opts *bind.CallOpts, _requestId *big.Int) (GetRequestStatus, error)
type VRFV2WrapperConsumerExampleCallerRaw ¶
type VRFV2WrapperConsumerExampleCallerRaw struct {
Contract *VRFV2WrapperConsumerExampleCaller
}
type VRFV2WrapperConsumerExampleCallerSession ¶
type VRFV2WrapperConsumerExampleCallerSession struct { Contract *VRFV2WrapperConsumerExampleCaller CallOpts bind.CallOpts }
func (*VRFV2WrapperConsumerExampleCallerSession) GetRequestStatus ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleCallerSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
type VRFV2WrapperConsumerExampleFilterer ¶
type VRFV2WrapperConsumerExampleFilterer struct {
// contains filtered or unexported fields
}
func NewVRFV2WrapperConsumerExampleFilterer ¶
func NewVRFV2WrapperConsumerExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFV2WrapperConsumerExampleFilterer, error)
func (*VRFV2WrapperConsumerExampleFilterer) FilterOwnershipTransferRequested ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator, error)
func (*VRFV2WrapperConsumerExampleFilterer) FilterOwnershipTransferred ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperConsumerExampleOwnershipTransferredIterator, error)
func (*VRFV2WrapperConsumerExampleFilterer) FilterWrappedRequestFulfilled ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) FilterWrappedRequestFulfilled(opts *bind.FilterOpts) (*VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator, error)
func (*VRFV2WrapperConsumerExampleFilterer) ParseOwnershipTransferRequested ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFV2WrapperConsumerExampleOwnershipTransferRequested, error)
func (*VRFV2WrapperConsumerExampleFilterer) ParseOwnershipTransferred ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2WrapperConsumerExampleOwnershipTransferred, error)
func (*VRFV2WrapperConsumerExampleFilterer) ParseWrappedRequestFulfilled ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) ParseWrappedRequestFulfilled(log types.Log) (*VRFV2WrapperConsumerExampleWrappedRequestFulfilled, error)
func (*VRFV2WrapperConsumerExampleFilterer) WatchOwnershipTransferRequested ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperConsumerExampleOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*VRFV2WrapperConsumerExampleFilterer) WatchOwnershipTransferred ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperConsumerExampleOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*VRFV2WrapperConsumerExampleFilterer) WatchWrappedRequestFulfilled ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleFilterer) WatchWrappedRequestFulfilled(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperConsumerExampleWrappedRequestFulfilled) (event.Subscription, error)
type VRFV2WrapperConsumerExampleInterface ¶
type VRFV2WrapperConsumerExampleInterface interface { GetRequestStatus(opts *bind.CallOpts, _requestId *big.Int) (GetRequestStatus, error) Owner(opts *bind.CallOpts) (common.Address, error) SRequests(opts *bind.CallOpts, arg0 *big.Int) (SRequests, error) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) MakeRequest(opts *bind.TransactOpts, _callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error) RawFulfillRandomWords(opts *bind.TransactOpts, _requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator, error) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperConsumerExampleOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferRequested(log types.Log) (*VRFV2WrapperConsumerExampleOwnershipTransferRequested, error) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperConsumerExampleOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperConsumerExampleOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*VRFV2WrapperConsumerExampleOwnershipTransferred, error) FilterWrappedRequestFulfilled(opts *bind.FilterOpts) (*VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator, error) WatchWrappedRequestFulfilled(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperConsumerExampleWrappedRequestFulfilled) (event.Subscription, error) ParseWrappedRequestFulfilled(log types.Log) (*VRFV2WrapperConsumerExampleWrappedRequestFulfilled, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type VRFV2WrapperConsumerExampleOwnershipTransferRequested ¶
type VRFV2WrapperConsumerExampleOwnershipTransferRequested struct { From common.Address To common.Address Raw types.Log }
func (VRFV2WrapperConsumerExampleOwnershipTransferRequested) Topic ¶
func (VRFV2WrapperConsumerExampleOwnershipTransferRequested) Topic() common.Hash
type VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator ¶
type VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator struct { Event *VRFV2WrapperConsumerExampleOwnershipTransferRequested // contains filtered or unexported fields }
func (*VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator) Close ¶
func (it *VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator) Close() error
func (*VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator) Error ¶
func (it *VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator) Error() error
func (*VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator) Next ¶
func (it *VRFV2WrapperConsumerExampleOwnershipTransferRequestedIterator) Next() bool
type VRFV2WrapperConsumerExampleOwnershipTransferred ¶
type VRFV2WrapperConsumerExampleOwnershipTransferred struct { From common.Address To common.Address Raw types.Log }
func (VRFV2WrapperConsumerExampleOwnershipTransferred) Topic ¶
func (VRFV2WrapperConsumerExampleOwnershipTransferred) Topic() common.Hash
type VRFV2WrapperConsumerExampleOwnershipTransferredIterator ¶
type VRFV2WrapperConsumerExampleOwnershipTransferredIterator struct { Event *VRFV2WrapperConsumerExampleOwnershipTransferred // contains filtered or unexported fields }
func (*VRFV2WrapperConsumerExampleOwnershipTransferredIterator) Close ¶
func (it *VRFV2WrapperConsumerExampleOwnershipTransferredIterator) Close() error
func (*VRFV2WrapperConsumerExampleOwnershipTransferredIterator) Error ¶
func (it *VRFV2WrapperConsumerExampleOwnershipTransferredIterator) Error() error
func (*VRFV2WrapperConsumerExampleOwnershipTransferredIterator) Next ¶
func (it *VRFV2WrapperConsumerExampleOwnershipTransferredIterator) Next() bool
type VRFV2WrapperConsumerExampleRaw ¶
type VRFV2WrapperConsumerExampleRaw struct {
Contract *VRFV2WrapperConsumerExample
}
func (*VRFV2WrapperConsumerExampleRaw) Call ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*VRFV2WrapperConsumerExampleRaw) Transact ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleRaw) Transfer ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFV2WrapperConsumerExampleSession ¶
type VRFV2WrapperConsumerExampleSession struct { Contract *VRFV2WrapperConsumerExample CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*VRFV2WrapperConsumerExampleSession) AcceptOwnership ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) AcceptOwnership() (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleSession) GetRequestStatus ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
func (*VRFV2WrapperConsumerExampleSession) MakeRequest ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleSession) Owner ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) Owner() (common.Address, error)
func (*VRFV2WrapperConsumerExampleSession) RawFulfillRandomWords ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleSession) SRequests ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) SRequests(arg0 *big.Int) (SRequests, error)
func (*VRFV2WrapperConsumerExampleSession) TransferOwnership ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleSession) TransferOwnership(to common.Address) (*types.Transaction, error)
type VRFV2WrapperConsumerExampleTransactor ¶
type VRFV2WrapperConsumerExampleTransactor struct {
// contains filtered or unexported fields
}
func NewVRFV2WrapperConsumerExampleTransactor ¶
func NewVRFV2WrapperConsumerExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFV2WrapperConsumerExampleTransactor, error)
func (*VRFV2WrapperConsumerExampleTransactor) AcceptOwnership ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactor) MakeRequest ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) MakeRequest(opts *bind.TransactOpts, _callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactor) RawFulfillRandomWords ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, _requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactor) TransferOwnership ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
type VRFV2WrapperConsumerExampleTransactorRaw ¶
type VRFV2WrapperConsumerExampleTransactorRaw struct {
Contract *VRFV2WrapperConsumerExampleTransactor
}
func (*VRFV2WrapperConsumerExampleTransactorRaw) Transact ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactorRaw) Transfer ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFV2WrapperConsumerExampleTransactorSession ¶
type VRFV2WrapperConsumerExampleTransactorSession struct { Contract *VRFV2WrapperConsumerExampleTransactor TransactOpts bind.TransactOpts }
func (*VRFV2WrapperConsumerExampleTransactorSession) AcceptOwnership ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactorSession) MakeRequest ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactorSession) RawFulfillRandomWords ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2WrapperConsumerExampleTransactorSession) TransferOwnership ¶
func (_VRFV2WrapperConsumerExample *VRFV2WrapperConsumerExampleTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
type VRFV2WrapperConsumerExampleWrappedRequestFulfilled ¶
type VRFV2WrapperConsumerExampleWrappedRequestFulfilled struct { RequestId *big.Int RandomWords []*big.Int Payment *big.Int Raw types.Log }
func (VRFV2WrapperConsumerExampleWrappedRequestFulfilled) Topic ¶
func (VRFV2WrapperConsumerExampleWrappedRequestFulfilled) Topic() common.Hash
type VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator ¶
type VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator struct { Event *VRFV2WrapperConsumerExampleWrappedRequestFulfilled // contains filtered or unexported fields }
func (*VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator) Close ¶
func (it *VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator) Close() error
func (*VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator) Error ¶
func (it *VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator) Error() error
func (*VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator) Next ¶
func (it *VRFV2WrapperConsumerExampleWrappedRequestFulfilledIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.