Documentation ¶
Index ¶
- Constants
- Variables
- type VRFCoordinator
- type VRFCoordinatorCaller
- func (_VRFCoordinator *VRFCoordinatorCaller) Callbacks(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_VRFCoordinator *VRFCoordinatorCaller) HashOfKey(opts *bind.CallOpts, _publicKey [2]*big.Int) ([32]byte, error)
- func (_VRFCoordinator *VRFCoordinatorCaller) ServiceAgreements(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_VRFCoordinator *VRFCoordinatorCaller) WithdrawableTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type VRFCoordinatorCallerRaw
- type VRFCoordinatorCallerSession
- func (_VRFCoordinator *VRFCoordinatorCallerSession) Callbacks(arg0 [32]byte) (struct{ ... }, error)
- func (_VRFCoordinator *VRFCoordinatorCallerSession) HashOfKey(_publicKey [2]*big.Int) ([32]byte, error)
- func (_VRFCoordinator *VRFCoordinatorCallerSession) ServiceAgreements(arg0 [32]byte) (struct{ ... }, error)
- func (_VRFCoordinator *VRFCoordinatorCallerSession) WithdrawableTokens(arg0 common.Address) (*big.Int, error)
- type VRFCoordinatorFilterer
- func (_VRFCoordinator *VRFCoordinatorFilterer) FilterNewServiceAgreement(opts *bind.FilterOpts) (*VRFCoordinatorNewServiceAgreementIterator, error)
- func (_VRFCoordinator *VRFCoordinatorFilterer) FilterRandomnessRequest(opts *bind.FilterOpts, jobID [][32]byte) (*VRFCoordinatorRandomnessRequestIterator, error)
- func (_VRFCoordinator *VRFCoordinatorFilterer) ParseNewServiceAgreement(log types.Log) (*VRFCoordinatorNewServiceAgreement, error)
- func (_VRFCoordinator *VRFCoordinatorFilterer) ParseRandomnessRequest(log types.Log) (*VRFCoordinatorRandomnessRequest, error)
- func (_VRFCoordinator *VRFCoordinatorFilterer) WatchNewServiceAgreement(opts *bind.WatchOpts, sink chan<- *VRFCoordinatorNewServiceAgreement) (event.Subscription, error)
- func (_VRFCoordinator *VRFCoordinatorFilterer) WatchRandomnessRequest(opts *bind.WatchOpts, sink chan<- *VRFCoordinatorRandomnessRequest, ...) (event.Subscription, error)
- type VRFCoordinatorNewServiceAgreement
- type VRFCoordinatorNewServiceAgreementIterator
- type VRFCoordinatorRandomnessRequest
- type VRFCoordinatorRandomnessRequestIterator
- type VRFCoordinatorRaw
- func (_VRFCoordinator *VRFCoordinatorRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_VRFCoordinator *VRFCoordinatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VRFCoordinatorSession
- func (_VRFCoordinator *VRFCoordinatorSession) Callbacks(arg0 [32]byte) (struct{ ... }, error)
- func (_VRFCoordinator *VRFCoordinatorSession) FulfillRandomnessRequest(_proof []byte) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorSession) HashOfKey(_publicKey [2]*big.Int) ([32]byte, error)
- func (_VRFCoordinator *VRFCoordinatorSession) OnTokenTransfer(_sender common.Address, _fee *big.Int, _data []byte) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorSession) RegisterProvingKey(_fee *big.Int, _oracle common.Address, _publicProvingKey [2]*big.Int, ...) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorSession) ServiceAgreements(arg0 [32]byte) (struct{ ... }, error)
- func (_VRFCoordinator *VRFCoordinatorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorSession) WithdrawableTokens(arg0 common.Address) (*big.Int, error)
- type VRFCoordinatorTransactor
- func (_VRFCoordinator *VRFCoordinatorTransactor) FulfillRandomnessRequest(opts *bind.TransactOpts, _proof []byte) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _fee *big.Int, _data []byte) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorTransactor) RegisterProvingKey(opts *bind.TransactOpts, _fee *big.Int, _oracle common.Address, ...) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type VRFCoordinatorTransactorRaw
- type VRFCoordinatorTransactorSession
- func (_VRFCoordinator *VRFCoordinatorTransactorSession) FulfillRandomnessRequest(_proof []byte) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorTransactorSession) OnTokenTransfer(_sender common.Address, _fee *big.Int, _data []byte) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorTransactorSession) RegisterProvingKey(_fee *big.Int, _oracle common.Address, _publicProvingKey [2]*big.Int, ...) (*types.Transaction, error)
- func (_VRFCoordinator *VRFCoordinatorTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Constants ¶
const VRFCoordinatorABI = "" /* 3487-byte string literal not displayed */
VRFCoordinatorABI is the input ABI used to generate the binding from.
Variables ¶
var VRFCoordinatorBin = "" /* 17306-byte string literal not displayed */
VRFCoordinatorBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type VRFCoordinator ¶
type VRFCoordinator struct { VRFCoordinatorCaller // Read-only binding to the contract VRFCoordinatorTransactor // Write-only binding to the contract VRFCoordinatorFilterer // Log filterer for contract events }
VRFCoordinator is an auto generated Go binding around an Ethereum contract.
func DeployVRFCoordinator ¶
func DeployVRFCoordinator(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address) (common.Address, *types.Transaction, *VRFCoordinator, error)
DeployVRFCoordinator deploys a new Ethereum contract, binding an instance of VRFCoordinator to it.
func NewVRFCoordinator ¶
func NewVRFCoordinator(address common.Address, backend bind.ContractBackend) (*VRFCoordinator, error)
NewVRFCoordinator creates a new instance of VRFCoordinator, bound to a specific deployed contract.
type VRFCoordinatorCaller ¶
type VRFCoordinatorCaller struct {
// contains filtered or unexported fields
}
VRFCoordinatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVRFCoordinatorCaller ¶
func NewVRFCoordinatorCaller(address common.Address, caller bind.ContractCaller) (*VRFCoordinatorCaller, error)
NewVRFCoordinatorCaller creates a new read-only instance of VRFCoordinator, bound to a specific deployed contract.
func (*VRFCoordinatorCaller) Callbacks ¶
func (_VRFCoordinator *VRFCoordinatorCaller) Callbacks(opts *bind.CallOpts, arg0 [32]byte) (struct { CallbackContract common.Address RandomnessFee *big.Int Seed *big.Int }, error)
Callbacks is a free data retrieval call binding the contract method 0x21f36509.
Solidity: function callbacks(bytes32 ) view returns(address callbackContract, uint256 randomnessFee, uint256 seed)
func (*VRFCoordinatorCaller) HashOfKey ¶
func (_VRFCoordinator *VRFCoordinatorCaller) HashOfKey(opts *bind.CallOpts, _publicKey [2]*big.Int) ([32]byte, error)
HashOfKey is a free data retrieval call binding the contract method 0xcaf70c4a.
Solidity: function hashOfKey(uint256[2] _publicKey) pure returns(bytes32)
func (*VRFCoordinatorCaller) ServiceAgreements ¶
func (_VRFCoordinator *VRFCoordinatorCaller) ServiceAgreements(opts *bind.CallOpts, arg0 [32]byte) (struct { VRFOracle common.Address JobID [32]byte Fee *big.Int }, error)
ServiceAgreements is a free data retrieval call binding the contract method 0x75d35070.
Solidity: function serviceAgreements(bytes32 ) view returns(address vRFOracle, bytes32 jobID, uint256 fee)
func (*VRFCoordinatorCaller) WithdrawableTokens ¶
func (_VRFCoordinator *VRFCoordinatorCaller) WithdrawableTokens(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
WithdrawableTokens is a free data retrieval call binding the contract method 0x006f6ad0.
Solidity: function withdrawableTokens(address ) view returns(uint256)
type VRFCoordinatorCallerRaw ¶
type VRFCoordinatorCallerRaw struct {
Contract *VRFCoordinatorCaller // Generic read-only contract binding to access the raw methods on
}
VRFCoordinatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VRFCoordinatorCallerRaw) Call ¶
func (_VRFCoordinator *VRFCoordinatorCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type VRFCoordinatorCallerSession ¶
type VRFCoordinatorCallerSession struct { Contract *VRFCoordinatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VRFCoordinatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VRFCoordinatorCallerSession) Callbacks ¶
func (_VRFCoordinator *VRFCoordinatorCallerSession) Callbacks(arg0 [32]byte) (struct { CallbackContract common.Address RandomnessFee *big.Int Seed *big.Int }, error)
Callbacks is a free data retrieval call binding the contract method 0x21f36509.
Solidity: function callbacks(bytes32 ) view returns(address callbackContract, uint256 randomnessFee, uint256 seed)
func (*VRFCoordinatorCallerSession) HashOfKey ¶
func (_VRFCoordinator *VRFCoordinatorCallerSession) HashOfKey(_publicKey [2]*big.Int) ([32]byte, error)
HashOfKey is a free data retrieval call binding the contract method 0xcaf70c4a.
Solidity: function hashOfKey(uint256[2] _publicKey) pure returns(bytes32)
func (*VRFCoordinatorCallerSession) ServiceAgreements ¶
func (_VRFCoordinator *VRFCoordinatorCallerSession) ServiceAgreements(arg0 [32]byte) (struct { VRFOracle common.Address JobID [32]byte Fee *big.Int }, error)
ServiceAgreements is a free data retrieval call binding the contract method 0x75d35070.
Solidity: function serviceAgreements(bytes32 ) view returns(address vRFOracle, bytes32 jobID, uint256 fee)
func (*VRFCoordinatorCallerSession) WithdrawableTokens ¶
func (_VRFCoordinator *VRFCoordinatorCallerSession) WithdrawableTokens(arg0 common.Address) (*big.Int, error)
WithdrawableTokens is a free data retrieval call binding the contract method 0x006f6ad0.
Solidity: function withdrawableTokens(address ) view returns(uint256)
type VRFCoordinatorFilterer ¶
type VRFCoordinatorFilterer struct {
// contains filtered or unexported fields
}
VRFCoordinatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVRFCoordinatorFilterer ¶
func NewVRFCoordinatorFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFCoordinatorFilterer, error)
NewVRFCoordinatorFilterer creates a new log filterer instance of VRFCoordinator, bound to a specific deployed contract.
func (*VRFCoordinatorFilterer) FilterNewServiceAgreement ¶
func (_VRFCoordinator *VRFCoordinatorFilterer) FilterNewServiceAgreement(opts *bind.FilterOpts) (*VRFCoordinatorNewServiceAgreementIterator, error)
FilterNewServiceAgreement is a free log retrieval operation binding the contract event 0xae189157e0628c1e62315e9179156e1ea10e90e9c15060002f7021e907dc2cfe.
Solidity: event NewServiceAgreement(bytes32 keyHash, uint256 fee)
func (*VRFCoordinatorFilterer) FilterRandomnessRequest ¶
func (_VRFCoordinator *VRFCoordinatorFilterer) FilterRandomnessRequest(opts *bind.FilterOpts, jobID [][32]byte) (*VRFCoordinatorRandomnessRequestIterator, error)
FilterRandomnessRequest is a free log retrieval operation binding the contract event 0xd241d78a52145a5d1d1ff002e32ec15cdc395631bcee66246650c2429dfaccaa.
Solidity: event RandomnessRequest(bytes32 keyHash, uint256 seed, bytes32 indexed jobID, address sender, uint256 fee)
func (*VRFCoordinatorFilterer) ParseNewServiceAgreement ¶
func (_VRFCoordinator *VRFCoordinatorFilterer) ParseNewServiceAgreement(log types.Log) (*VRFCoordinatorNewServiceAgreement, error)
ParseNewServiceAgreement is a log parse operation binding the contract event 0xae189157e0628c1e62315e9179156e1ea10e90e9c15060002f7021e907dc2cfe.
Solidity: event NewServiceAgreement(bytes32 keyHash, uint256 fee)
func (*VRFCoordinatorFilterer) ParseRandomnessRequest ¶
func (_VRFCoordinator *VRFCoordinatorFilterer) ParseRandomnessRequest(log types.Log) (*VRFCoordinatorRandomnessRequest, error)
ParseRandomnessRequest is a log parse operation binding the contract event 0xd241d78a52145a5d1d1ff002e32ec15cdc395631bcee66246650c2429dfaccaa.
Solidity: event RandomnessRequest(bytes32 keyHash, uint256 seed, bytes32 indexed jobID, address sender, uint256 fee)
func (*VRFCoordinatorFilterer) WatchNewServiceAgreement ¶
func (_VRFCoordinator *VRFCoordinatorFilterer) WatchNewServiceAgreement(opts *bind.WatchOpts, sink chan<- *VRFCoordinatorNewServiceAgreement) (event.Subscription, error)
WatchNewServiceAgreement is a free log subscription operation binding the contract event 0xae189157e0628c1e62315e9179156e1ea10e90e9c15060002f7021e907dc2cfe.
Solidity: event NewServiceAgreement(bytes32 keyHash, uint256 fee)
func (*VRFCoordinatorFilterer) WatchRandomnessRequest ¶
func (_VRFCoordinator *VRFCoordinatorFilterer) WatchRandomnessRequest(opts *bind.WatchOpts, sink chan<- *VRFCoordinatorRandomnessRequest, jobID [][32]byte) (event.Subscription, error)
WatchRandomnessRequest is a free log subscription operation binding the contract event 0xd241d78a52145a5d1d1ff002e32ec15cdc395631bcee66246650c2429dfaccaa.
Solidity: event RandomnessRequest(bytes32 keyHash, uint256 seed, bytes32 indexed jobID, address sender, uint256 fee)
type VRFCoordinatorNewServiceAgreement ¶
type VRFCoordinatorNewServiceAgreement struct { KeyHash [32]byte Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
VRFCoordinatorNewServiceAgreement represents a NewServiceAgreement event raised by the VRFCoordinator contract.
type VRFCoordinatorNewServiceAgreementIterator ¶
type VRFCoordinatorNewServiceAgreementIterator struct { Event *VRFCoordinatorNewServiceAgreement // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VRFCoordinatorNewServiceAgreementIterator is returned from FilterNewServiceAgreement and is used to iterate over the raw logs and unpacked data for NewServiceAgreement events raised by the VRFCoordinator contract.
func (*VRFCoordinatorNewServiceAgreementIterator) Close ¶
func (it *VRFCoordinatorNewServiceAgreementIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VRFCoordinatorNewServiceAgreementIterator) Error ¶
func (it *VRFCoordinatorNewServiceAgreementIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VRFCoordinatorNewServiceAgreementIterator) Next ¶
func (it *VRFCoordinatorNewServiceAgreementIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VRFCoordinatorRandomnessRequest ¶
type VRFCoordinatorRandomnessRequest struct { KeyHash [32]byte Seed *big.Int JobID [32]byte Sender common.Address Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
VRFCoordinatorRandomnessRequest represents a RandomnessRequest event raised by the VRFCoordinator contract.
type VRFCoordinatorRandomnessRequestIterator ¶
type VRFCoordinatorRandomnessRequestIterator struct { Event *VRFCoordinatorRandomnessRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VRFCoordinatorRandomnessRequestIterator is returned from FilterRandomnessRequest and is used to iterate over the raw logs and unpacked data for RandomnessRequest events raised by the VRFCoordinator contract.
func (*VRFCoordinatorRandomnessRequestIterator) Close ¶
func (it *VRFCoordinatorRandomnessRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VRFCoordinatorRandomnessRequestIterator) Error ¶
func (it *VRFCoordinatorRandomnessRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VRFCoordinatorRandomnessRequestIterator) Next ¶
func (it *VRFCoordinatorRandomnessRequestIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VRFCoordinatorRaw ¶
type VRFCoordinatorRaw struct {
Contract *VRFCoordinator // Generic contract binding to access the raw methods on
}
VRFCoordinatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VRFCoordinatorRaw) Call ¶
func (_VRFCoordinator *VRFCoordinatorRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*VRFCoordinatorRaw) Transact ¶
func (_VRFCoordinator *VRFCoordinatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VRFCoordinatorRaw) Transfer ¶
func (_VRFCoordinator *VRFCoordinatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type VRFCoordinatorSession ¶
type VRFCoordinatorSession struct { Contract *VRFCoordinator // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VRFCoordinatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VRFCoordinatorSession) Callbacks ¶
func (_VRFCoordinator *VRFCoordinatorSession) Callbacks(arg0 [32]byte) (struct { CallbackContract common.Address RandomnessFee *big.Int Seed *big.Int }, error)
Callbacks is a free data retrieval call binding the contract method 0x21f36509.
Solidity: function callbacks(bytes32 ) view returns(address callbackContract, uint256 randomnessFee, uint256 seed)
func (*VRFCoordinatorSession) FulfillRandomnessRequest ¶
func (_VRFCoordinator *VRFCoordinatorSession) FulfillRandomnessRequest(_proof []byte) (*types.Transaction, error)
FulfillRandomnessRequest is a paid mutator transaction binding the contract method 0x5e1c1059.
Solidity: function fulfillRandomnessRequest(bytes _proof) returns(bool)
func (*VRFCoordinatorSession) HashOfKey ¶
func (_VRFCoordinator *VRFCoordinatorSession) HashOfKey(_publicKey [2]*big.Int) ([32]byte, error)
HashOfKey is a free data retrieval call binding the contract method 0xcaf70c4a.
Solidity: function hashOfKey(uint256[2] _publicKey) pure returns(bytes32)
func (*VRFCoordinatorSession) OnTokenTransfer ¶
func (_VRFCoordinator *VRFCoordinatorSession) OnTokenTransfer(_sender common.Address, _fee *big.Int, _data []byte) (*types.Transaction, error)
OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.
Solidity: function onTokenTransfer(address _sender, uint256 _fee, bytes _data) returns()
func (*VRFCoordinatorSession) RegisterProvingKey ¶
func (_VRFCoordinator *VRFCoordinatorSession) RegisterProvingKey(_fee *big.Int, _oracle common.Address, _publicProvingKey [2]*big.Int, _jobID [32]byte) (*types.Transaction, error)
RegisterProvingKey is a paid mutator transaction binding the contract method 0xd8340209.
Solidity: function registerProvingKey(uint256 _fee, address _oracle, uint256[2] _publicProvingKey, bytes32 _jobID) returns()
func (*VRFCoordinatorSession) ServiceAgreements ¶
func (_VRFCoordinator *VRFCoordinatorSession) ServiceAgreements(arg0 [32]byte) (struct { VRFOracle common.Address JobID [32]byte Fee *big.Int }, error)
ServiceAgreements is a free data retrieval call binding the contract method 0x75d35070.
Solidity: function serviceAgreements(bytes32 ) view returns(address vRFOracle, bytes32 jobID, uint256 fee)
func (*VRFCoordinatorSession) Withdraw ¶
func (_VRFCoordinator *VRFCoordinatorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _recipient, uint256 _amount) returns()
func (*VRFCoordinatorSession) WithdrawableTokens ¶
func (_VRFCoordinator *VRFCoordinatorSession) WithdrawableTokens(arg0 common.Address) (*big.Int, error)
WithdrawableTokens is a free data retrieval call binding the contract method 0x006f6ad0.
Solidity: function withdrawableTokens(address ) view returns(uint256)
type VRFCoordinatorTransactor ¶
type VRFCoordinatorTransactor struct {
// contains filtered or unexported fields
}
VRFCoordinatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVRFCoordinatorTransactor ¶
func NewVRFCoordinatorTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFCoordinatorTransactor, error)
NewVRFCoordinatorTransactor creates a new write-only instance of VRFCoordinator, bound to a specific deployed contract.
func (*VRFCoordinatorTransactor) FulfillRandomnessRequest ¶
func (_VRFCoordinator *VRFCoordinatorTransactor) FulfillRandomnessRequest(opts *bind.TransactOpts, _proof []byte) (*types.Transaction, error)
FulfillRandomnessRequest is a paid mutator transaction binding the contract method 0x5e1c1059.
Solidity: function fulfillRandomnessRequest(bytes _proof) returns(bool)
func (*VRFCoordinatorTransactor) OnTokenTransfer ¶
func (_VRFCoordinator *VRFCoordinatorTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _fee *big.Int, _data []byte) (*types.Transaction, error)
OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.
Solidity: function onTokenTransfer(address _sender, uint256 _fee, bytes _data) returns()
func (*VRFCoordinatorTransactor) RegisterProvingKey ¶
func (_VRFCoordinator *VRFCoordinatorTransactor) RegisterProvingKey(opts *bind.TransactOpts, _fee *big.Int, _oracle common.Address, _publicProvingKey [2]*big.Int, _jobID [32]byte) (*types.Transaction, error)
RegisterProvingKey is a paid mutator transaction binding the contract method 0xd8340209.
Solidity: function registerProvingKey(uint256 _fee, address _oracle, uint256[2] _publicProvingKey, bytes32 _jobID) returns()
func (*VRFCoordinatorTransactor) Withdraw ¶
func (_VRFCoordinator *VRFCoordinatorTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _recipient, uint256 _amount) returns()
type VRFCoordinatorTransactorRaw ¶
type VRFCoordinatorTransactorRaw struct {
Contract *VRFCoordinatorTransactor // Generic write-only contract binding to access the raw methods on
}
VRFCoordinatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VRFCoordinatorTransactorRaw) Transact ¶
func (_VRFCoordinator *VRFCoordinatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VRFCoordinatorTransactorRaw) Transfer ¶
func (_VRFCoordinator *VRFCoordinatorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type VRFCoordinatorTransactorSession ¶
type VRFCoordinatorTransactorSession struct { Contract *VRFCoordinatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VRFCoordinatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VRFCoordinatorTransactorSession) FulfillRandomnessRequest ¶
func (_VRFCoordinator *VRFCoordinatorTransactorSession) FulfillRandomnessRequest(_proof []byte) (*types.Transaction, error)
FulfillRandomnessRequest is a paid mutator transaction binding the contract method 0x5e1c1059.
Solidity: function fulfillRandomnessRequest(bytes _proof) returns(bool)
func (*VRFCoordinatorTransactorSession) OnTokenTransfer ¶
func (_VRFCoordinator *VRFCoordinatorTransactorSession) OnTokenTransfer(_sender common.Address, _fee *big.Int, _data []byte) (*types.Transaction, error)
OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.
Solidity: function onTokenTransfer(address _sender, uint256 _fee, bytes _data) returns()
func (*VRFCoordinatorTransactorSession) RegisterProvingKey ¶
func (_VRFCoordinator *VRFCoordinatorTransactorSession) RegisterProvingKey(_fee *big.Int, _oracle common.Address, _publicProvingKey [2]*big.Int, _jobID [32]byte) (*types.Transaction, error)
RegisterProvingKey is a paid mutator transaction binding the contract method 0xd8340209.
Solidity: function registerProvingKey(uint256 _fee, address _oracle, uint256[2] _publicProvingKey, bytes32 _jobID) returns()
func (*VRFCoordinatorTransactorSession) Withdraw ¶
func (_VRFCoordinator *VRFCoordinatorTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address _recipient, uint256 _amount) returns()