Documentation
¶
Index ¶
- Variables
- type GetConfig
- type SCallbacks
- type VRFV2Wrapper
- type VRFV2WrapperCaller
- func (_VRFV2Wrapper *VRFV2WrapperCaller) COORDINATOR(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) CalculateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) EstimateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) GetConfig(opts *bind.CallOpts) (GetConfig, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) LINK(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) LINKETHFEED(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) LastRequestId(opts *bind.CallOpts) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) SCallbacks(opts *bind.CallOpts, arg0 *big.Int) (SCallbacks, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) SConfigured(opts *bind.CallOpts) (bool, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) SDisabled(opts *bind.CallOpts) (bool, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) SUBSCRIPTIONID(opts *bind.CallOpts) (uint64, error)
- func (_VRFV2Wrapper *VRFV2WrapperCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
- type VRFV2WrapperCallerRaw
- type VRFV2WrapperCallerSession
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) COORDINATOR() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) CalculateRequestPrice(_callbackGasLimit uint32) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) EstimateRequestPrice(_callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) GetConfig() (GetConfig, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) LINK() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) LINKETHFEED() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) LastRequestId() (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) Owner() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SCallbacks(arg0 *big.Int) (SCallbacks, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SConfigured() (bool, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SDisabled() (bool, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SUBSCRIPTIONID() (uint64, error)
- func (_VRFV2Wrapper *VRFV2WrapperCallerSession) TypeAndVersion() (string, error)
- type VRFV2WrapperFilterer
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperOwnershipTransferRequestedIterator, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperOwnershipTransferredIterator, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) FilterWrapperFulfillmentFailed(opts *bind.FilterOpts, requestId []*big.Int, consumer []common.Address) (*VRFV2WrapperWrapperFulfillmentFailedIterator, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFV2WrapperOwnershipTransferRequested, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2WrapperOwnershipTransferred, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) ParseWrapperFulfillmentFailed(log types.Log) (*VRFV2WrapperWrapperFulfillmentFailed, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperOwnershipTransferRequested, ...) (event.Subscription, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperOwnershipTransferred, ...) (event.Subscription, error)
- func (_VRFV2Wrapper *VRFV2WrapperFilterer) WatchWrapperFulfillmentFailed(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperWrapperFulfillmentFailed, ...) (event.Subscription, error)
- type VRFV2WrapperInterface
- type VRFV2WrapperOwnershipTransferRequested
- type VRFV2WrapperOwnershipTransferRequestedIterator
- type VRFV2WrapperOwnershipTransferred
- type VRFV2WrapperOwnershipTransferredIterator
- type VRFV2WrapperRaw
- func (_VRFV2Wrapper *VRFV2WrapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VRFV2Wrapper *VRFV2WrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFV2WrapperSession
- func (_VRFV2Wrapper *VRFV2WrapperSession) AcceptOwnership() (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) COORDINATOR() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) CalculateRequestPrice(_callbackGasLimit uint32) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) Disable() (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) Enable() (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) EstimateRequestPrice(_callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) GetConfig() (GetConfig, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) LINK() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) LINKETHFEED() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) LastRequestId() (*big.Int, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) Owner() (common.Address, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) SCallbacks(arg0 *big.Int) (SCallbacks, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) SConfigured() (bool, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) SDisabled() (bool, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) SUBSCRIPTIONID() (uint64, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) SetConfig(_wrapperGasOverhead uint32, _coordinatorGasOverhead uint32, ...) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) TypeAndVersion() (string, error)
- func (_VRFV2Wrapper *VRFV2WrapperSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type VRFV2WrapperTransactor
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) Disable(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) Enable(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) SetConfig(opts *bind.TransactOpts, _wrapperGasOverhead uint32, ...) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type VRFV2WrapperTransactorRaw
- type VRFV2WrapperTransactorSession
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) Disable() (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) Enable() (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) SetConfig(_wrapperGasOverhead uint32, _coordinatorGasOverhead uint32, ...) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type VRFV2WrapperWrapperFulfillmentFailed
- type VRFV2WrapperWrapperFulfillmentFailedIterator
Constants ¶
This section is empty.
Variables ¶
View Source
var VRFV2WrapperABI = VRFV2WrapperMetaData.ABI
View Source
var VRFV2WrapperBin = VRFV2WrapperMetaData.Bin
View Source
var VRFV2WrapperMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_link\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_linkEthFeed\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_coordinator\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"have\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"want\",\"type\":\"address\"}],\"name\":\"OnlyCoordinatorCanFulfill\",\"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\":true,\"internalType\":\"uint256\",\"name\":\"requestId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"consumer\",\"type\":\"address\"}],\"name\":\"WrapperFulfillmentFailed\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"COORDINATOR\",\"outputs\":[{\"internalType\":\"contractExtendedVRFCoordinatorV2Interface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LINK\",\"outputs\":[{\"internalType\":\"contractLinkTokenInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LINK_ETH_FEED\",\"outputs\":[{\"internalType\":\"contractAggregatorV3Interface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBSCRIPTION_ID\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_callbackGasLimit\",\"type\":\"uint32\"}],\"name\":\"calculateRequestPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"_requestGasPriceWei\",\"type\":\"uint256\"}],\"name\":\"estimateRequestPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConfig\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"fallbackWeiPerUnitLink\",\"type\":\"int256\"},{\"internalType\":\"uint32\",\"name\":\"stalenessSeconds\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"fulfillmentFlatFeeLinkPPM\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"wrapperGasOverhead\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"coordinatorGasOverhead\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"wrapperPremiumPercentage\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"keyHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"maxNumWords\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRequestId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"onTokenTransfer\",\"outputs\":[],\"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_callbacks\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"callbackAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"callbackGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"requestGasPrice\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"requestWeiPerUnitLink\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"juelsPaid\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_configured\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"s_disabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_wrapperGasOverhead\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_coordinatorGasOverhead\",\"type\":\"uint32\"},{\"internalType\":\"uint8\",\"name\":\"_wrapperPremiumPercentage\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"_keyHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"_maxNumWords\",\"type\":\"uint8\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"typeAndVersion\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6101206040523480156200001257600080fd5b506040516200232b3803806200232b8339810160408190526200003591620002c2565b8033806000816200008d5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0384811691909117909155811615620000c057620000c081620001f9565b5050506001600160601b0319606091821b811660805284821b811660a05283821b811660c0529082901b1660e0526040805163288688f960e21b815290516000916001600160a01b0384169163a21a23e49160048082019260209290919082900301818787803b1580156200013457600080fd5b505af115801562000149573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016f91906200030c565b60c081901b6001600160c01b03191661010052604051631cd0704360e21b81526001600160401b03821660048201523060248201529091506001600160a01b03831690637341c10c90604401600060405180830381600087803b158015620001d657600080fd5b505af1158015620001eb573d6000803e3d6000fd5b50505050505050506200033e565b6001600160a01b038116331415620002545760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c66000000000000000000604482015260640162000084565b600180546001600160a01b0319166001600160a01b0383811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b80516001600160a01b0381168114620002bd57600080fd5b919050565b600080600060608486031215620002d857600080fd5b620002e384620002a5565b9250620002f360208501620002a5565b91506200030360408501620002a5565b90509250925092565b6000602082840312156200031f57600080fd5b81516001600160401b03811681146200033757600080fd5b9392505050565b60805160601c60a05160601c60c05160601c60e05160601c6101005160c01c611f5a620003d1600039600081816101810152610be201526000818161026e01528181610ba301528181610eea01528181610fcb01526110660152600081816103e7015261151a01526000818161020501528181610a0201526111b80152600081816104f2015261055a0152611f5a6000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c80637fb5d19d116100d8578063ad1783611161008c578063f2fde38b11610066578063f2fde38b146104ab578063f3fef3a3146104be578063fc2a88c3146104d157600080fd5b8063ad178361146103e2578063c15ce4d714610409578063c3f909d41461041c57600080fd5b8063a3907d71116100bd578063a3907d71146103b5578063a4c0ed36146103bd578063a608a1e1146103d057600080fd5b80637fb5d19d146103845780638da5cb5b1461039757600080fd5b80633b2bcbf11161012f57806348baa1c51161011457806348baa1c5146102b157806357a8070a1461035f57806379ba50971461037c57600080fd5b80633b2bcbf1146102695780634306d3541461029057600080fd5b80631b6b6d23116101605780631b6b6d23146102005780631fe543e31461024c5780632f2770db1461026157600080fd5b8063030932bb1461017c578063181f5a77146101c1575b600080fd5b6101a37f000000000000000000000000000000000000000000000000000000000000000081565b60405167ffffffffffffffff90911681526020015b60405180910390f35b604080518082018252601281527f56524656325772617070657220312e302e300000000000000000000000000000602082015290516101b89190611d18565b6102277f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b8565b61025f61025a366004611a47565b6104da565b005b61025f61059a565b6102277f000000000000000000000000000000000000000000000000000000000000000081565b6102a361029e366004611b36565b6105d0565b6040519081526020016101b8565b61031b6102bf366004611a2e565b600860205260009081526040902080546001820154600283015460039093015473ffffffffffffffffffffffffffffffffffffffff8316937401000000000000000000000000000000000000000090930463ffffffff16929085565b6040805173ffffffffffffffffffffffffffffffffffffffff909616865263ffffffff9094166020860152928401919091526060830152608082015260a0016101b8565b60035461036c9060ff1681565b60405190151581526020016101b8565b61025f6106d7565b6102a3610392366004611b9e565b6107d4565b60005473ffffffffffffffffffffffffffffffffffffffff16610227565b61025f6108da565b61025f6103cb36600461190d565b61090c565b60035461036c90610100900460ff1681565b6102277f000000000000000000000000000000000000000000000000000000000000000081565b61025f610417366004611c72565b610da5565b6004546005546006546007546040805194855263ffffffff80851660208701526401000000008504811691860191909152680100000000000000008404811660608601526c01000000000000000000000000840416608085015260ff700100000000000000000000000000000000909304831660a085015260c08401919091521660e0820152610100016101b8565b61025f6104b93660046118c8565b611150565b61025f6104cc3660046118e3565b611164565b6102a360025481565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461058c576040517f1cf993f400000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b6105968282611239565b5050565b6105a2611444565b600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055565b60035460009060ff1661063f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f77726170706572206973206e6f7420636f6e66696775726564000000000000006044820152606401610583565b600354610100900460ff16156106b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f777261707065722069732064697361626c6564000000000000000000000000006044820152606401610583565b60006106bb6114c7565b90506106ce8363ffffffff163a8361163b565b9150505b919050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e6572000000000000000000006044820152606401610583565b60008054337fffffffffffffffffffffffff00000000000000000000000000000000000000008083168217845560018054909116905560405173ffffffffffffffffffffffffffffffffffffffff90921692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b60035460009060ff16610843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f77726170706572206973206e6f7420636f6e66696775726564000000000000006044820152606401610583565b600354610100900460ff16156108b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f777261707065722069732064697361626c6564000000000000000000000000006044820152606401610583565b60006108bf6114c7565b90506108d28463ffffffff16848361163b565b949350505050565b6108e2611444565b600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b60035460ff16610978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f77726170706572206973206e6f7420636f6e66696775726564000000000000006044820152606401610583565b600354610100900460ff16156109ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f777261707065722069732064697361626c6564000000000000000000000000006044820152606401610583565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610a89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f6f6e6c792063616c6c61626c652066726f6d204c494e4b0000000000000000006044820152606401610583565b60008080610a9984860186611b53565b9250925092506000610aa96114c7565b90506000610abe8563ffffffff163a8461163b565b905080881015610b2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f66656520746f6f206c6f770000000000000000000000000000000000000000006044820152606401610583565b60075460ff1663ffffffff84161115610b9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f6e756d576f72647320746f6f20686967680000000000000000000000000000006044820152606401610583565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635d3b1d306006547f000000000000000000000000000000000000000000000000000000000000000088600560089054906101000a900463ffffffff168b610c209190611df1565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b168152600481019490945267ffffffffffffffff909216602484015261ffff16604483015263ffffffff90811660648301528716608482015260a401602060405180830381600087803b158015610c9f57600080fd5b505af1158015610cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd791906119b6565b6040805160a08101825273ffffffffffffffffffffffffffffffffffffffff9c8d16815263ffffffff98891660208083019182523a83850190815260608401988952608084019e8f52600086815260089092529390209151825491519e167fffffffffffffffff00000000000000000000000000000000000000000000000090911617740100000000000000000000000000000000000000009d9099169c909c02979097178b55955160018b0155505051600280890191909155955160039097019690965550909255505050565b610dad611444565b6005805460ff808616700100000000000000000000000000000000027fffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffff63ffffffff8981166c01000000000000000000000000027fffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff918c166801000000000000000002919091167fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff909516949094179390931792909216919091179091556006839055600780549183167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00928316179055600380549091166001179055604080517fc3f909d4000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163c3f909d4916004828101926080929190829003018186803b158015610f3057600080fd5b505afa158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6891906119cf565b50600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555050604080517f356dac7100000000000000000000000000000000000000000000000000000000815290517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169163356dac71916004808301926020929190829003018186803b15801561102657600080fd5b505afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906119b6565b6004819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635fbbc0d26040518163ffffffff1660e01b81526004016101206040518083038186803b1580156110cb57600080fd5b505afa1580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611bbc565b50506005805463ffffffff909816640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff909816979097179096555050505050505050505050565b611158611444565b61116181611724565b50565b61116c611444565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b1580156111fc57600080fd5b505af1158015611210573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112349190611994565b505050565b6000828152600860208181526040808420815160a081018352815473ffffffffffffffffffffffffffffffffffffffff808216835263ffffffff740100000000000000000000000000000000000000008304168387015260018401805495840195909552600284018054606085015260038501805460808601528b8a52979096527fffffffffffffffff000000000000000000000000000000000000000000000000909116909255918590559184905592909155815116611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f72657175657374206e6f7420666f756e640000000000000000000000000000006044820152606401610583565b600080631fe543e360e01b8585604051602401611374929190611d8b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006113ee846020015163ffffffff1685600001518461181a565b90508061143c57835160405173ffffffffffffffffffffffffffffffffffffffff9091169087907fc551b83c151f2d1c7eeb938ac59008e0409f1c1dc1e2f112449d4d79b458902290600090a35b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610583565b565b600554604080517ffeaf968c000000000000000000000000000000000000000000000000000000008152905160009263ffffffff161515918391829173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163feaf968c9160048082019260a092909190829003018186803b15801561156157600080fd5b505afa158015611575573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115999190611cd4565b5094509092508491505080156115bf57506115b48242611eb6565b60055463ffffffff16105b156115c957506004545b6000811215611634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496e76616c6964204c494e4b20776569207072696365000000000000000000006044820152606401610583565b9392505050565b6005546000908190839063ffffffff6c01000000000000000000000000820481169161167591680100000000000000009091041688611dd9565b61167f9190611dd9565b61169186670de0b6b3a7640000611e79565b61169b9190611e79565b6116a59190611e3e565b6005549091506000906064906116d290700100000000000000000000000000000000900460ff1682611e19565b6116df9060ff1684611e79565b6116e99190611e3e565b60055490915060009061170f90640100000000900463ffffffff1664e8d4a51000611e79565b6117199083611dd9565b979650505050505050565b73ffffffffffffffffffffffffffffffffffffffff81163314156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610583565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821790925560008054604051929316917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60005a61138881101561182c57600080fd5b61138881039050846040820482031161184457600080fd5b50823b61185057600080fd5b60008083516020850160008789f1949350505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106d257600080fd5b805162ffffff811681146106d257600080fd5b803560ff811681146106d257600080fd5b805169ffffffffffffffffffff811681146106d257600080fd5b6000602082840312156118da57600080fd5b61163482611866565b600080604083850312156118f657600080fd5b6118ff83611866565b946020939093013593505050565b6000806000806060858703121561192357600080fd5b61192c85611866565b935060208501359250604085013567ffffffffffffffff8082111561195057600080fd5b818701915087601f83011261196457600080fd5b81358181111561197357600080fd5b88602082850101111561198557600080fd5b95989497505060200194505050565b6000602082840312156119a657600080fd5b8151801515811461163457600080fd5b6000602082840312156119c857600080fd5b5051919050565b600080600080608085870312156119e557600080fd5b84516119f081611f2b565b6020860151909450611a0181611f3b565b6040860151909350611a1281611f3b565b6060860151909250611a2381611f3b565b939692955090935050565b600060208284031215611a4057600080fd5b5035919050565b60008060408385031215611a5a57600080fd5b8235915060208084013567ffffffffffffffff80821115611a7a57600080fd5b818601915086601f830112611a8e57600080fd5b813581811115611aa057611aa0611efc565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715611ae357611ae3611efc565b604052828152858101935084860182860187018b1015611b0257600080fd5b600095505b83861015611b25578035855260019590950194938601938601611b07565b508096505050505050509250929050565b600060208284031215611b4857600080fd5b813561163481611f3b565b600080600060608486031215611b6857600080fd5b8335611b7381611f3b565b92506020840135611b8381611f2b565b91506040840135611b9381611f3b565b809150509250925092565b60008060408385031215611bb157600080fd5b82356118ff81611f3b565b60008060008060008060008060006101208a8c031215611bdb57600080fd5b8951611be681611f3b565b60208b0151909950611bf781611f3b565b60408b0151909850611c0881611f3b565b60608b0151909750611c1981611f3b565b60808b0151909650611c2a81611f3b565b9450611c3860a08b0161188a565b9350611c4660c08b0161188a565b9250611c5460e08b0161188a565b9150611c636101008b0161188a565b90509295985092959850929598565b600080600080600060a08688031215611c8a57600080fd5b8535611c9581611f3b565b94506020860135611ca581611f3b565b9350611cb36040870161189d565b925060608601359150611cc86080870161189d565b90509295509295909350565b600080600080600060a08688031215611cec57600080fd5b611cf5866118ae565b9450602086015193506040860151925060608601519150611cc8608087016118ae565b600060208083528351808285015260005b81811015611d4557858101830151858201604001528201611d29565b81811115611d57576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000604082018483526020604081850152818551808452606086019150828701935060005b81811015611dcc57845183529383019391830191600101611db0565b5090979650505050505050565b60008219821115611dec57611dec611ecd565b500190565b600063ffffffff808316818516808303821115611e1057611e10611ecd565b01949350505050565b600060ff821660ff84168060ff03821115611e3657611e36611ecd565b019392505050565b600082611e74577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611eb157611eb1611ecd565b500290565b600082821015611ec857611ec8611ecd565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61ffff8116811461116157600080fd5b63ffffffff8116811461116157600080fdfea164736f6c6343000806000a",
}
Functions ¶
This section is empty.
Types ¶
type SCallbacks ¶
type VRFV2Wrapper ¶
type VRFV2Wrapper struct {
VRFV2WrapperCaller
VRFV2WrapperTransactor
VRFV2WrapperFilterer
// contains filtered or unexported fields
}
func DeployVRFV2Wrapper ¶
func DeployVRFV2Wrapper(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address, _linkEthFeed common.Address, _coordinator common.Address) (common.Address, *types.Transaction, *VRFV2Wrapper, error)
func NewVRFV2Wrapper ¶
func NewVRFV2Wrapper(address common.Address, backend bind.ContractBackend) (*VRFV2Wrapper, error)
func (*VRFV2Wrapper) Address ¶
func (_VRFV2Wrapper *VRFV2Wrapper) Address() common.Address
type VRFV2WrapperCaller ¶
type VRFV2WrapperCaller struct {
// contains filtered or unexported fields
}
func NewVRFV2WrapperCaller ¶
func NewVRFV2WrapperCaller(address common.Address, caller bind.ContractCaller) (*VRFV2WrapperCaller, error)
func (*VRFV2WrapperCaller) COORDINATOR ¶
func (*VRFV2WrapperCaller) CalculateRequestPrice ¶
func (*VRFV2WrapperCaller) EstimateRequestPrice ¶
func (*VRFV2WrapperCaller) GetConfig ¶
func (_VRFV2Wrapper *VRFV2WrapperCaller) GetConfig(opts *bind.CallOpts) (GetConfig, error)
func (*VRFV2WrapperCaller) LINKETHFEED ¶
func (*VRFV2WrapperCaller) LastRequestId ¶
func (*VRFV2WrapperCaller) SCallbacks ¶
func (_VRFV2Wrapper *VRFV2WrapperCaller) SCallbacks(opts *bind.CallOpts, arg0 *big.Int) (SCallbacks, error)
func (*VRFV2WrapperCaller) SConfigured ¶
func (_VRFV2Wrapper *VRFV2WrapperCaller) SConfigured(opts *bind.CallOpts) (bool, error)
func (*VRFV2WrapperCaller) SDisabled ¶
func (_VRFV2Wrapper *VRFV2WrapperCaller) SDisabled(opts *bind.CallOpts) (bool, error)
func (*VRFV2WrapperCaller) SUBSCRIPTIONID ¶
func (_VRFV2Wrapper *VRFV2WrapperCaller) SUBSCRIPTIONID(opts *bind.CallOpts) (uint64, error)
func (*VRFV2WrapperCaller) TypeAndVersion ¶
func (_VRFV2Wrapper *VRFV2WrapperCaller) TypeAndVersion(opts *bind.CallOpts) (string, error)
type VRFV2WrapperCallerRaw ¶
type VRFV2WrapperCallerRaw struct {
Contract *VRFV2WrapperCaller
}
type VRFV2WrapperCallerSession ¶
type VRFV2WrapperCallerSession struct {
Contract *VRFV2WrapperCaller
CallOpts bind.CallOpts
}
func (*VRFV2WrapperCallerSession) COORDINATOR ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) COORDINATOR() (common.Address, error)
func (*VRFV2WrapperCallerSession) CalculateRequestPrice ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) CalculateRequestPrice(_callbackGasLimit uint32) (*big.Int, error)
func (*VRFV2WrapperCallerSession) EstimateRequestPrice ¶
func (*VRFV2WrapperCallerSession) GetConfig ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) GetConfig() (GetConfig, error)
func (*VRFV2WrapperCallerSession) LINK ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) LINK() (common.Address, error)
func (*VRFV2WrapperCallerSession) LINKETHFEED ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) LINKETHFEED() (common.Address, error)
func (*VRFV2WrapperCallerSession) LastRequestId ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) LastRequestId() (*big.Int, error)
func (*VRFV2WrapperCallerSession) Owner ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) Owner() (common.Address, error)
func (*VRFV2WrapperCallerSession) SCallbacks ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SCallbacks(arg0 *big.Int) (SCallbacks, error)
func (*VRFV2WrapperCallerSession) SConfigured ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SConfigured() (bool, error)
func (*VRFV2WrapperCallerSession) SDisabled ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SDisabled() (bool, error)
func (*VRFV2WrapperCallerSession) SUBSCRIPTIONID ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) SUBSCRIPTIONID() (uint64, error)
func (*VRFV2WrapperCallerSession) TypeAndVersion ¶
func (_VRFV2Wrapper *VRFV2WrapperCallerSession) TypeAndVersion() (string, error)
type VRFV2WrapperFilterer ¶
type VRFV2WrapperFilterer struct {
// contains filtered or unexported fields
}
func NewVRFV2WrapperFilterer ¶
func NewVRFV2WrapperFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFV2WrapperFilterer, error)
func (*VRFV2WrapperFilterer) FilterOwnershipTransferRequested ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperOwnershipTransferRequestedIterator, error)
func (*VRFV2WrapperFilterer) FilterOwnershipTransferred ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperOwnershipTransferredIterator, error)
func (*VRFV2WrapperFilterer) FilterWrapperFulfillmentFailed ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) FilterWrapperFulfillmentFailed(opts *bind.FilterOpts, requestId []*big.Int, consumer []common.Address) (*VRFV2WrapperWrapperFulfillmentFailedIterator, error)
func (*VRFV2WrapperFilterer) ParseOwnershipTransferRequested ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) ParseOwnershipTransferRequested(log types.Log) (*VRFV2WrapperOwnershipTransferRequested, error)
func (*VRFV2WrapperFilterer) ParseOwnershipTransferred ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2WrapperOwnershipTransferred, error)
func (*VRFV2WrapperFilterer) ParseWrapperFulfillmentFailed ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) ParseWrapperFulfillmentFailed(log types.Log) (*VRFV2WrapperWrapperFulfillmentFailed, error)
func (*VRFV2WrapperFilterer) WatchOwnershipTransferRequested ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
func (*VRFV2WrapperFilterer) WatchOwnershipTransferred ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
func (*VRFV2WrapperFilterer) WatchWrapperFulfillmentFailed ¶
func (_VRFV2Wrapper *VRFV2WrapperFilterer) WatchWrapperFulfillmentFailed(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperWrapperFulfillmentFailed, requestId []*big.Int, consumer []common.Address) (event.Subscription, error)
type VRFV2WrapperInterface ¶
type VRFV2WrapperInterface interface {
COORDINATOR(opts *bind.CallOpts) (common.Address, error)
LINK(opts *bind.CallOpts) (common.Address, error)
LINKETHFEED(opts *bind.CallOpts) (common.Address, error)
SUBSCRIPTIONID(opts *bind.CallOpts) (uint64, error)
CalculateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32) (*big.Int, error)
EstimateRequestPrice(opts *bind.CallOpts, _callbackGasLimit uint32, _requestGasPriceWei *big.Int) (*big.Int, error)
GetConfig(opts *bind.CallOpts) (GetConfig,
error)
LastRequestId(opts *bind.CallOpts) (*big.Int, error)
Owner(opts *bind.CallOpts) (common.Address, error)
SCallbacks(opts *bind.CallOpts, arg0 *big.Int) (SCallbacks,
error)
SConfigured(opts *bind.CallOpts) (bool, error)
SDisabled(opts *bind.CallOpts) (bool, error)
TypeAndVersion(opts *bind.CallOpts) (string, error)
AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
Disable(opts *bind.TransactOpts) (*types.Transaction, error)
Enable(opts *bind.TransactOpts) (*types.Transaction, error)
OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
RawFulfillRandomWords(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
SetConfig(opts *bind.TransactOpts, _wrapperGasOverhead uint32, _coordinatorGasOverhead uint32, _wrapperPremiumPercentage uint8, _keyHash [32]byte, _maxNumWords uint8) (*types.Transaction, error)
TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperOwnershipTransferRequestedIterator, error)
WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
ParseOwnershipTransferRequested(log types.Log) (*VRFV2WrapperOwnershipTransferRequested, error)
FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VRFV2WrapperOwnershipTransferredIterator, error)
WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
ParseOwnershipTransferred(log types.Log) (*VRFV2WrapperOwnershipTransferred, error)
FilterWrapperFulfillmentFailed(opts *bind.FilterOpts, requestId []*big.Int, consumer []common.Address) (*VRFV2WrapperWrapperFulfillmentFailedIterator, error)
WatchWrapperFulfillmentFailed(opts *bind.WatchOpts, sink chan<- *VRFV2WrapperWrapperFulfillmentFailed, requestId []*big.Int, consumer []common.Address) (event.Subscription, error)
ParseWrapperFulfillmentFailed(log types.Log) (*VRFV2WrapperWrapperFulfillmentFailed, error)
ParseLog(log types.Log) (generated.AbigenLog, error)
Address() common.Address
}
type VRFV2WrapperOwnershipTransferRequested ¶
type VRFV2WrapperOwnershipTransferRequested struct {
From common.Address
To common.Address
Raw types.Log
}
func (VRFV2WrapperOwnershipTransferRequested) Topic ¶
func (VRFV2WrapperOwnershipTransferRequested) Topic() common.Hash
type VRFV2WrapperOwnershipTransferRequestedIterator ¶
type VRFV2WrapperOwnershipTransferRequestedIterator struct {
Event *VRFV2WrapperOwnershipTransferRequested
// contains filtered or unexported fields
}
func (*VRFV2WrapperOwnershipTransferRequestedIterator) Close ¶
func (it *VRFV2WrapperOwnershipTransferRequestedIterator) Close() error
func (*VRFV2WrapperOwnershipTransferRequestedIterator) Error ¶
func (it *VRFV2WrapperOwnershipTransferRequestedIterator) Error() error
func (*VRFV2WrapperOwnershipTransferRequestedIterator) Next ¶
func (it *VRFV2WrapperOwnershipTransferRequestedIterator) Next() bool
type VRFV2WrapperOwnershipTransferred ¶
type VRFV2WrapperOwnershipTransferred struct {
From common.Address
To common.Address
Raw types.Log
}
func (VRFV2WrapperOwnershipTransferred) Topic ¶
func (VRFV2WrapperOwnershipTransferred) Topic() common.Hash
type VRFV2WrapperOwnershipTransferredIterator ¶
type VRFV2WrapperOwnershipTransferredIterator struct {
Event *VRFV2WrapperOwnershipTransferred
// contains filtered or unexported fields
}
func (*VRFV2WrapperOwnershipTransferredIterator) Close ¶
func (it *VRFV2WrapperOwnershipTransferredIterator) Close() error
func (*VRFV2WrapperOwnershipTransferredIterator) Error ¶
func (it *VRFV2WrapperOwnershipTransferredIterator) Error() error
func (*VRFV2WrapperOwnershipTransferredIterator) Next ¶
func (it *VRFV2WrapperOwnershipTransferredIterator) Next() bool
type VRFV2WrapperRaw ¶
type VRFV2WrapperRaw struct {
Contract *VRFV2Wrapper
}
func (*VRFV2WrapperRaw) Call ¶
func (_VRFV2Wrapper *VRFV2WrapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*VRFV2WrapperRaw) Transact ¶
func (_VRFV2Wrapper *VRFV2WrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFV2WrapperRaw) Transfer ¶
func (_VRFV2Wrapper *VRFV2WrapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFV2WrapperSession ¶
type VRFV2WrapperSession struct {
Contract *VRFV2Wrapper
CallOpts bind.CallOpts
TransactOpts bind.TransactOpts
}
func (*VRFV2WrapperSession) AcceptOwnership ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) AcceptOwnership() (*types.Transaction, error)
func (*VRFV2WrapperSession) COORDINATOR ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) COORDINATOR() (common.Address, error)
func (*VRFV2WrapperSession) CalculateRequestPrice ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) CalculateRequestPrice(_callbackGasLimit uint32) (*big.Int, error)
func (*VRFV2WrapperSession) Disable ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) Disable() (*types.Transaction, error)
func (*VRFV2WrapperSession) Enable ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) Enable() (*types.Transaction, error)
func (*VRFV2WrapperSession) EstimateRequestPrice ¶
func (*VRFV2WrapperSession) GetConfig ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) GetConfig() (GetConfig, error)
func (*VRFV2WrapperSession) LINK ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) LINK() (common.Address, error)
func (*VRFV2WrapperSession) LINKETHFEED ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) LINKETHFEED() (common.Address, error)
func (*VRFV2WrapperSession) LastRequestId ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) LastRequestId() (*big.Int, error)
func (*VRFV2WrapperSession) OnTokenTransfer ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
func (*VRFV2WrapperSession) Owner ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) Owner() (common.Address, error)
func (*VRFV2WrapperSession) RawFulfillRandomWords ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2WrapperSession) SCallbacks ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) SCallbacks(arg0 *big.Int) (SCallbacks, error)
func (*VRFV2WrapperSession) SConfigured ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) SConfigured() (bool, error)
func (*VRFV2WrapperSession) SDisabled ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) SDisabled() (bool, error)
func (*VRFV2WrapperSession) SUBSCRIPTIONID ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) SUBSCRIPTIONID() (uint64, error)
func (*VRFV2WrapperSession) SetConfig ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) SetConfig(_wrapperGasOverhead uint32, _coordinatorGasOverhead uint32, _wrapperPremiumPercentage uint8, _keyHash [32]byte, _maxNumWords uint8) (*types.Transaction, error)
func (*VRFV2WrapperSession) TransferOwnership ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*VRFV2WrapperSession) TypeAndVersion ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) TypeAndVersion() (string, error)
func (*VRFV2WrapperSession) Withdraw ¶
func (_VRFV2Wrapper *VRFV2WrapperSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
type VRFV2WrapperTransactor ¶
type VRFV2WrapperTransactor struct {
// contains filtered or unexported fields
}
func NewVRFV2WrapperTransactor ¶
func NewVRFV2WrapperTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFV2WrapperTransactor, error)
func (*VRFV2WrapperTransactor) AcceptOwnership ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) Disable ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) Disable(opts *bind.TransactOpts) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) Enable ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) Enable(opts *bind.TransactOpts) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) OnTokenTransfer ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) RawFulfillRandomWords ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) RawFulfillRandomWords(opts *bind.TransactOpts, requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) SetConfig ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) SetConfig(opts *bind.TransactOpts, _wrapperGasOverhead uint32, _coordinatorGasOverhead uint32, _wrapperPremiumPercentage uint8, _keyHash [32]byte, _maxNumWords uint8) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) TransferOwnership ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
func (*VRFV2WrapperTransactor) Withdraw ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
type VRFV2WrapperTransactorRaw ¶
type VRFV2WrapperTransactorRaw struct {
Contract *VRFV2WrapperTransactor
}
func (*VRFV2WrapperTransactorRaw) Transact ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*VRFV2WrapperTransactorRaw) Transfer ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type VRFV2WrapperTransactorSession ¶
type VRFV2WrapperTransactorSession struct {
Contract *VRFV2WrapperTransactor
TransactOpts bind.TransactOpts
}
func (*VRFV2WrapperTransactorSession) AcceptOwnership ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) AcceptOwnership() (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) Disable ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) Disable() (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) Enable ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) Enable() (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) OnTokenTransfer ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) RawFulfillRandomWords ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) RawFulfillRandomWords(requestId *big.Int, randomWords []*big.Int) (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) SetConfig ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) SetConfig(_wrapperGasOverhead uint32, _coordinatorGasOverhead uint32, _wrapperPremiumPercentage uint8, _keyHash [32]byte, _maxNumWords uint8) (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) TransferOwnership ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
func (*VRFV2WrapperTransactorSession) Withdraw ¶
func (_VRFV2Wrapper *VRFV2WrapperTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
type VRFV2WrapperWrapperFulfillmentFailed ¶
type VRFV2WrapperWrapperFulfillmentFailed struct {
RequestId *big.Int
Consumer common.Address
Raw types.Log
}
func (VRFV2WrapperWrapperFulfillmentFailed) Topic ¶
func (VRFV2WrapperWrapperFulfillmentFailed) Topic() common.Hash
type VRFV2WrapperWrapperFulfillmentFailedIterator ¶
type VRFV2WrapperWrapperFulfillmentFailedIterator struct {
Event *VRFV2WrapperWrapperFulfillmentFailed
// contains filtered or unexported fields
}
func (*VRFV2WrapperWrapperFulfillmentFailedIterator) Close ¶
func (it *VRFV2WrapperWrapperFulfillmentFailedIterator) Close() error
func (*VRFV2WrapperWrapperFulfillmentFailedIterator) Error ¶
func (it *VRFV2WrapperWrapperFulfillmentFailedIterator) Error() error
func (*VRFV2WrapperWrapperFulfillmentFailedIterator) Next ¶
func (it *VRFV2WrapperWrapperFulfillmentFailedIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.