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 GethKeyStore
- 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 ¶ added in v1.4.0
AggregatorV3Interface is an autogenerated mock type for the AggregatorV3InterfaceInterface type
func NewAggregatorV3Interface ¶ added in v1.5.0
func NewAggregatorV3Interface(t testing.TB) *AggregatorV3Interface
NewAggregatorV3Interface creates a new instance of AggregatorV3Interface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*AggregatorV3Interface) Address ¶ added in v1.4.0
func (_m *AggregatorV3Interface) Address() common.Address
Address provides a mock function with given fields:
func (*AggregatorV3Interface) Decimals ¶ added in v1.4.0
func (_m *AggregatorV3Interface) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals provides a mock function with given fields: opts
func (*AggregatorV3Interface) Description ¶ added in v1.4.0
func (_m *AggregatorV3Interface) Description(opts *bind.CallOpts) (string, error)
Description provides a mock function with given fields: opts
func (*AggregatorV3Interface) GetRoundData ¶ added in v1.4.0
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 ¶ added in v1.4.0
func (_m *AggregatorV3Interface) LatestRoundData(opts *bind.CallOpts) (aggregator_v3_interface.LatestRoundData, error)
LatestRoundData provides a mock function with given fields: opts
type Config ¶ added in v1.4.0
Config is an autogenerated mock type for the Config type
func (*Config) EvmFinalityDepth ¶ added in v1.5.0
func (*Config) EvmGasLimitDefault ¶ added in v1.4.0
EvmGasLimitDefault provides a mock function with given fields:
func (*Config) KeySpecificMaxGasPriceWei ¶ added in v1.4.0
KeySpecificMaxGasPriceWei provides a mock function with given fields: addr
func (*Config) MinIncomingConfirmations ¶ added in v1.4.0
MinIncomingConfirmations provides a mock function with given fields:
type GethKeyStore ¶
GethKeyStore is an autogenerated mock type for the GethKeyStore type
func (*GethKeyStore) GetRoundRobinAddress ¶
func (_m *GethKeyStore) GetRoundRobinAddress(chainID *big.Int, addresses ...common.Address) (common.Address, error)
GetRoundRobinAddress provides a mock function with given fields: chainID, addresses
type VRFCoordinatorV2Interface ¶ added in v1.5.0
VRFCoordinatorV2Interface is an autogenerated mock type for the VRFCoordinatorV2Interface type
func NewVRFCoordinatorV2Interface ¶ added in v1.5.0
func NewVRFCoordinatorV2Interface(t testing.TB) *VRFCoordinatorV2Interface
NewVRFCoordinatorV2Interface creates a new instance of VRFCoordinatorV2Interface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*VRFCoordinatorV2Interface) AcceptOwnership ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) AcceptSubscriptionOwnerTransfer ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) Address() common.Address
Address provides a mock function with given fields:
func (*VRFCoordinatorV2Interface) BLOCKHASHSTORE ¶ added in v1.5.0
BLOCKHASHSTORE provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) CancelSubscription ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) CreateSubscription(opts *bind.TransactOpts) (*types.Transaction, error)
CreateSubscription provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) DeregisterProvingKey ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) FilterConfigSet(opts *bind.FilterOpts) (*vrf_coordinator_v2.VRFCoordinatorV2ConfigSetIterator, error)
FilterConfigSet provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) FilterFundsRecovered ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) FilterFundsRecovered(opts *bind.FilterOpts) (*vrf_coordinator_v2.VRFCoordinatorV2FundsRecoveredIterator, error)
FilterFundsRecovered provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) FilterOwnershipTransferRequested ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) GetConfig(opts *bind.CallOpts) (vrf_coordinator_v2.GetConfig, error)
GetConfig provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetCurrentSubId ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) GetCurrentSubId(opts *bind.CallOpts) (uint64, error)
GetCurrentSubId provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetFallbackWeiPerUnitLink ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) GetFallbackWeiPerUnitLink(opts *bind.CallOpts) (*big.Int, error)
GetFallbackWeiPerUnitLink provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetFeeConfig ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) GetFeeConfig(opts *bind.CallOpts) (vrf_coordinator_v2.GetFeeConfig, error)
GetFeeConfig provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetFeeTier ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) GetFeeTier(opts *bind.CallOpts, reqCount uint64) (uint32, error)
GetFeeTier provides a mock function with given fields: opts, reqCount
func (*VRFCoordinatorV2Interface) GetRequestConfig ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) GetRequestConfig(opts *bind.CallOpts) (uint16, uint32, [][32]byte, error)
GetRequestConfig provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) GetSubscription ¶ added in v1.5.0
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 ¶ added in v1.5.0
GetTotalBalance provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) HashOfKey ¶ added in v1.5.0
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) LINK ¶ added in v1.5.0
LINK provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) LINKETHFEED ¶ added in v1.5.0
LINKETHFEED provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) MAXCONSUMERS ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) MAXCONSUMERS(opts *bind.CallOpts) (uint16, error)
MAXCONSUMERS provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) MAXNUMWORDS ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) MAXNUMWORDS(opts *bind.CallOpts) (uint32, error)
MAXNUMWORDS provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) MAXREQUESTCONFIRMATIONS ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) MAXREQUESTCONFIRMATIONS(opts *bind.CallOpts) (uint16, error)
MAXREQUESTCONFIRMATIONS provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) OnTokenTransfer ¶ added in v1.5.0
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 ¶ added in v1.5.0
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) Owner ¶ added in v1.5.0
Owner provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) OwnerCancelSubscription ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseConfigSet(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ConfigSet, error)
ParseConfigSet provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseFundsRecovered ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseFundsRecovered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2FundsRecovered, error)
ParseFundsRecovered provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseLog ¶ added in v1.5.0
ParseLog provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseOwnershipTransferRequested ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseOwnershipTransferRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferRequested, error)
ParseOwnershipTransferRequested provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseOwnershipTransferred ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseOwnershipTransferred(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2OwnershipTransferred, error)
ParseOwnershipTransferred provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseProvingKeyDeregistered ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseProvingKeyDeregistered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyDeregistered, error)
ParseProvingKeyDeregistered provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseProvingKeyRegistered ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseProvingKeyRegistered(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2ProvingKeyRegistered, error)
ParseProvingKeyRegistered provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseRandomWordsFulfilled ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseRandomWordsFulfilled(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsFulfilled, error)
ParseRandomWordsFulfilled provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseRandomWordsRequested ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseRandomWordsRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2RandomWordsRequested, error)
ParseRandomWordsRequested provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionCanceled ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionCanceled(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCanceled, error)
ParseSubscriptionCanceled provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionConsumerAdded ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionConsumerAdded(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerAdded, error)
ParseSubscriptionConsumerAdded provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionConsumerRemoved ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionConsumerRemoved(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionConsumerRemoved, error)
ParseSubscriptionConsumerRemoved provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionCreated ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionCreated(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionCreated, error)
ParseSubscriptionCreated provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionFunded ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionFunded(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionFunded, error)
ParseSubscriptionFunded provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferRequested ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferRequested(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferRequested, error)
ParseSubscriptionOwnerTransferRequested provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferred ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) ParseSubscriptionOwnerTransferred(log types.Log) (*vrf_coordinator_v2.VRFCoordinatorV2SubscriptionOwnerTransferred, error)
ParseSubscriptionOwnerTransferred provides a mock function with given fields: log
func (*VRFCoordinatorV2Interface) PendingRequestExists ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) PendingRequestExists(opts *bind.CallOpts, subId uint64) (bool, error)
PendingRequestExists provides a mock function with given fields: opts, subId
func (*VRFCoordinatorV2Interface) RecoverFunds ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (_m *VRFCoordinatorV2Interface) TypeAndVersion(opts *bind.CallOpts) (string, error)
TypeAndVersion provides a mock function with given fields: opts
func (*VRFCoordinatorV2Interface) WatchConfigSet ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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