Documentation ¶
Index ¶
- Variables
- type GetRequestStatus
- type SRequests
- type VRFV2PlusWrapperConsumerExample
- func DeployVRFV2PlusWrapperConsumerExample(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *VRFV2PlusWrapperConsumerExample, error)
- func NewVRFV2PlusWrapperConsumerExample(address common.Address, backend bind.ContractBackend) (*VRFV2PlusWrapperConsumerExample, error)
- type VRFV2PlusWrapperConsumerExampleCaller
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) GetBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) GetLinkToken(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) GetRequestStatus(opts *bind.CallOpts, _requestId *big.Int) (GetRequestStatus, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) IVrfV2PlusWrapper(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) SRequests(opts *bind.CallOpts, arg0 *big.Int) (SRequests, error)
- type VRFV2PlusWrapperConsumerExampleCallerRaw
- type VRFV2PlusWrapperConsumerExampleCallerSession
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) GetBalance() (*big.Int, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) GetLinkToken() (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) IVrfV2PlusWrapper() (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) Owner() (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) SRequests(arg0 *big.Int) (SRequests, error)
- type VRFV2PlusWrapperConsumerExampleFilterer
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterReceived(opts *bind.FilterOpts) (*VRFV2PlusWrapperConsumerExampleReceivedIterator, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterWrappedRequestFulfilled(opts *bind.FilterOpts) (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterWrapperRequestMade(opts *bind.FilterOpts, requestId []*big.Int) (*VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferred, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseReceived(log types.Log) (*VRFV2PlusWrapperConsumerExampleReceived, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseWrappedRequestFulfilled(log types.Log) (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseWrapperRequestMade(log types.Log) (*VRFV2PlusWrapperConsumerExampleWrapperRequestMade, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleReceived) (event.Subscription, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchWrappedRequestFulfilled(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchWrapperRequestMade(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type VRFV2PlusWrapperConsumerExampleInterface
- type VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested
- type VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator
- type VRFV2PlusWrapperConsumerExampleOwnershipTransferred
- type VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator
- type VRFV2PlusWrapperConsumerExampleRaw
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFV2PlusWrapperConsumerExampleReceived
- type VRFV2PlusWrapperConsumerExampleReceivedIterator
- type VRFV2PlusWrapperConsumerExampleSession
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) AcceptOwnership() (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) GetBalance() (*big.Int, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) GetLinkToken() (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) IVrfV2PlusWrapper() (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) MakeRequestNative(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) Owner() (common.Address, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) Receive() (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) SRequests(arg0 *big.Int) (SRequests, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) WithdrawLink(amount *big.Int) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) WithdrawNative(amount *big.Int) (*types.Transaction, error)
- type VRFV2PlusWrapperConsumerExampleTransactor
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) MakeRequest(opts *bind.TransactOpts, _callbackGasLimit uint32, ...) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) MakeRequestNative(opts *bind.TransactOpts, _callbackGasLimit uint32, ...) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, _requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) WithdrawLink(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) WithdrawNative(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- type VRFV2PlusWrapperConsumerExampleTransactorRaw
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFV2PlusWrapperConsumerExampleTransactorSession
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) MakeRequestNative(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) Receive() (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) WithdrawLink(amount *big.Int) (*types.Transaction, error)
- func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) WithdrawNative(amount *big.Int) (*types.Transaction, error)
- type VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled
- type VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator
- type VRFV2PlusWrapperConsumerExampleWrapperRequestMade
- type VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator
Constants ¶
This section is empty.
Variables ¶
View Source
var VRFV2PlusWrapperConsumerExampleABI = VRFV2PlusWrapperConsumerExampleMetaData.ABI
View Source
var VRFV2PlusWrapperConsumerExampleBin = VRFV2PlusWrapperConsumerExampleMetaData.Bin
View Source
var VRFV2PlusWrapperConsumerExampleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vrfV2Wrapper\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"have\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"want\",\"type\":\"address\"}],\"name\":\"OnlyVRFWrapperCanFulfill\",\"type\":\"error\"},{\"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\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"Received\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"requestId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"}],\"name\":\"WrapperRequestMade\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLinkToken\",\"outputs\":[{\"internalType\":\"contractLinkTokenInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"i_vrfV2PlusWrapper\",\"outputs\":[{\"internalType\":\"contractIVRFV2PlusWrapper\",\"name\":\"\",\"type\":\"address\"}],\"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\":[{\"internalType\":\"uint32\",\"name\":\"_callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"uint16\",\"name\":\"_requestConfirmations\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"_numWords\",\"type\":\"uint32\"}],\"name\":\"makeRequestNative\",\"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\"},{\"internalType\":\"bool\",\"name\":\"native\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawLink\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawNative\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x60c06040523480156200001157600080fd5b5060405162001751380380620017518339810160408190526200003491620001f5565b33806000836000819050806001600160a01b0316631c4695f46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a39190620001f5565b6001600160a01b0390811660805290811660a052831690506200010d5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620001405762000140816200014a565b5050505062000227565b336001600160a01b03821603620001a45760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000104565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b6000602082840312156200020857600080fd5b81516001600160a01b03811681146200022057600080fd5b9392505050565b60805160a0516114cc62000285600039600081816102550152818161055a01528181610b8f01528181610c3a01528181610ce401528181610dd20152610e41015260008181610314015281816107010152610bfe01526114cc6000f3fe6080604052600436106100d65760003560e01c806384276d811161007f578063a168fa8911610059578063a168fa8914610277578063d8a4676f146102d6578063e76d516814610305578063f2fde38b1461033857600080fd5b806384276d81146101d75780638da5cb5b146101f75780639ed0868d1461024357600080fd5b80631fe543e3116100b05780631fe543e31461018057806379ba5097146101a25780637a8042bd146101b757600080fd5b80630c09b8321461011a57806312065fe01461014d5780631e1a34991461016057600080fd5b3661011557604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561012657600080fd5b5061013a610135366004611167565b610358565b6040519081526020015b60405180910390f35b34801561015957600080fd5b504761013a565b34801561016c57600080fd5b5061013a61017b366004611167565b610493565b34801561018c57600080fd5b506101a061019b3660046111e2565b610558565b005b3480156101ae57600080fd5b506101a06105fa565b3480156101c357600080fd5b506101a06101d23660046112ca565b6106f7565b3480156101e357600080fd5b506101a06101f23660046112ca565b6107f4565b34801561020357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610144565b34801561024f57600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561028357600080fd5b506102b96102923660046112ca565b600260205260009081526040902080546001820154600390920154909160ff908116911683565b604080519384529115156020840152151590820152606001610144565b3480156102e257600080fd5b506102f66102f13660046112ca565b6108c6565b6040516101449392919061131e565b34801561031157600080fd5b507f000000000000000000000000000000000000000000000000000000000000000061021e565b34801561034457600080fd5b506101a0610353366004611348565b6109e6565b60006103626109fa565b600061037e604051806020016040528060001515815250610a7d565b9050600061038e86868685610b39565b604080516080810182528281526000602080830182815284518381528083018652848601908152606085018490528784526002808452959093208451815590516001820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055915180519699509496509194909361041b9385019201906110ee565b5060609190910151600390910180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560405181815283907f5f56b4c20db9f5b294cbf6f681368de4a992a27e2de2ee702dcf2cbbfa791ec49060200160405180910390a250509392505050565b600061049d6109fa565b60006104b9604051806020016040528060011515815250610a7d565b905060006104c986868685610d7c565b60408051608081018252828152600060208083018281528451838152808301865284860190815260016060860181905288855260028085529690942085518155915193820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355915180519699509496509194909361041b9385019201906110ee565b7f00000000000000000000000000000000000000000000000000000000000000003373ffffffffffffffffffffffffffffffffffffffff8216146105eb576040517f8ba9316e00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526044015b60405180910390fd5b6105f58383610ee2565b505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461067b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064016105e2565b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b6106ff6109fa565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61075a60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602481018490526044016020604051808303816000875af11580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f09190611385565b5050565b6107fc6109fa565b6000805460405173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d8060008114610856576040519150601f19603f3d011682016040523d82523d6000602084013e61085b565b606091505b50509050806107f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f77697468647261774e6174697665206661696c6564000000000000000000000060448201526064016105e2565b6000818152600260205260408120548190606090610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f72657175657374206e6f7420666f756e6400000000000000000000000000000060448201526064016105e2565b6000848152600260208181526040808420815160808101835281548152600182015460ff16151581850152938101805483518186028101860185528181529294938601938301828280156109b357602002820191906000526020600020905b81548152602001906001019080831161099f575b50505091835250506003919091015460ff1615156020918201528151908201516040909201519097919650945092505050565b6109ee6109fa565b6109f781610ff9565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e65720000000000000000000060448201526064016105e2565b565b60607f92fd13387c7fe7befbc38d303d6468778fb9731bc4583f17d92989c6fcfdeaaa82604051602401610ab691511515815260200190565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915292915050565b6040517f27e5c50a00000000000000000000000000000000000000000000000000000000815263ffffffff808616600483015283166024820152600090819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906327e5c50a90604401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa91906113a7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f00000000000000000000000000000000000000000000000000000000000000008389898989604051602001610c719493929190611424565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401610c9e93929190611461565b6020604051808303816000875af1158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce19190611385565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663fc2a88c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7191906113a7565b915094509492505050565b6040517f13c34b7f00000000000000000000000000000000000000000000000000000000815263ffffffff808616600483015283166024820152600090819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906313c34b7f90604401602060405180830381865afa158015610e19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3d91906113a7565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639cfc058e82888888886040518663ffffffff1660e01b8152600401610e9f9493929190611424565b60206040518083038185885af1158015610ebd573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610d7191906113a7565b600082815260026020526040902054610f57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f72657175657374206e6f7420666f756e6400000000000000000000000000000060448201526064016105e2565b6000828152600260208181526040909220600181810180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690911790558351610faa939190920191908401906110ee565b50600082815260026020526040908190205490517f6c84e12b4c188e61f1b4727024a5cf05c025fa58467e5eedf763c0744c89da7b91610fed9185918591611496565b60405180910390a15050565b3373ffffffffffffffffffffffffffffffffffffffff821603611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c6600000000000000000060448201526064016105e2565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b828054828255906000526020600020908101928215611129579160200282015b8281111561112957825182559160200191906001019061110e565b50611135929150611139565b5090565b5b80821115611135576000815560010161113a565b803563ffffffff8116811461116257600080fd5b919050565b60008060006060848603121561117c57600080fd5b6111858461114e565b9250602084013561ffff8116811461119c57600080fd5b91506111aa6040850161114e565b90509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156111f557600080fd5b8235915060208084013567ffffffffffffffff8082111561121557600080fd5b818601915086601f83011261122957600080fd5b81358181111561123b5761123b6111b3565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110858211171561127e5761127e6111b3565b60405291825284820192508381018501918983111561129c57600080fd5b938501935b828510156112ba578435845293850193928501926112a1565b8096505050505050509250929050565b6000602082840312156112dc57600080fd5b5035919050565b600081518084526020808501945080840160005b83811015611313578151875295820195908201906001016112f7565b509495945050505050565b838152821515602082015260606040820152600061133f60608301846112e3565b95945050505050565b60006020828403121561135a57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461137e57600080fd5b9392505050565b60006020828403121561139757600080fd5b8151801515811461137e57600080fd5b6000602082840312156113b957600080fd5b5051919050565b6000815180845260005b818110156113e6576020818501810151868301820152016113ca565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b600063ffffffff808716835261ffff861660208401528085166040840152506080606083015261145760808301846113c0565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff8416815282602082015260606040820152600061133f60608301846113c0565b8381526060602082015260006114af60608301856112e3565b905082604083015294935050505056fea164736f6c6343000813000a",
}
Functions ¶
This section is empty.
Types ¶
type GetRequestStatus ¶
type VRFV2PlusWrapperConsumerExample ¶
type VRFV2PlusWrapperConsumerExample struct { VRFV2PlusWrapperConsumerExampleCaller VRFV2PlusWrapperConsumerExampleTransactor VRFV2PlusWrapperConsumerExampleFilterer // contains filtered or unexported fields }
func DeployVRFV2PlusWrapperConsumerExample ¶
func DeployVRFV2PlusWrapperConsumerExample(auth *bind.TransactOpts, backend bind.ContractBackend, _vrfV2Wrapper common.Address) (common.Address, *types.Transaction, *VRFV2PlusWrapperConsumerExample, error)
func NewVRFV2PlusWrapperConsumerExample ¶
func NewVRFV2PlusWrapperConsumerExample(address common.Address, backend bind.ContractBackend) (*VRFV2PlusWrapperConsumerExample, error)
func (*VRFV2PlusWrapperConsumerExample) Address ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExample) Address() common.Address
type VRFV2PlusWrapperConsumerExampleCaller ¶
type VRFV2PlusWrapperConsumerExampleCaller struct {
// contains filtered or unexported fields
}
func NewVRFV2PlusWrapperConsumerExampleCaller ¶
func NewVRFV2PlusWrapperConsumerExampleCaller(address common.Address, caller bind.ContractCaller) (*VRFV2PlusWrapperConsumerExampleCaller, error)
func (*VRFV2PlusWrapperConsumerExampleCaller) GetBalance ¶ added in v2.7.0
func (*VRFV2PlusWrapperConsumerExampleCaller) GetLinkToken ¶ added in v2.7.0
func (*VRFV2PlusWrapperConsumerExampleCaller) GetRequestStatus ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCaller) GetRequestStatus(opts *bind.CallOpts, _requestId *big.Int) (GetRequestStatus, error)
func (*VRFV2PlusWrapperConsumerExampleCaller) IVrfV2PlusWrapper ¶ added in v2.7.0
type VRFV2PlusWrapperConsumerExampleCallerRaw ¶
type VRFV2PlusWrapperConsumerExampleCallerRaw struct {
Contract *VRFV2PlusWrapperConsumerExampleCaller
}
type VRFV2PlusWrapperConsumerExampleCallerSession ¶
type VRFV2PlusWrapperConsumerExampleCallerSession struct { Contract *VRFV2PlusWrapperConsumerExampleCaller CallOpts bind.CallOpts }
func (*VRFV2PlusWrapperConsumerExampleCallerSession) GetBalance ¶ added in v2.7.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) GetBalance() (*big.Int, error)
func (*VRFV2PlusWrapperConsumerExampleCallerSession) GetLinkToken ¶ added in v2.7.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) GetLinkToken() (common.Address, error)
func (*VRFV2PlusWrapperConsumerExampleCallerSession) GetRequestStatus ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
func (*VRFV2PlusWrapperConsumerExampleCallerSession) IVrfV2PlusWrapper ¶ added in v2.7.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleCallerSession) IVrfV2PlusWrapper() (common.Address, error)
type VRFV2PlusWrapperConsumerExampleFilterer ¶
type VRFV2PlusWrapperConsumerExampleFilterer struct {
// contains filtered or unexported fields
}
func NewVRFV2PlusWrapperConsumerExampleFilterer ¶
func NewVRFV2PlusWrapperConsumerExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFV2PlusWrapperConsumerExampleFilterer, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) FilterOwnershipTransferRequested ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) FilterOwnershipTransferred ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) FilterReceived ¶ added in v2.12.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterReceived(opts *bind.FilterOpts) (*VRFV2PlusWrapperConsumerExampleReceivedIterator, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) FilterWrappedRequestFulfilled ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterWrappedRequestFulfilled(opts *bind.FilterOpts) (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) FilterWrapperRequestMade ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) FilterWrapperRequestMade(opts *bind.FilterOpts, requestId []*big.Int) (*VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) ParseOwnershipTransferRequested ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) ParseOwnershipTransferred ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferred, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) ParseReceived ¶ added in v2.12.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseReceived(log types.Log) (*VRFV2PlusWrapperConsumerExampleReceived, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) ParseWrappedRequestFulfilled ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseWrappedRequestFulfilled(log types.Log) (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) ParseWrapperRequestMade ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) ParseWrapperRequestMade(log types.Log) (*VRFV2PlusWrapperConsumerExampleWrapperRequestMade, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) WatchOwnershipTransferRequested ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) WatchOwnershipTransferred ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) WatchReceived ¶ added in v2.12.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchReceived(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleReceived) (event.Subscription, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) WatchWrappedRequestFulfilled ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchWrappedRequestFulfilled(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled) (event.Subscription, error)
func (*VRFV2PlusWrapperConsumerExampleFilterer) WatchWrapperRequestMade ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleFilterer) WatchWrapperRequestMade(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleWrapperRequestMade, requestId []*big.Int) (event.Subscription, error)
type VRFV2PlusWrapperConsumerExampleInterface ¶
type VRFV2PlusWrapperConsumerExampleInterface interface { GetBalance(opts *bind.CallOpts) (*big.Int, error) GetLinkToken(opts *bind.CallOpts) (common.Address, error) GetRequestStatus(opts *bind.CallOpts, _requestId *big.Int) (GetRequestStatus, error) IVrfV2PlusWrapper(opts *bind.CallOpts) (common.Address, 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) MakeRequestNative(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) WithdrawLink(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) WithdrawNative(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) Receive(opts *bind.TransactOpts) (*types.Transaction, error) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator, error) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferRequested(log types.Log) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested, error) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*VRFV2PlusWrapperConsumerExampleOwnershipTransferred, error) FilterReceived(opts *bind.FilterOpts) (*VRFV2PlusWrapperConsumerExampleReceivedIterator, error) WatchReceived(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleReceived) (event.Subscription, error) ParseReceived(log types.Log) (*VRFV2PlusWrapperConsumerExampleReceived, error) FilterWrappedRequestFulfilled(opts *bind.FilterOpts) (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator, error) WatchWrappedRequestFulfilled(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled) (event.Subscription, error) ParseWrappedRequestFulfilled(log types.Log) (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled, error) FilterWrapperRequestMade(opts *bind.FilterOpts, requestId []*big.Int) (*VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator, error) WatchWrapperRequestMade(opts *bind.WatchOpts, sink chan<- *VRFV2PlusWrapperConsumerExampleWrapperRequestMade, requestId []*big.Int) (event.Subscription, error) ParseWrapperRequestMade(log types.Log) (*VRFV2PlusWrapperConsumerExampleWrapperRequestMade, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested ¶
type VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested struct { From common.Address To common.Address Raw types.Log }
func (VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested) Topic ¶
func (VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested) Topic() common.Hash
type VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator ¶
type VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator struct { Event *VRFV2PlusWrapperConsumerExampleOwnershipTransferRequested // contains filtered or unexported fields }
func (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator) Close ¶
func (it *VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator) Close() error
func (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator) Error ¶
func (it *VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator) Error() error
func (*VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator) Next ¶
func (it *VRFV2PlusWrapperConsumerExampleOwnershipTransferRequestedIterator) Next() bool
type VRFV2PlusWrapperConsumerExampleOwnershipTransferred ¶
type VRFV2PlusWrapperConsumerExampleOwnershipTransferred struct { From common.Address To common.Address Raw types.Log }
func (VRFV2PlusWrapperConsumerExampleOwnershipTransferred) Topic ¶
func (VRFV2PlusWrapperConsumerExampleOwnershipTransferred) Topic() common.Hash
type VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator ¶
type VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator struct { Event *VRFV2PlusWrapperConsumerExampleOwnershipTransferred // contains filtered or unexported fields }
func (*VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator) Close ¶
func (it *VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator) Close() error
func (*VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator) Error ¶
func (it *VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator) Error() error
func (*VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator) Next ¶
func (it *VRFV2PlusWrapperConsumerExampleOwnershipTransferredIterator) Next() bool
type VRFV2PlusWrapperConsumerExampleRaw ¶
type VRFV2PlusWrapperConsumerExampleRaw struct {
Contract *VRFV2PlusWrapperConsumerExample
}
func (*VRFV2PlusWrapperConsumerExampleRaw) Call ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*VRFV2PlusWrapperConsumerExampleRaw) Transact ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleRaw) Transfer ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFV2PlusWrapperConsumerExampleReceived ¶ added in v2.12.0
type VRFV2PlusWrapperConsumerExampleReceived struct { Arg0 common.Address Arg1 *big.Int Raw types.Log }
func (VRFV2PlusWrapperConsumerExampleReceived) Topic ¶ added in v2.12.0
func (VRFV2PlusWrapperConsumerExampleReceived) Topic() common.Hash
type VRFV2PlusWrapperConsumerExampleReceivedIterator ¶ added in v2.12.0
type VRFV2PlusWrapperConsumerExampleReceivedIterator struct { Event *VRFV2PlusWrapperConsumerExampleReceived // contains filtered or unexported fields }
func (*VRFV2PlusWrapperConsumerExampleReceivedIterator) Close ¶ added in v2.12.0
func (it *VRFV2PlusWrapperConsumerExampleReceivedIterator) Close() error
func (*VRFV2PlusWrapperConsumerExampleReceivedIterator) Error ¶ added in v2.12.0
func (it *VRFV2PlusWrapperConsumerExampleReceivedIterator) Error() error
func (*VRFV2PlusWrapperConsumerExampleReceivedIterator) Next ¶ added in v2.12.0
func (it *VRFV2PlusWrapperConsumerExampleReceivedIterator) Next() bool
type VRFV2PlusWrapperConsumerExampleSession ¶
type VRFV2PlusWrapperConsumerExampleSession struct { Contract *VRFV2PlusWrapperConsumerExample CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*VRFV2PlusWrapperConsumerExampleSession) AcceptOwnership ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) AcceptOwnership() (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) GetBalance ¶ added in v2.7.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) GetBalance() (*big.Int, error)
func (*VRFV2PlusWrapperConsumerExampleSession) GetLinkToken ¶ added in v2.7.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) GetLinkToken() (common.Address, error)
func (*VRFV2PlusWrapperConsumerExampleSession) GetRequestStatus ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) GetRequestStatus(_requestId *big.Int) (GetRequestStatus, error)
func (*VRFV2PlusWrapperConsumerExampleSession) IVrfV2PlusWrapper ¶ added in v2.7.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) IVrfV2PlusWrapper() (common.Address, error)
func (*VRFV2PlusWrapperConsumerExampleSession) MakeRequest ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) MakeRequestNative ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) MakeRequestNative(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) Owner ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) Owner() (common.Address, error)
func (*VRFV2PlusWrapperConsumerExampleSession) RawFulfillRandomWords ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) Receive ¶ added in v2.12.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) Receive() (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) SRequests ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) SRequests(arg0 *big.Int) (SRequests, error)
func (*VRFV2PlusWrapperConsumerExampleSession) TransferOwnership ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) WithdrawLink ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) WithdrawLink(amount *big.Int) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleSession) WithdrawNative ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleSession) WithdrawNative(amount *big.Int) (*types.Transaction, error)
type VRFV2PlusWrapperConsumerExampleTransactor ¶
type VRFV2PlusWrapperConsumerExampleTransactor struct {
// contains filtered or unexported fields
}
func NewVRFV2PlusWrapperConsumerExampleTransactor ¶
func NewVRFV2PlusWrapperConsumerExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFV2PlusWrapperConsumerExampleTransactor, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) AcceptOwnership ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) MakeRequest ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) MakeRequest(opts *bind.TransactOpts, _callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) MakeRequestNative ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) MakeRequestNative(opts *bind.TransactOpts, _callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) RawFulfillRandomWords ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, _requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) Receive ¶ added in v2.12.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) TransferOwnership ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) WithdrawLink ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) WithdrawLink(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactor) WithdrawNative ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactor) WithdrawNative(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
type VRFV2PlusWrapperConsumerExampleTransactorRaw ¶
type VRFV2PlusWrapperConsumerExampleTransactorRaw struct {
Contract *VRFV2PlusWrapperConsumerExampleTransactor
}
func (*VRFV2PlusWrapperConsumerExampleTransactorRaw) Transact ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorRaw) Transfer ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFV2PlusWrapperConsumerExampleTransactorSession ¶
type VRFV2PlusWrapperConsumerExampleTransactorSession struct { Contract *VRFV2PlusWrapperConsumerExampleTransactor TransactOpts bind.TransactOpts }
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) AcceptOwnership ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) MakeRequest ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) MakeRequest(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) MakeRequestNative ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) MakeRequestNative(_callbackGasLimit uint32, _requestConfirmations uint16, _numWords uint32) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) RawFulfillRandomWords ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) RawFulfillRandomWords(_requestId *big.Int, _randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) Receive ¶ added in v2.12.0
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) Receive() (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) TransferOwnership ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) WithdrawLink ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) WithdrawLink(amount *big.Int) (*types.Transaction, error)
func (*VRFV2PlusWrapperConsumerExampleTransactorSession) WithdrawNative ¶
func (_VRFV2PlusWrapperConsumerExample *VRFV2PlusWrapperConsumerExampleTransactorSession) WithdrawNative(amount *big.Int) (*types.Transaction, error)
type VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled ¶
type VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled struct { RequestId *big.Int RandomWords []*big.Int Payment *big.Int Raw types.Log }
func (VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled) Topic ¶
func (VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled) Topic() common.Hash
type VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator ¶
type VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator struct { Event *VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilled // contains filtered or unexported fields }
func (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator) Close ¶
func (it *VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator) Close() error
func (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator) Error ¶
func (it *VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator) Error() error
func (*VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator) Next ¶
func (it *VRFV2PlusWrapperConsumerExampleWrappedRequestFulfilledIterator) Next() bool
type VRFV2PlusWrapperConsumerExampleWrapperRequestMade ¶
type VRFV2PlusWrapperConsumerExampleWrapperRequestMade struct { RequestId *big.Int Paid *big.Int Raw types.Log }
func (VRFV2PlusWrapperConsumerExampleWrapperRequestMade) Topic ¶
func (VRFV2PlusWrapperConsumerExampleWrapperRequestMade) Topic() common.Hash
type VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator ¶
type VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator struct { Event *VRFV2PlusWrapperConsumerExampleWrapperRequestMade // contains filtered or unexported fields }
func (*VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator) Close ¶
func (it *VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator) Close() error
func (*VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator) Error ¶
func (it *VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator) Error() error
func (*VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator) Next ¶
func (it *VRFV2PlusWrapperConsumerExampleWrapperRequestMadeIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.