Documentation
¶
Index ¶
- Constants
- Variables
- type Operator
- type OperatorCaller
- func (_Operator *OperatorCaller) EXPIRYTIME(opts *bind.CallOpts) (*big.Int, error)
- func (_Operator *OperatorCaller) GetChainlinkToken(opts *bind.CallOpts) (common.Address, error)
- func (_Operator *OperatorCaller) IsAuthorizedSender(opts *bind.CallOpts, node common.Address) (bool, error)
- func (_Operator *OperatorCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Operator *OperatorCaller) Withdrawable(opts *bind.CallOpts) (*big.Int, error)
- type OperatorCallerRaw
- type OperatorCallerSession
- func (_Operator *OperatorCallerSession) EXPIRYTIME() (*big.Int, error)
- func (_Operator *OperatorCallerSession) GetChainlinkToken() (common.Address, error)
- func (_Operator *OperatorCallerSession) IsAuthorizedSender(node common.Address) (bool, error)
- func (_Operator *OperatorCallerSession) Owner() (common.Address, error)
- func (_Operator *OperatorCallerSession) Withdrawable() (*big.Int, error)
- type OperatorCancelOracleRequest
- type OperatorCancelOracleRequestIterator
- type OperatorFilterer
- func (_Operator *OperatorFilterer) FilterCancelOracleRequest(opts *bind.FilterOpts, requestId [][32]byte) (*OperatorCancelOracleRequestIterator, error)
- func (_Operator *OperatorFilterer) FilterOracleRequest(opts *bind.FilterOpts, specId [][32]byte) (*OperatorOracleRequestIterator, error)
- func (_Operator *OperatorFilterer) FilterOracleResponse(opts *bind.FilterOpts, requestId [][32]byte) (*OperatorOracleResponseIterator, error)
- func (_Operator *OperatorFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OperatorOwnershipTransferRequestedIterator, error)
- func (_Operator *OperatorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OperatorOwnershipTransferredIterator, error)
- func (_Operator *OperatorFilterer) ParseCancelOracleRequest(log types.Log) (*OperatorCancelOracleRequest, error)
- func (_Operator *OperatorFilterer) ParseOracleRequest(log types.Log) (*OperatorOracleRequest, error)
- func (_Operator *OperatorFilterer) ParseOracleResponse(log types.Log) (*OperatorOracleResponse, error)
- func (_Operator *OperatorFilterer) ParseOwnershipTransferRequested(log types.Log) (*OperatorOwnershipTransferRequested, error)
- func (_Operator *OperatorFilterer) ParseOwnershipTransferred(log types.Log) (*OperatorOwnershipTransferred, error)
- func (_Operator *OperatorFilterer) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *OperatorCancelOracleRequest, ...) (event.Subscription, error)
- func (_Operator *OperatorFilterer) WatchOracleRequest(opts *bind.WatchOpts, sink chan<- *OperatorOracleRequest, specId [][32]byte) (event.Subscription, error)
- func (_Operator *OperatorFilterer) WatchOracleResponse(opts *bind.WatchOpts, sink chan<- *OperatorOracleResponse, ...) (event.Subscription, error)
- func (_Operator *OperatorFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *OperatorOwnershipTransferRequested, ...) (event.Subscription, error)
- func (_Operator *OperatorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OperatorOwnershipTransferred, ...) (event.Subscription, error)
- type OperatorOracleRequest
- type OperatorOracleRequestIterator
- type OperatorOracleResponse
- type OperatorOracleResponseIterator
- type OperatorOwnershipTransferRequested
- type OperatorOwnershipTransferRequestedIterator
- type OperatorOwnershipTransferred
- type OperatorOwnershipTransferredIterator
- type OperatorRaw
- func (_Operator *OperatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Operator *OperatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Operator *OperatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OperatorSession
- func (_Operator *OperatorSession) AcceptOwnership() (*types.Transaction, error)
- func (_Operator *OperatorSession) CancelOracleRequest(requestId [32]byte, payment *big.Int, callbackFunc [4]byte, ...) (*types.Transaction, error)
- func (_Operator *OperatorSession) EXPIRYTIME() (*big.Int, error)
- func (_Operator *OperatorSession) Forward(to common.Address, data []byte) (*types.Transaction, error)
- func (_Operator *OperatorSession) FulfillOracleRequest(requestId [32]byte, payment *big.Int, callbackAddress common.Address, ...) (*types.Transaction, error)
- func (_Operator *OperatorSession) FulfillOracleRequest2(requestId [32]byte, payment *big.Int, callbackAddress common.Address, ...) (*types.Transaction, error)
- func (_Operator *OperatorSession) GetChainlinkToken() (common.Address, error)
- func (_Operator *OperatorSession) IsAuthorizedSender(node common.Address) (bool, error)
- func (_Operator *OperatorSession) OnTokenTransfer(sender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Operator *OperatorSession) OracleRequest(sender common.Address, payment *big.Int, specId [32]byte, ...) (*types.Transaction, error)
- func (_Operator *OperatorSession) Owner() (common.Address, error)
- func (_Operator *OperatorSession) SetAuthorizedSender(node common.Address, allowed bool) (*types.Transaction, error)
- func (_Operator *OperatorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_Operator *OperatorSession) Withdraw(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Operator *OperatorSession) Withdrawable() (*big.Int, error)
- type OperatorTransactor
- func (_Operator *OperatorTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) CancelOracleRequest(opts *bind.TransactOpts, requestId [32]byte, payment *big.Int, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) Forward(opts *bind.TransactOpts, to common.Address, data []byte) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) FulfillOracleRequest(opts *bind.TransactOpts, requestId [32]byte, payment *big.Int, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) FulfillOracleRequest2(opts *bind.TransactOpts, requestId [32]byte, payment *big.Int, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) OnTokenTransfer(opts *bind.TransactOpts, sender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) OracleRequest(opts *bind.TransactOpts, sender common.Address, payment *big.Int, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) SetAuthorizedSender(opts *bind.TransactOpts, node common.Address, allowed bool) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_Operator *OperatorTransactor) Withdraw(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type OperatorTransactorRaw
- type OperatorTransactorSession
- func (_Operator *OperatorTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) CancelOracleRequest(requestId [32]byte, payment *big.Int, callbackFunc [4]byte, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) Forward(to common.Address, data []byte) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) FulfillOracleRequest(requestId [32]byte, payment *big.Int, callbackAddress common.Address, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) FulfillOracleRequest2(requestId [32]byte, payment *big.Int, callbackAddress common.Address, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) OnTokenTransfer(sender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) OracleRequest(sender common.Address, payment *big.Int, specId [32]byte, ...) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) SetAuthorizedSender(node common.Address, allowed bool) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
- func (_Operator *OperatorTransactorSession) Withdraw(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Constants ¶
const OperatorABI = "" /* 6732-byte string literal not displayed */
OperatorABI is the input ABI used to generate the binding from.
Variables ¶
var OperatorBin = "" /* 17768-byte string literal not displayed */
OperatorBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct { OperatorCaller // Read-only binding to the contract OperatorTransactor // Write-only binding to the contract OperatorFilterer // Log filterer for contract events }
Operator is an auto generated Go binding around an Ethereum contract.
func DeployOperator ¶
func DeployOperator(auth *bind.TransactOpts, backend bind.ContractBackend, link common.Address, owner common.Address) (common.Address, *types.Transaction, *Operator, error)
DeployOperator deploys a new Ethereum contract, binding an instance of Operator to it.
func NewOperator ¶
NewOperator creates a new instance of Operator, bound to a specific deployed contract.
type OperatorCaller ¶
type OperatorCaller struct {
// contains filtered or unexported fields
}
OperatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOperatorCaller ¶
func NewOperatorCaller(address common.Address, caller bind.ContractCaller) (*OperatorCaller, error)
NewOperatorCaller creates a new read-only instance of Operator, bound to a specific deployed contract.
func (*OperatorCaller) EXPIRYTIME ¶
EXPIRYTIME is a free data retrieval call binding the contract method 0x4b602282.
Solidity: function EXPIRY_TIME() view returns(uint256)
func (*OperatorCaller) GetChainlinkToken ¶
GetChainlinkToken is a free data retrieval call binding the contract method 0x165d35e1.
Solidity: function getChainlinkToken() view returns(address)
func (*OperatorCaller) IsAuthorizedSender ¶
func (_Operator *OperatorCaller) IsAuthorizedSender(opts *bind.CallOpts, node common.Address) (bool, error)
IsAuthorizedSender is a free data retrieval call binding the contract method 0xfa00763a.
Solidity: function isAuthorizedSender(address node) view returns(bool)
func (*OperatorCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OperatorCaller) Withdrawable ¶
Withdrawable is a free data retrieval call binding the contract method 0x50188301.
Solidity: function withdrawable() view returns(uint256)
type OperatorCallerRaw ¶
type OperatorCallerRaw struct {
Contract *OperatorCaller // Generic read-only contract binding to access the raw methods on
}
OperatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OperatorCallerRaw) Call ¶
func (_Operator *OperatorCallerRaw) 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 OperatorCallerSession ¶
type OperatorCallerSession struct { Contract *OperatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OperatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OperatorCallerSession) EXPIRYTIME ¶
func (_Operator *OperatorCallerSession) EXPIRYTIME() (*big.Int, error)
EXPIRYTIME is a free data retrieval call binding the contract method 0x4b602282.
Solidity: function EXPIRY_TIME() view returns(uint256)
func (*OperatorCallerSession) GetChainlinkToken ¶
func (_Operator *OperatorCallerSession) GetChainlinkToken() (common.Address, error)
GetChainlinkToken is a free data retrieval call binding the contract method 0x165d35e1.
Solidity: function getChainlinkToken() view returns(address)
func (*OperatorCallerSession) IsAuthorizedSender ¶
func (_Operator *OperatorCallerSession) IsAuthorizedSender(node common.Address) (bool, error)
IsAuthorizedSender is a free data retrieval call binding the contract method 0xfa00763a.
Solidity: function isAuthorizedSender(address node) view returns(bool)
func (*OperatorCallerSession) Owner ¶
func (_Operator *OperatorCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OperatorCallerSession) Withdrawable ¶
func (_Operator *OperatorCallerSession) Withdrawable() (*big.Int, error)
Withdrawable is a free data retrieval call binding the contract method 0x50188301.
Solidity: function withdrawable() view returns(uint256)
type OperatorCancelOracleRequest ¶
type OperatorCancelOracleRequest struct { RequestId [32]byte Raw types.Log // Blockchain specific contextual infos }
OperatorCancelOracleRequest represents a CancelOracleRequest event raised by the Operator contract.
type OperatorCancelOracleRequestIterator ¶
type OperatorCancelOracleRequestIterator struct { Event *OperatorCancelOracleRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OperatorCancelOracleRequestIterator is returned from FilterCancelOracleRequest and is used to iterate over the raw logs and unpacked data for CancelOracleRequest events raised by the Operator contract.
func (*OperatorCancelOracleRequestIterator) Close ¶
func (it *OperatorCancelOracleRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OperatorCancelOracleRequestIterator) Error ¶
func (it *OperatorCancelOracleRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OperatorCancelOracleRequestIterator) Next ¶
func (it *OperatorCancelOracleRequestIterator) 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 OperatorFilterer ¶
type OperatorFilterer struct {
// contains filtered or unexported fields
}
OperatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOperatorFilterer ¶
func NewOperatorFilterer(address common.Address, filterer bind.ContractFilterer) (*OperatorFilterer, error)
NewOperatorFilterer creates a new log filterer instance of Operator, bound to a specific deployed contract.
func (*OperatorFilterer) FilterCancelOracleRequest ¶
func (_Operator *OperatorFilterer) FilterCancelOracleRequest(opts *bind.FilterOpts, requestId [][32]byte) (*OperatorCancelOracleRequestIterator, error)
FilterCancelOracleRequest is a free log retrieval operation binding the contract event 0xa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e93.
Solidity: event CancelOracleRequest(bytes32 indexed requestId)
func (*OperatorFilterer) FilterOracleRequest ¶
func (_Operator *OperatorFilterer) FilterOracleRequest(opts *bind.FilterOpts, specId [][32]byte) (*OperatorOracleRequestIterator, error)
FilterOracleRequest is a free log retrieval operation binding the contract event 0xd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c65.
Solidity: event OracleRequest(bytes32 indexed specId, address requester, bytes32 requestId, uint256 payment, address callbackAddr, bytes4 callbackFunctionId, uint256 cancelExpiration, uint256 dataVersion, bytes data)
func (*OperatorFilterer) FilterOracleResponse ¶
func (_Operator *OperatorFilterer) FilterOracleResponse(opts *bind.FilterOpts, requestId [][32]byte) (*OperatorOracleResponseIterator, error)
FilterOracleResponse is a free log retrieval operation binding the contract event 0x9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a64.
Solidity: event OracleResponse(bytes32 indexed requestId)
func (*OperatorFilterer) FilterOwnershipTransferRequested ¶
func (_Operator *OperatorFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OperatorOwnershipTransferRequestedIterator, error)
FilterOwnershipTransferRequested is a free log retrieval operation binding the contract event 0xed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae1278.
Solidity: event OwnershipTransferRequested(address indexed from, address indexed to)
func (*OperatorFilterer) FilterOwnershipTransferred ¶
func (_Operator *OperatorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*OperatorOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed from, address indexed to)
func (*OperatorFilterer) ParseCancelOracleRequest ¶
func (_Operator *OperatorFilterer) ParseCancelOracleRequest(log types.Log) (*OperatorCancelOracleRequest, error)
ParseCancelOracleRequest is a log parse operation binding the contract event 0xa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e93.
Solidity: event CancelOracleRequest(bytes32 indexed requestId)
func (*OperatorFilterer) ParseOracleRequest ¶
func (_Operator *OperatorFilterer) ParseOracleRequest(log types.Log) (*OperatorOracleRequest, error)
ParseOracleRequest is a log parse operation binding the contract event 0xd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c65.
Solidity: event OracleRequest(bytes32 indexed specId, address requester, bytes32 requestId, uint256 payment, address callbackAddr, bytes4 callbackFunctionId, uint256 cancelExpiration, uint256 dataVersion, bytes data)
func (*OperatorFilterer) ParseOracleResponse ¶
func (_Operator *OperatorFilterer) ParseOracleResponse(log types.Log) (*OperatorOracleResponse, error)
ParseOracleResponse is a log parse operation binding the contract event 0x9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a64.
Solidity: event OracleResponse(bytes32 indexed requestId)
func (*OperatorFilterer) ParseOwnershipTransferRequested ¶
func (_Operator *OperatorFilterer) ParseOwnershipTransferRequested(log types.Log) (*OperatorOwnershipTransferRequested, error)
ParseOwnershipTransferRequested is a log parse operation binding the contract event 0xed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae1278.
Solidity: event OwnershipTransferRequested(address indexed from, address indexed to)
func (*OperatorFilterer) ParseOwnershipTransferred ¶
func (_Operator *OperatorFilterer) ParseOwnershipTransferred(log types.Log) (*OperatorOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed from, address indexed to)
func (*OperatorFilterer) WatchCancelOracleRequest ¶
func (_Operator *OperatorFilterer) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *OperatorCancelOracleRequest, requestId [][32]byte) (event.Subscription, error)
WatchCancelOracleRequest is a free log subscription operation binding the contract event 0xa7842b9ec549398102c0d91b1b9919b2f20558aefdadf57528a95c6cd3292e93.
Solidity: event CancelOracleRequest(bytes32 indexed requestId)
func (*OperatorFilterer) WatchOracleRequest ¶
func (_Operator *OperatorFilterer) WatchOracleRequest(opts *bind.WatchOpts, sink chan<- *OperatorOracleRequest, specId [][32]byte) (event.Subscription, error)
WatchOracleRequest is a free log subscription operation binding the contract event 0xd8d7ecc4800d25fa53ce0372f13a416d98907a7ef3d8d3bdd79cf4fe75529c65.
Solidity: event OracleRequest(bytes32 indexed specId, address requester, bytes32 requestId, uint256 payment, address callbackAddr, bytes4 callbackFunctionId, uint256 cancelExpiration, uint256 dataVersion, bytes data)
func (*OperatorFilterer) WatchOracleResponse ¶
func (_Operator *OperatorFilterer) WatchOracleResponse(opts *bind.WatchOpts, sink chan<- *OperatorOracleResponse, requestId [][32]byte) (event.Subscription, error)
WatchOracleResponse is a free log subscription operation binding the contract event 0x9e9bc7616d42c2835d05ae617e508454e63b30b934be8aa932ebc125e0e58a64.
Solidity: event OracleResponse(bytes32 indexed requestId)
func (*OperatorFilterer) WatchOwnershipTransferRequested ¶
func (_Operator *OperatorFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *OperatorOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)
WatchOwnershipTransferRequested is a free log subscription operation binding the contract event 0xed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae1278.
Solidity: event OwnershipTransferRequested(address indexed from, address indexed to)
func (*OperatorFilterer) WatchOwnershipTransferred ¶
func (_Operator *OperatorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OperatorOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed from, address indexed to)
type OperatorOracleRequest ¶
type OperatorOracleRequest struct { SpecId [32]byte Requester common.Address RequestId [32]byte Payment *big.Int CallbackAddr common.Address CallbackFunctionId [4]byte CancelExpiration *big.Int DataVersion *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
OperatorOracleRequest represents a OracleRequest event raised by the Operator contract.
type OperatorOracleRequestIterator ¶
type OperatorOracleRequestIterator struct { Event *OperatorOracleRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OperatorOracleRequestIterator is returned from FilterOracleRequest and is used to iterate over the raw logs and unpacked data for OracleRequest events raised by the Operator contract.
func (*OperatorOracleRequestIterator) Close ¶
func (it *OperatorOracleRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OperatorOracleRequestIterator) Error ¶
func (it *OperatorOracleRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OperatorOracleRequestIterator) Next ¶
func (it *OperatorOracleRequestIterator) 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 OperatorOracleResponse ¶
type OperatorOracleResponse struct { RequestId [32]byte Raw types.Log // Blockchain specific contextual infos }
OperatorOracleResponse represents a OracleResponse event raised by the Operator contract.
type OperatorOracleResponseIterator ¶
type OperatorOracleResponseIterator struct { Event *OperatorOracleResponse // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OperatorOracleResponseIterator is returned from FilterOracleResponse and is used to iterate over the raw logs and unpacked data for OracleResponse events raised by the Operator contract.
func (*OperatorOracleResponseIterator) Close ¶
func (it *OperatorOracleResponseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OperatorOracleResponseIterator) Error ¶
func (it *OperatorOracleResponseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OperatorOracleResponseIterator) Next ¶
func (it *OperatorOracleResponseIterator) 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 OperatorOwnershipTransferRequested ¶
type OperatorOwnershipTransferRequested struct { From common.Address To common.Address Raw types.Log // Blockchain specific contextual infos }
OperatorOwnershipTransferRequested represents a OwnershipTransferRequested event raised by the Operator contract.
type OperatorOwnershipTransferRequestedIterator ¶
type OperatorOwnershipTransferRequestedIterator struct { Event *OperatorOwnershipTransferRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OperatorOwnershipTransferRequestedIterator is returned from FilterOwnershipTransferRequested and is used to iterate over the raw logs and unpacked data for OwnershipTransferRequested events raised by the Operator contract.
func (*OperatorOwnershipTransferRequestedIterator) Close ¶
func (it *OperatorOwnershipTransferRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OperatorOwnershipTransferRequestedIterator) Error ¶
func (it *OperatorOwnershipTransferRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OperatorOwnershipTransferRequestedIterator) Next ¶
func (it *OperatorOwnershipTransferRequestedIterator) 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 OperatorOwnershipTransferred ¶
type OperatorOwnershipTransferred struct { From common.Address To common.Address Raw types.Log // Blockchain specific contextual infos }
OperatorOwnershipTransferred represents a OwnershipTransferred event raised by the Operator contract.
type OperatorOwnershipTransferredIterator ¶
type OperatorOwnershipTransferredIterator struct { Event *OperatorOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OperatorOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Operator contract.
func (*OperatorOwnershipTransferredIterator) Close ¶
func (it *OperatorOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OperatorOwnershipTransferredIterator) Error ¶
func (it *OperatorOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OperatorOwnershipTransferredIterator) Next ¶
func (it *OperatorOwnershipTransferredIterator) 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 OperatorRaw ¶
type OperatorRaw struct {
Contract *Operator // Generic contract binding to access the raw methods on
}
OperatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OperatorRaw) Call ¶
func (_Operator *OperatorRaw) 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 (*OperatorRaw) Transact ¶
func (_Operator *OperatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OperatorRaw) Transfer ¶
func (_Operator *OperatorRaw) 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 OperatorSession ¶
type OperatorSession struct { Contract *Operator // 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 }
OperatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OperatorSession) AcceptOwnership ¶
func (_Operator *OperatorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*OperatorSession) CancelOracleRequest ¶
func (_Operator *OperatorSession) CancelOracleRequest(requestId [32]byte, payment *big.Int, callbackFunc [4]byte, expiration *big.Int) (*types.Transaction, error)
CancelOracleRequest is a paid mutator transaction binding the contract method 0x6ee4d553.
Solidity: function cancelOracleRequest(bytes32 requestId, uint256 payment, bytes4 callbackFunc, uint256 expiration) returns()
func (*OperatorSession) EXPIRYTIME ¶
func (_Operator *OperatorSession) EXPIRYTIME() (*big.Int, error)
EXPIRYTIME is a free data retrieval call binding the contract method 0x4b602282.
Solidity: function EXPIRY_TIME() view returns(uint256)
func (*OperatorSession) Forward ¶
func (_Operator *OperatorSession) Forward(to common.Address, data []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0x6fadcf72.
Solidity: function forward(address to, bytes data) returns()
func (*OperatorSession) FulfillOracleRequest ¶
func (_Operator *OperatorSession) FulfillOracleRequest(requestId [32]byte, payment *big.Int, callbackAddress common.Address, callbackFunctionId [4]byte, expiration *big.Int, data [32]byte) (*types.Transaction, error)
FulfillOracleRequest is a paid mutator transaction binding the contract method 0x4ab0d190.
Solidity: function fulfillOracleRequest(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes32 data) returns(bool)
func (*OperatorSession) FulfillOracleRequest2 ¶
func (_Operator *OperatorSession) FulfillOracleRequest2(requestId [32]byte, payment *big.Int, callbackAddress common.Address, callbackFunctionId [4]byte, expiration *big.Int, data []byte) (*types.Transaction, error)
FulfillOracleRequest2 is a paid mutator transaction binding the contract method 0x6ae0bc76.
Solidity: function fulfillOracleRequest2(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes data) returns(bool)
func (*OperatorSession) GetChainlinkToken ¶
func (_Operator *OperatorSession) GetChainlinkToken() (common.Address, error)
GetChainlinkToken is a free data retrieval call binding the contract method 0x165d35e1.
Solidity: function getChainlinkToken() view returns(address)
func (*OperatorSession) IsAuthorizedSender ¶
func (_Operator *OperatorSession) IsAuthorizedSender(node common.Address) (bool, error)
IsAuthorizedSender is a free data retrieval call binding the contract method 0xfa00763a.
Solidity: function isAuthorizedSender(address node) view returns(bool)
func (*OperatorSession) OnTokenTransfer ¶
func (_Operator *OperatorSession) OnTokenTransfer(sender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.
Solidity: function onTokenTransfer(address sender, uint256 amount, bytes data) returns()
func (*OperatorSession) OracleRequest ¶
func (_Operator *OperatorSession) OracleRequest(sender common.Address, payment *big.Int, specId [32]byte, callbackAddress common.Address, callbackFunctionId [4]byte, nonce *big.Int, dataVersion *big.Int, data []byte) (*types.Transaction, error)
OracleRequest is a paid mutator transaction binding the contract method 0x40429946.
Solidity: function oracleRequest(address sender, uint256 payment, bytes32 specId, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes data) returns()
func (*OperatorSession) Owner ¶
func (_Operator *OperatorSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OperatorSession) SetAuthorizedSender ¶
func (_Operator *OperatorSession) SetAuthorizedSender(node common.Address, allowed bool) (*types.Transaction, error)
SetAuthorizedSender is a paid mutator transaction binding the contract method 0xf3dfc2a9.
Solidity: function setAuthorizedSender(address node, bool allowed) returns()
func (*OperatorSession) TransferOwnership ¶
func (_Operator *OperatorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address to) returns()
func (*OperatorSession) Withdraw ¶
func (_Operator *OperatorSession) 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 (*OperatorSession) Withdrawable ¶
func (_Operator *OperatorSession) Withdrawable() (*big.Int, error)
Withdrawable is a free data retrieval call binding the contract method 0x50188301.
Solidity: function withdrawable() view returns(uint256)
type OperatorTransactor ¶
type OperatorTransactor struct {
// contains filtered or unexported fields
}
OperatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOperatorTransactor ¶
func NewOperatorTransactor(address common.Address, transactor bind.ContractTransactor) (*OperatorTransactor, error)
NewOperatorTransactor creates a new write-only instance of Operator, bound to a specific deployed contract.
func (*OperatorTransactor) AcceptOwnership ¶
func (_Operator *OperatorTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*OperatorTransactor) CancelOracleRequest ¶
func (_Operator *OperatorTransactor) CancelOracleRequest(opts *bind.TransactOpts, requestId [32]byte, payment *big.Int, callbackFunc [4]byte, expiration *big.Int) (*types.Transaction, error)
CancelOracleRequest is a paid mutator transaction binding the contract method 0x6ee4d553.
Solidity: function cancelOracleRequest(bytes32 requestId, uint256 payment, bytes4 callbackFunc, uint256 expiration) returns()
func (*OperatorTransactor) Forward ¶
func (_Operator *OperatorTransactor) Forward(opts *bind.TransactOpts, to common.Address, data []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0x6fadcf72.
Solidity: function forward(address to, bytes data) returns()
func (*OperatorTransactor) FulfillOracleRequest ¶
func (_Operator *OperatorTransactor) FulfillOracleRequest(opts *bind.TransactOpts, requestId [32]byte, payment *big.Int, callbackAddress common.Address, callbackFunctionId [4]byte, expiration *big.Int, data [32]byte) (*types.Transaction, error)
FulfillOracleRequest is a paid mutator transaction binding the contract method 0x4ab0d190.
Solidity: function fulfillOracleRequest(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes32 data) returns(bool)
func (*OperatorTransactor) FulfillOracleRequest2 ¶
func (_Operator *OperatorTransactor) FulfillOracleRequest2(opts *bind.TransactOpts, requestId [32]byte, payment *big.Int, callbackAddress common.Address, callbackFunctionId [4]byte, expiration *big.Int, data []byte) (*types.Transaction, error)
FulfillOracleRequest2 is a paid mutator transaction binding the contract method 0x6ae0bc76.
Solidity: function fulfillOracleRequest2(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes data) returns(bool)
func (*OperatorTransactor) OnTokenTransfer ¶
func (_Operator *OperatorTransactor) OnTokenTransfer(opts *bind.TransactOpts, sender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.
Solidity: function onTokenTransfer(address sender, uint256 amount, bytes data) returns()
func (*OperatorTransactor) OracleRequest ¶
func (_Operator *OperatorTransactor) OracleRequest(opts *bind.TransactOpts, sender common.Address, payment *big.Int, specId [32]byte, callbackAddress common.Address, callbackFunctionId [4]byte, nonce *big.Int, dataVersion *big.Int, data []byte) (*types.Transaction, error)
OracleRequest is a paid mutator transaction binding the contract method 0x40429946.
Solidity: function oracleRequest(address sender, uint256 payment, bytes32 specId, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes data) returns()
func (*OperatorTransactor) SetAuthorizedSender ¶
func (_Operator *OperatorTransactor) SetAuthorizedSender(opts *bind.TransactOpts, node common.Address, allowed bool) (*types.Transaction, error)
SetAuthorizedSender is a paid mutator transaction binding the contract method 0xf3dfc2a9.
Solidity: function setAuthorizedSender(address node, bool allowed) returns()
func (*OperatorTransactor) TransferOwnership ¶
func (_Operator *OperatorTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address to) returns()
func (*OperatorTransactor) Withdraw ¶
func (_Operator *OperatorTransactor) 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 OperatorTransactorRaw ¶
type OperatorTransactorRaw struct {
Contract *OperatorTransactor // Generic write-only contract binding to access the raw methods on
}
OperatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OperatorTransactorRaw) Transact ¶
func (_Operator *OperatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OperatorTransactorRaw) Transfer ¶
func (_Operator *OperatorTransactorRaw) 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 OperatorTransactorSession ¶
type OperatorTransactorSession struct { Contract *OperatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OperatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OperatorTransactorSession) AcceptOwnership ¶
func (_Operator *OperatorTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*OperatorTransactorSession) CancelOracleRequest ¶
func (_Operator *OperatorTransactorSession) CancelOracleRequest(requestId [32]byte, payment *big.Int, callbackFunc [4]byte, expiration *big.Int) (*types.Transaction, error)
CancelOracleRequest is a paid mutator transaction binding the contract method 0x6ee4d553.
Solidity: function cancelOracleRequest(bytes32 requestId, uint256 payment, bytes4 callbackFunc, uint256 expiration) returns()
func (*OperatorTransactorSession) Forward ¶
func (_Operator *OperatorTransactorSession) Forward(to common.Address, data []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0x6fadcf72.
Solidity: function forward(address to, bytes data) returns()
func (*OperatorTransactorSession) FulfillOracleRequest ¶
func (_Operator *OperatorTransactorSession) FulfillOracleRequest(requestId [32]byte, payment *big.Int, callbackAddress common.Address, callbackFunctionId [4]byte, expiration *big.Int, data [32]byte) (*types.Transaction, error)
FulfillOracleRequest is a paid mutator transaction binding the contract method 0x4ab0d190.
Solidity: function fulfillOracleRequest(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes32 data) returns(bool)
func (*OperatorTransactorSession) FulfillOracleRequest2 ¶
func (_Operator *OperatorTransactorSession) FulfillOracleRequest2(requestId [32]byte, payment *big.Int, callbackAddress common.Address, callbackFunctionId [4]byte, expiration *big.Int, data []byte) (*types.Transaction, error)
FulfillOracleRequest2 is a paid mutator transaction binding the contract method 0x6ae0bc76.
Solidity: function fulfillOracleRequest2(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes data) returns(bool)
func (*OperatorTransactorSession) OnTokenTransfer ¶
func (_Operator *OperatorTransactorSession) OnTokenTransfer(sender common.Address, amount *big.Int, data []byte) (*types.Transaction, error)
OnTokenTransfer is a paid mutator transaction binding the contract method 0xa4c0ed36.
Solidity: function onTokenTransfer(address sender, uint256 amount, bytes data) returns()
func (*OperatorTransactorSession) OracleRequest ¶
func (_Operator *OperatorTransactorSession) OracleRequest(sender common.Address, payment *big.Int, specId [32]byte, callbackAddress common.Address, callbackFunctionId [4]byte, nonce *big.Int, dataVersion *big.Int, data []byte) (*types.Transaction, error)
OracleRequest is a paid mutator transaction binding the contract method 0x40429946.
Solidity: function oracleRequest(address sender, uint256 payment, bytes32 specId, address callbackAddress, bytes4 callbackFunctionId, uint256 nonce, uint256 dataVersion, bytes data) returns()
func (*OperatorTransactorSession) SetAuthorizedSender ¶
func (_Operator *OperatorTransactorSession) SetAuthorizedSender(node common.Address, allowed bool) (*types.Transaction, error)
SetAuthorizedSender is a paid mutator transaction binding the contract method 0xf3dfc2a9.
Solidity: function setAuthorizedSender(address node, bool allowed) returns()
func (*OperatorTransactorSession) TransferOwnership ¶
func (_Operator *OperatorTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address to) returns()
func (*OperatorTransactorSession) Withdraw ¶
func (_Operator *OperatorTransactorSession) 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()