Documentation ¶
Index ¶
- type AggregatorV3Interface
- func (_m *AggregatorV3Interface) Address() common.Address
- func (_m *AggregatorV3Interface) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_m *AggregatorV3Interface) Description(opts *bind.CallOpts) (string, error)
- func (_m *AggregatorV3Interface) GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (aggregator_v3_interface.GetRoundData, error)
- func (_m *AggregatorV3Interface) LatestRoundData(opts *bind.CallOpts) (aggregator_v3_interface.LatestRoundData, error)
- func (_m *AggregatorV3Interface) Version(opts *bind.CallOpts) (*big.Int, error)
- type Config
- type VRFCoordinatorV2Interface
- func (_m *VRFCoordinatorV2Interface) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) AcceptSubscriptionOwnerTransfer(opts *bind.TransactOpts, subId uint64) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) AddConsumer(opts *bind.TransactOpts, subId uint64, consumer common.Address) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) Address() common.Address
- func (_m *VRFCoordinatorV2Interface) BLOCKHASHSTORE(opts *bind.CallOpts) (common.Address, error)
- func (_m *VRFCoordinatorV2Interface) CancelSubscription(opts *bind.TransactOpts, subId uint64, to common.Address) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) CreateSubscription(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) DeregisterProvingKey(opts *bind.TransactOpts, publicProvingKey [2]*big.Int) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) FilterConfigSet(opts *bind.FilterOpts) (*vrf_coordinator_v2.VRFCoordinatorV2ConfigSetIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterFundsRecovered(opts *bind.FilterOpts) (*vrf_coordinator_v2.VRFCoordinatorV2FundsRecoveredIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferRequestedIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferredIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterProvingKeyDeregistered(opts *bind.FilterOpts, oracle []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyDeregisteredIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterProvingKeyRegistered(opts *bind.FilterOpts, oracle []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyRegisteredIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterRandomWordsFulfilled(opts *bind.FilterOpts, requestId []*big.Int) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsFulfilledIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterRandomWordsRequested(opts *bind.FilterOpts, keyHash [][32]byte, subId []uint64, ...) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsRequestedIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionCanceled(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCanceledIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionConsumerAdded(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerAddedIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionConsumerRemoved(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerRemovedIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionCreated(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCreatedIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionFunded(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionFundedIterator, error)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionOwnerTransferRequested(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferRequestedIterator, ...)
- func (_m *VRFCoordinatorV2Interface) FilterSubscriptionOwnerTransferred(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferredIterator, ...)
- func (_m *VRFCoordinatorV2Interface) FulfillRandomWords(opts *bind.TransactOpts, proof vrf_coordinator_v2.VRFProof, ...) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) GetCommitment(opts *bind.CallOpts, requestId *big.Int) ([32]byte, error)
- func (_m *VRFCoordinatorV2Interface) GetConfig(opts *bind.CallOpts) (vrf_coordinator_v2.GetConfig, error)
- func (_m *VRFCoordinatorV2Interface) GetCurrentSubId(opts *bind.CallOpts) (uint64, error)
- func (_m *VRFCoordinatorV2Interface) GetFallbackWeiPerUnitLink(opts *bind.CallOpts) (*big.Int, error)
- func (_m *VRFCoordinatorV2Interface) GetFeeConfig(opts *bind.CallOpts) (vrf_coordinator_v2.GetFeeConfig, error)
- func (_m *VRFCoordinatorV2Interface) GetFeeTier(opts *bind.CallOpts, reqCount uint64) (uint32, error)
- func (_m *VRFCoordinatorV2Interface) GetRequestConfig(opts *bind.CallOpts) (uint16, uint32, [][32]byte, error)
- func (_m *VRFCoordinatorV2Interface) GetSubscription(opts *bind.CallOpts, subId uint64) (vrf_coordinator_v2.GetSubscription, error)
- func (_m *VRFCoordinatorV2Interface) GetTotalBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_m *VRFCoordinatorV2Interface) HashOfKey(opts *bind.CallOpts, publicKey [2]*big.Int) ([32]byte, error)
- func (_m *VRFCoordinatorV2Interface) LINK(opts *bind.CallOpts) (common.Address, error)
- func (_m *VRFCoordinatorV2Interface) LINKETHFEED(opts *bind.CallOpts) (common.Address, error)
- func (_m *VRFCoordinatorV2Interface) MAXCONSUMERS(opts *bind.CallOpts) (uint16, error)
- func (_m *VRFCoordinatorV2Interface) MAXNUMWORDS(opts *bind.CallOpts) (uint32, error)
- func (_m *VRFCoordinatorV2Interface) MAXREQUESTCONFIRMATIONS(opts *bind.CallOpts) (uint16, error)
- func (_m *VRFCoordinatorV2Interface) OnTokenTransfer(opts *bind.TransactOpts, arg0 common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) OracleWithdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_m *VRFCoordinatorV2Interface) OwnerCancelSubscription(opts *bind.TransactOpts, subId uint64) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) ParseConfigSet(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ConfigSet, error)
- func (_m *VRFCoordinatorV2Interface) ParseFundsRecovered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2FundsRecovered, error)
- func (_m *VRFCoordinatorV2Interface) ParseLog(log types.Log) (generated.AbigenLog, error)
- func (_m *VRFCoordinatorV2Interface) ParseOwnershipTransferRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferRequested, error)
- func (_m *VRFCoordinatorV2Interface) ParseOwnershipTransferred(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferred, error)
- func (_m *VRFCoordinatorV2Interface) ParseProvingKeyDeregistered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyDeregistered, error)
- func (_m *VRFCoordinatorV2Interface) ParseProvingKeyRegistered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyRegistered, error)
- func (_m *VRFCoordinatorV2Interface) ParseRandomWordsFulfilled(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsFulfilled, error)
- func (_m *VRFCoordinatorV2Interface) ParseRandomWordsRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsRequested, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionCanceled(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCanceled, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionConsumerAdded(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerAdded, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionConsumerRemoved(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerRemoved, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionCreated(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCreated, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionFunded(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionFunded, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferRequested, error)
- func (_m *VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferred(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferred, error)
- func (_m *VRFCoordinatorV2Interface) PendingRequestExists(opts *bind.CallOpts, subId uint64) (bool, error)
- func (_m *VRFCoordinatorV2Interface) RecoverFunds(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) RegisterProvingKey(opts *bind.TransactOpts, oracle common.Address, publicProvingKey [2]*big.Int) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) RemoveConsumer(opts *bind.TransactOpts, subId uint64, consumer common.Address) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) RequestRandomWords(opts *bind.TransactOpts, keyHash [32]byte, subId uint64, ...) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) RequestSubscriptionOwnerTransfer(opts *bind.TransactOpts, subId uint64, newOwner common.Address) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) SetConfig(opts *bind.TransactOpts, minimumRequestConfirmations uint16, ...) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_m *VRFCoordinatorV2Interface) TypeAndVersion(opts *bind.CallOpts) (string, error)
- func (_m *VRFCoordinatorV2Interface) WatchConfigSet(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchFundsRecovered(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchOwnershipTransferRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchProvingKeyDeregistered(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchProvingKeyRegistered(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchRandomWordsFulfilled(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchRandomWordsRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionCanceled(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionConsumerAdded(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionConsumerRemoved(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionCreated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionFunded(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionOwnerTransferRequested(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_m *VRFCoordinatorV2Interface) WatchSubscriptionOwnerTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatorV3Interface ¶
AggregatorV3Interface is an autogenerated mock type for the AggregatorV3InterfaceInterface type
func NewAggregatorV3Interface ¶
func NewAggregatorV3Interface(t mockConstructorTestingTNewAggregatorV3Interface) *AggregatorV3Interface
NewAggregatorV3Interface creates a new instance of AggregatorV3Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AggregatorV3Interface) Address ¶
func (_m *AggregatorV3Interface) Address() common.Address
Address provides a mock function with given fields:
func (*AggregatorV3Interface) Decimals ¶
func (_m *AggregatorV3Interface) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals provides a mock function with given fields: opts
func (*AggregatorV3Interface) Description ¶
func (_m *AggregatorV3Interface) Description(opts *bind.CallOpts) (string, error)
Description provides a mock function with given fields: opts
func (*AggregatorV3Interface) GetRoundData ¶
func (_m *AggregatorV3Interface) GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (aggregator_v3_interface.GetRoundData, error)
GetRoundData provides a mock function with given fields: opts, _roundId
func (*AggregatorV3Interface) LatestRoundData ¶
func (_m *AggregatorV3Interface) LatestRoundData(opts *bind.CallOpts) (aggregator_v3_interface.LatestRoundData, error)
LatestRoundData provides a mock function with given fields: opts
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
func NewConfig(t mockConstructorTestingTNewConfig) *Config
NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Config) FinalityDepth ¶ added in v2.3.0
FinalityDepth provides a mock function with given fields:
func (*Config) KeySpecificMaxGasPriceWei ¶
KeySpecificMaxGasPriceWei provides a mock function with given fields: addr
func (*Config) MinIncomingConfirmations ¶
MinIncomingConfirmations provides a mock function with given fields:
type VRFCoordinatorV2Interface ¶
VRFCoordinatorV2Interface is an autogenerated mock type for the VRFCoordinatorV2Interface type
func NewVRFCoordinatorV2Interface ¶
func NewVRFCoordinatorV2Interface(t mockConstructorTestingTNewVRFCoordinatorV2Interface) *VRFCoordinatorV2Interface
NewVRFCoordinatorV2Interface creates a new instance of VRFCoordinatorV2Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*VRFCoordinatorV2Interface) AcceptOwnership ¶
func (_m *VRFCoordinatorV2Interface) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) AcceptSubscriptionOwnerTransfer ¶
func (_m *VRFCoordinatorV2Interface) AcceptSubscriptionOwnerTransfer(opts *bind.TransactOpts, subId uint64) (*types.Transaction, error)
AcceptSubscriptionOwnerTransfer provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) AddConsumer ¶
func (_m *VRFCoordinatorV2Interface) AddConsumer(opts *bind.TransactOpts, subId uint64, consumer common.Address) (*types.Transaction, error)
AddConsumer provides a mock function with given fields: opts, subId, consumer
func (*VRFCoordinatorV2Interface) Address ¶
func (_m *VRFCoordinatorV2Interface) Address() common.Address
Address provides a mock function with given fields:
func (*VRFCoordinatorV2Interface) BLOCKHASHSTORE ¶
BLOCKHASHSTORE provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) CancelSubscription ¶
func (_m *VRFCoordinatorV2Interface) CancelSubscription(opts *bind.TransactOpts, subId uint64, to common.Address) (*types.Transaction, error)
CancelSubscription provides a mock function with given fields: opts, subId, to
func (*VRFCoordinatorV2Interface) CreateSubscription ¶
func (_m *VRFCoordinatorV2Interface) CreateSubscription(opts *bind.TransactOpts) (*types.Transaction, error)
CreateSubscription provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) DeregisterProvingKey ¶
func (_m *VRFCoordinatorV2Interface) DeregisterProvingKey(opts *bind.TransactOpts, publicProvingKey [2]*big.Int) (*types.Transaction, error)
DeregisterProvingKey provides a mock function with given fields: opts, publicProvingKey
func (*VRFCoordinatorV2Interface) FilterConfigSet ¶
func (_m *VRFCoordinatorV2Interface) FilterConfigSet(opts *bind.FilterOpts) (*vrf_coordinator_v2.VRFCoordinatorV2ConfigSetIterator, error)
FilterConfigSet provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) FilterFundsRecovered ¶
func (_m *VRFCoordinatorV2Interface) FilterFundsRecovered(opts *bind.FilterOpts) (*vrf_coordinator_v2.VRFCoordinatorV2FundsRecoveredIterator, error)
FilterFundsRecovered provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) FilterOwnershipTransferRequested ¶
func (_m *VRFCoordinatorV2Interface) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferRequestedIterator, error)
FilterOwnershipTransferRequested provides a mock function with given fields: opts, from, to
func (*VRFCoordinatorV2Interface) FilterOwnershipTransferred ¶
func (_m *VRFCoordinatorV2Interface) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferredIterator, error)
FilterOwnershipTransferred provides a mock function with given fields: opts, from, to
func (*VRFCoordinatorV2Interface) FilterProvingKeyDeregistered ¶
func (_m *VRFCoordinatorV2Interface) FilterProvingKeyDeregistered(opts *bind.FilterOpts, oracle []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyDeregisteredIterator, error)
FilterProvingKeyDeregistered provides a mock function with given fields: opts, oracle
func (*VRFCoordinatorV2Interface) FilterProvingKeyRegistered ¶
func (_m *VRFCoordinatorV2Interface) FilterProvingKeyRegistered(opts *bind.FilterOpts, oracle []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyRegisteredIterator, error)
FilterProvingKeyRegistered provides a mock function with given fields: opts, oracle
func (*VRFCoordinatorV2Interface) FilterRandomWordsFulfilled ¶
func (_m *VRFCoordinatorV2Interface) FilterRandomWordsFulfilled(opts *bind.FilterOpts, requestId []*big.Int) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsFulfilledIterator, error)
FilterRandomWordsFulfilled provides a mock function with given fields: opts, requestId
func (*VRFCoordinatorV2Interface) FilterRandomWordsRequested ¶
func (_m *VRFCoordinatorV2Interface) FilterRandomWordsRequested(opts *bind.FilterOpts, keyHash [][32]byte, subId []uint64, sender []common.Address) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsRequestedIterator, error)
FilterRandomWordsRequested provides a mock function with given fields: opts, keyHash, subId, sender
func (*VRFCoordinatorV2Interface) FilterSubscriptionCanceled ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionCanceled(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCanceledIterator, error)
FilterSubscriptionCanceled provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FilterSubscriptionConsumerAdded ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionConsumerAdded(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerAddedIterator, error)
FilterSubscriptionConsumerAdded provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FilterSubscriptionConsumerRemoved ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionConsumerRemoved(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerRemovedIterator, error)
FilterSubscriptionConsumerRemoved provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FilterSubscriptionCreated ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionCreated(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCreatedIterator, error)
FilterSubscriptionCreated provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FilterSubscriptionFunded ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionFunded(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionFundedIterator, error)
FilterSubscriptionFunded provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FilterSubscriptionOwnerTransferRequested ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionOwnerTransferRequested(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferRequestedIterator, error)
FilterSubscriptionOwnerTransferRequested provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FilterSubscriptionOwnerTransferred ¶
func (_m *VRFCoordinatorV2Interface) FilterSubscriptionOwnerTransferred(opts *bind.FilterOpts, subId []uint64) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferredIterator, error)
FilterSubscriptionOwnerTransferred provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) FulfillRandomWords ¶
func (_m *VRFCoordinatorV2Interface) FulfillRandomWords(opts *bind.TransactOpts, proof vrf_coordinator_v2.VRFProof, rc vrf_coordinator_v2.VRFCoordinatorV2RequestCommitment) (*types.Transaction, error)
FulfillRandomWords provides a mock function with given fields: opts, proof, rc
func (*VRFCoordinatorV2Interface) GetCommitment ¶
func (_m *VRFCoordinatorV2Interface) GetCommitment(opts *bind.CallOpts, requestId *big.Int) ([32]byte, error)
GetCommitment provides a mock function with given fields: opts, requestId
func (*VRFCoordinatorV2Interface) GetConfig ¶
func (_m *VRFCoordinatorV2Interface) GetConfig(opts *bind.CallOpts) (vrf_coordinator_v2.GetConfig, error)
GetConfig provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetCurrentSubId ¶
func (_m *VRFCoordinatorV2Interface) GetCurrentSubId(opts *bind.CallOpts) (uint64, error)
GetCurrentSubId provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetFallbackWeiPerUnitLink ¶
func (_m *VRFCoordinatorV2Interface) GetFallbackWeiPerUnitLink(opts *bind.CallOpts) (*big.Int, error)
GetFallbackWeiPerUnitLink provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetFeeConfig ¶
func (_m *VRFCoordinatorV2Interface) GetFeeConfig(opts *bind.CallOpts) (vrf_coordinator_v2.GetFeeConfig, error)
GetFeeConfig provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetFeeTier ¶
func (_m *VRFCoordinatorV2Interface) GetFeeTier(opts *bind.CallOpts, reqCount uint64) (uint32, error)
GetFeeTier provides a mock function with given fields: opts, reqCount
func (*VRFCoordinatorV2Interface) GetRequestConfig ¶
func (_m *VRFCoordinatorV2Interface) GetRequestConfig(opts *bind.CallOpts) (uint16, uint32, [][32]byte, error)
GetRequestConfig provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetSubscription ¶
func (_m *VRFCoordinatorV2Interface) GetSubscription(opts *bind.CallOpts, subId uint64) (vrf_coordinator_v2.GetSubscription, error)
GetSubscription provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) GetTotalBalance ¶
GetTotalBalance provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) HashOfKey ¶
func (_m *VRFCoordinatorV2Interface) HashOfKey(opts *bind.CallOpts, publicKey [2]*big.Int) ([32]byte, error)
HashOfKey provides a mock function with given fields: opts, publicKey
func (*VRFCoordinatorV2Interface) LINKETHFEED ¶
LINKETHFEED provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) MAXCONSUMERS ¶
func (_m *VRFCoordinatorV2Interface) MAXCONSUMERS(opts *bind.CallOpts) (uint16, error)
MAXCONSUMERS provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) MAXNUMWORDS ¶
func (_m *VRFCoordinatorV2Interface) MAXNUMWORDS(opts *bind.CallOpts) (uint32, error)
MAXNUMWORDS provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) MAXREQUESTCONFIRMATIONS ¶
func (_m *VRFCoordinatorV2Interface) MAXREQUESTCONFIRMATIONS(opts *bind.CallOpts) (uint16, error)
MAXREQUESTCONFIRMATIONS provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) OnTokenTransfer ¶
func (_m *VRFCoordinatorV2Interface) OnTokenTransfer(opts *bind.TransactOpts, arg0 common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
OnTokenTransfer provides a mock function with given fields: opts, arg0, amount, data
func (*VRFCoordinatorV2Interface) OracleWithdraw ¶
func (_m *VRFCoordinatorV2Interface) OracleWithdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
OracleWithdraw provides a mock function with given fields: opts, recipient, amount
func (*VRFCoordinatorV2Interface) OwnerCancelSubscription ¶
func (_m *VRFCoordinatorV2Interface) OwnerCancelSubscription(opts *bind.TransactOpts, subId uint64) (*types.Transaction, error)
OwnerCancelSubscription provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) ParseConfigSet ¶
func (_m *VRFCoordinatorV2Interface) ParseConfigSet(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ConfigSet, error)
ParseConfigSet provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseFundsRecovered ¶
func (_m *VRFCoordinatorV2Interface) ParseFundsRecovered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2FundsRecovered, error)
ParseFundsRecovered provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseLog ¶
ParseLog provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseOwnershipTransferRequested ¶
func (_m *VRFCoordinatorV2Interface) ParseOwnershipTransferRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferRequested, error)
ParseOwnershipTransferRequested provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseOwnershipTransferred ¶
func (_m *VRFCoordinatorV2Interface) ParseOwnershipTransferred(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferred, error)
ParseOwnershipTransferred provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseProvingKeyDeregistered ¶
func (_m *VRFCoordinatorV2Interface) ParseProvingKeyDeregistered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyDeregistered, error)
ParseProvingKeyDeregistered provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseProvingKeyRegistered ¶
func (_m *VRFCoordinatorV2Interface) ParseProvingKeyRegistered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyRegistered, error)
ParseProvingKeyRegistered provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseRandomWordsFulfilled ¶
func (_m *VRFCoordinatorV2Interface) ParseRandomWordsFulfilled(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsFulfilled, error)
ParseRandomWordsFulfilled provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseRandomWordsRequested ¶
func (_m *VRFCoordinatorV2Interface) ParseRandomWordsRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsRequested, error)
ParseRandomWordsRequested provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionCanceled ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionCanceled(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCanceled, error)
ParseSubscriptionCanceled provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionConsumerAdded ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionConsumerAdded(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerAdded, error)
ParseSubscriptionConsumerAdded provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionConsumerRemoved ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionConsumerRemoved(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerRemoved, error)
ParseSubscriptionConsumerRemoved provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionCreated ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionCreated(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCreated, error)
ParseSubscriptionCreated provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionFunded ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionFunded(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionFunded, error)
ParseSubscriptionFunded provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferRequested ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferRequested, error)
ParseSubscriptionOwnerTransferRequested provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferred ¶
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferred(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferred, error)
ParseSubscriptionOwnerTransferred provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) PendingRequestExists ¶
func (_m *VRFCoordinatorV2Interface) PendingRequestExists(opts *bind.CallOpts, subId uint64) (bool, error)
PendingRequestExists provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) RecoverFunds ¶
func (_m *VRFCoordinatorV2Interface) RecoverFunds(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
RecoverFunds provides a mock function with given fields: opts, to
func (*VRFCoordinatorV2Interface) RegisterProvingKey ¶
func (_m *VRFCoordinatorV2Interface) RegisterProvingKey(opts *bind.TransactOpts, oracle common.Address, publicProvingKey [2]*big.Int) (*types.Transaction, error)
RegisterProvingKey provides a mock function with given fields: opts, oracle, publicProvingKey
func (*VRFCoordinatorV2Interface) RemoveConsumer ¶
func (_m *VRFCoordinatorV2Interface) RemoveConsumer(opts *bind.TransactOpts, subId uint64, consumer common.Address) (*types.Transaction, error)
RemoveConsumer provides a mock function with given fields: opts, subId, consumer
func (*VRFCoordinatorV2Interface) RequestRandomWords ¶
func (_m *VRFCoordinatorV2Interface) RequestRandomWords(opts *bind.TransactOpts, keyHash [32]byte, subId uint64, requestConfirmations uint16, callbackGasLimit uint32, numWords uint32) (*types.Transaction, error)
RequestRandomWords provides a mock function with given fields: opts, keyHash, subId, requestConfirmations, callbackGasLimit, numWords
func (*VRFCoordinatorV2Interface) RequestSubscriptionOwnerTransfer ¶
func (_m *VRFCoordinatorV2Interface) RequestSubscriptionOwnerTransfer(opts *bind.TransactOpts, subId uint64, newOwner common.Address) (*types.Transaction, error)
RequestSubscriptionOwnerTransfer provides a mock function with given fields: opts, subId, newOwner
func (*VRFCoordinatorV2Interface) SetConfig ¶
func (_m *VRFCoordinatorV2Interface) SetConfig(opts *bind.TransactOpts, minimumRequestConfirmations uint16, maxGasLimit uint32, stalenessSeconds uint32, gasAfterPaymentCalculation uint32, fallbackWeiPerUnitLink *big.Int, feeConfig vrf_coordinator_v2.VRFCoordinatorV2FeeConfig) (*types.Transaction, error)
SetConfig provides a mock function with given fields: opts, minimumRequestConfirmations, maxGasLimit, stalenessSeconds, gasAfterPaymentCalculation, fallbackWeiPerUnitLink, feeConfig
func (*VRFCoordinatorV2Interface) TransferOwnership ¶
func (_m *VRFCoordinatorV2Interface) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
TransferOwnership provides a mock function with given fields: opts, to
func (*VRFCoordinatorV2Interface) TypeAndVersion ¶
func (_m *VRFCoordinatorV2Interface) TypeAndVersion(opts *bind.CallOpts) (string, error)
TypeAndVersion provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) WatchConfigSet ¶
func (_m *VRFCoordinatorV2Interface) WatchConfigSet(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2ConfigSet) (event.Subscription, error)
WatchConfigSet provides a mock function with given fields: opts, sink
func (*VRFCoordinatorV2Interface) WatchFundsRecovered ¶
func (_m *VRFCoordinatorV2Interface) WatchFundsRecovered(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2FundsRecovered) (event.Subscription, error)
WatchFundsRecovered provides a mock function with given fields: opts, sink
func (*VRFCoordinatorV2Interface) WatchOwnershipTransferRequested ¶
func (_m *VRFCoordinatorV2Interface) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
WatchOwnershipTransferRequested provides a mock function with given fields: opts, sink, from, to
func (*VRFCoordinatorV2Interface) WatchOwnershipTransferred ¶
func (_m *VRFCoordinatorV2Interface) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
WatchOwnershipTransferred provides a mock function with given fields: opts, sink, from, to
func (*VRFCoordinatorV2Interface) WatchProvingKeyDeregistered ¶
func (_m *VRFCoordinatorV2Interface) WatchProvingKeyDeregistered(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyDeregistered, oracle []common.Address) (event.Subscription, error)
WatchProvingKeyDeregistered provides a mock function with given fields: opts, sink, oracle
func (*VRFCoordinatorV2Interface) WatchProvingKeyRegistered ¶
func (_m *VRFCoordinatorV2Interface) WatchProvingKeyRegistered(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyRegistered, oracle []common.Address) (event.Subscription, error)
WatchProvingKeyRegistered provides a mock function with given fields: opts, sink, oracle
func (*VRFCoordinatorV2Interface) WatchRandomWordsFulfilled ¶
func (_m *VRFCoordinatorV2Interface) WatchRandomWordsFulfilled(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2RandomWordsFulfilled, requestId []*big.Int) (event.Subscription, error)
WatchRandomWordsFulfilled provides a mock function with given fields: opts, sink, requestId
func (*VRFCoordinatorV2Interface) WatchRandomWordsRequested ¶
func (_m *VRFCoordinatorV2Interface) WatchRandomWordsRequested(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2RandomWordsRequested, keyHash [][32]byte, subId []uint64, sender []common.Address) (event.Subscription, error)
WatchRandomWordsRequested provides a mock function with given fields: opts, sink, keyHash, subId, sender
func (*VRFCoordinatorV2Interface) WatchSubscriptionCanceled ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionCanceled(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCanceled, subId []uint64) (event.Subscription, error)
WatchSubscriptionCanceled provides a mock function with given fields: opts, sink, subId
func (*VRFCoordinatorV2Interface) WatchSubscriptionConsumerAdded ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionConsumerAdded(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerAdded, subId []uint64) (event.Subscription, error)
WatchSubscriptionConsumerAdded provides a mock function with given fields: opts, sink, subId
func (*VRFCoordinatorV2Interface) WatchSubscriptionConsumerRemoved ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionConsumerRemoved(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerRemoved, subId []uint64) (event.Subscription, error)
WatchSubscriptionConsumerRemoved provides a mock function with given fields: opts, sink, subId
func (*VRFCoordinatorV2Interface) WatchSubscriptionCreated ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionCreated(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCreated, subId []uint64) (event.Subscription, error)
WatchSubscriptionCreated provides a mock function with given fields: opts, sink, subId
func (*VRFCoordinatorV2Interface) WatchSubscriptionFunded ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionFunded(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionFunded, subId []uint64) (event.Subscription, error)
WatchSubscriptionFunded provides a mock function with given fields: opts, sink, subId
func (*VRFCoordinatorV2Interface) WatchSubscriptionOwnerTransferRequested ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionOwnerTransferRequested(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferRequested, subId []uint64) (event.Subscription, error)
WatchSubscriptionOwnerTransferRequested provides a mock function with given fields: opts, sink, subId
func (*VRFCoordinatorV2Interface) WatchSubscriptionOwnerTransferred ¶
func (_m *VRFCoordinatorV2Interface) WatchSubscriptionOwnerTransferred(opts *bind.WatchOpts, sink chan<- *vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferred, subId []uint64) (event.Subscription, error)
WatchSubscriptionOwnerTransferred provides a mock function with given fields: opts, sink, subId