Versions in this module Expand all Collapse all v1 v1.10.17 Oct 18, 2021 v1.10.16 Oct 18, 2021 Changes in this version + var OracleABI = OracleMetaData.ABI + var OracleBin = OracleMetaData.Bin + var OracleMetaData = &bind.MetaData + type Oracle struct + func DeployOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address) (common.Address, *types.Transaction, *Oracle, error) + func NewOracle(address common.Address, backend bind.ContractBackend) (*Oracle, error) + func (_Oracle *Oracle) Address() common.Address + func (_Oracle *Oracle) ParseLog(log types.Log) (generated.AbigenLog, error) + type OracleCaller struct + func NewOracleCaller(address common.Address, caller bind.ContractCaller) (*OracleCaller, error) + func (_Oracle *OracleCaller) EXPIRYTIME(opts *bind.CallOpts) (*big.Int, error) + func (_Oracle *OracleCaller) GetAuthorizationStatus(opts *bind.CallOpts, _node common.Address) (bool, error) + func (_Oracle *OracleCaller) GetChainlinkToken(opts *bind.CallOpts) (common.Address, error) + func (_Oracle *OracleCaller) IsOwner(opts *bind.CallOpts) (bool, error) + func (_Oracle *OracleCaller) Owner(opts *bind.CallOpts) (common.Address, error) + func (_Oracle *OracleCaller) Withdrawable(opts *bind.CallOpts) (*big.Int, error) + type OracleCallerRaw struct + Contract *OracleCaller + func (_Oracle *OracleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type OracleCallerSession struct + CallOpts bind.CallOpts + Contract *OracleCaller + func (_Oracle *OracleCallerSession) EXPIRYTIME() (*big.Int, error) + func (_Oracle *OracleCallerSession) GetAuthorizationStatus(_node common.Address) (bool, error) + func (_Oracle *OracleCallerSession) GetChainlinkToken() (common.Address, error) + func (_Oracle *OracleCallerSession) IsOwner() (bool, error) + func (_Oracle *OracleCallerSession) Owner() (common.Address, error) + func (_Oracle *OracleCallerSession) Withdrawable() (*big.Int, error) + type OracleCancelOracleRequest struct + Raw types.Log + RequestId [32]byte + func (OracleCancelOracleRequest) Topic() common.Hash + type OracleCancelOracleRequestIterator struct + Event *OracleCancelOracleRequest + func (it *OracleCancelOracleRequestIterator) Close() error + func (it *OracleCancelOracleRequestIterator) Error() error + func (it *OracleCancelOracleRequestIterator) Next() bool + type OracleFilterer struct + func NewOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleFilterer, error) + func (_Oracle *OracleFilterer) FilterCancelOracleRequest(opts *bind.FilterOpts, requestId [][32]byte) (*OracleCancelOracleRequestIterator, error) + func (_Oracle *OracleFilterer) FilterOracleRequest(opts *bind.FilterOpts, specId [][32]byte) (*OracleOracleRequestIterator, error) + func (_Oracle *OracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OracleOwnershipTransferredIterator, error) + func (_Oracle *OracleFilterer) ParseCancelOracleRequest(log types.Log) (*OracleCancelOracleRequest, error) + func (_Oracle *OracleFilterer) ParseOracleRequest(log types.Log) (*OracleOracleRequest, error) + func (_Oracle *OracleFilterer) ParseOwnershipTransferred(log types.Log) (*OracleOwnershipTransferred, error) + func (_Oracle *OracleFilterer) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *OracleCancelOracleRequest, ...) (event.Subscription, error) + func (_Oracle *OracleFilterer) WatchOracleRequest(opts *bind.WatchOpts, sink chan<- *OracleOracleRequest, specId [][32]byte) (event.Subscription, error) + func (_Oracle *OracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleOwnershipTransferred, ...) (event.Subscription, error) + type OracleInterface interface + Address func() common.Address + CancelOracleRequest func(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, ...) (*types.Transaction, error) + EXPIRYTIME func(opts *bind.CallOpts) (*big.Int, error) + FilterCancelOracleRequest func(opts *bind.FilterOpts, requestId [][32]byte) (*OracleCancelOracleRequestIterator, error) + FilterOracleRequest func(opts *bind.FilterOpts, specId [][32]byte) (*OracleOracleRequestIterator, error) + FilterOwnershipTransferred func(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OracleOwnershipTransferredIterator, error) + FulfillOracleRequest func(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, ...) (*types.Transaction, error) + GetAuthorizationStatus func(opts *bind.CallOpts, _node common.Address) (bool, error) + GetChainlinkToken func(opts *bind.CallOpts) (common.Address, error) + IsOwner func(opts *bind.CallOpts) (bool, error) + OnTokenTransfer func(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, ...) (*types.Transaction, error) + OracleRequest func(opts *bind.TransactOpts, _sender common.Address, _payment *big.Int, ...) (*types.Transaction, error) + Owner func(opts *bind.CallOpts) (common.Address, error) + ParseCancelOracleRequest func(log types.Log) (*OracleCancelOracleRequest, error) + ParseLog func(log types.Log) (generated.AbigenLog, error) + ParseOracleRequest func(log types.Log) (*OracleOracleRequest, error) + ParseOwnershipTransferred func(log types.Log) (*OracleOwnershipTransferred, error) + SetFulfillmentPermission func(opts *bind.TransactOpts, _node common.Address, _allowed bool) (*types.Transaction, error) + TransferOwnership func(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) + WatchCancelOracleRequest func(opts *bind.WatchOpts, sink chan<- *OracleCancelOracleRequest, ...) (event.Subscription, error) + WatchOracleRequest func(opts *bind.WatchOpts, sink chan<- *OracleOracleRequest, specId [][32]byte) (event.Subscription, error) + WatchOwnershipTransferred func(opts *bind.WatchOpts, sink chan<- *OracleOwnershipTransferred, ...) (event.Subscription, error) + Withdraw func(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + Withdrawable func(opts *bind.CallOpts) (*big.Int, error) + type OracleOracleRequest struct + CallbackAddr common.Address + CallbackFunctionId [4]byte + CancelExpiration *big.Int + Data []byte + DataVersion *big.Int + Payment *big.Int + Raw types.Log + RequestId [32]byte + Requester common.Address + SpecId [32]byte + func (OracleOracleRequest) Topic() common.Hash + type OracleOracleRequestIterator struct + Event *OracleOracleRequest + func (it *OracleOracleRequestIterator) Close() error + func (it *OracleOracleRequestIterator) Error() error + func (it *OracleOracleRequestIterator) Next() bool + type OracleOwnershipTransferred struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + func (OracleOwnershipTransferred) Topic() common.Hash + type OracleOwnershipTransferredIterator struct + Event *OracleOwnershipTransferred + func (it *OracleOwnershipTransferredIterator) Close() error + func (it *OracleOwnershipTransferredIterator) Error() error + func (it *OracleOwnershipTransferredIterator) Next() bool + type OracleRaw struct + Contract *Oracle + func (_Oracle *OracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Oracle *OracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Oracle *OracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type OracleSession struct + CallOpts bind.CallOpts + Contract *Oracle + TransactOpts bind.TransactOpts + func (_Oracle *OracleSession) CancelOracleRequest(_requestId [32]byte, _payment *big.Int, _callbackFunc [4]byte, ...) (*types.Transaction, error) + func (_Oracle *OracleSession) EXPIRYTIME() (*big.Int, error) + func (_Oracle *OracleSession) FulfillOracleRequest(_requestId [32]byte, _payment *big.Int, _callbackAddress common.Address, ...) (*types.Transaction, error) + func (_Oracle *OracleSession) GetAuthorizationStatus(_node common.Address) (bool, error) + func (_Oracle *OracleSession) GetChainlinkToken() (common.Address, error) + func (_Oracle *OracleSession) IsOwner() (bool, error) + func (_Oracle *OracleSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error) + func (_Oracle *OracleSession) OracleRequest(_sender common.Address, _payment *big.Int, _specId [32]byte, ...) (*types.Transaction, error) + func (_Oracle *OracleSession) Owner() (common.Address, error) + func (_Oracle *OracleSession) SetFulfillmentPermission(_node common.Address, _allowed bool) (*types.Transaction, error) + func (_Oracle *OracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) + func (_Oracle *OracleSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Oracle *OracleSession) Withdrawable() (*big.Int, error) + type OracleTransactor struct + func NewOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleTransactor, error) + func (_Oracle *OracleTransactor) CancelOracleRequest(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactor) FulfillOracleRequest(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactor) OracleRequest(opts *bind.TransactOpts, _sender common.Address, _payment *big.Int, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactor) SetFulfillmentPermission(opts *bind.TransactOpts, _node common.Address, _allowed bool) (*types.Transaction, error) + func (_Oracle *OracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) + func (_Oracle *OracleTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + type OracleTransactorRaw struct + Contract *OracleTransactor + func (_Oracle *OracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Oracle *OracleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type OracleTransactorSession struct + Contract *OracleTransactor + TransactOpts bind.TransactOpts + func (_Oracle *OracleTransactorSession) CancelOracleRequest(_requestId [32]byte, _payment *big.Int, _callbackFunc [4]byte, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactorSession) FulfillOracleRequest(_requestId [32]byte, _payment *big.Int, _callbackAddress common.Address, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactorSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error) + func (_Oracle *OracleTransactorSession) OracleRequest(_sender common.Address, _payment *big.Int, _specId [32]byte, ...) (*types.Transaction, error) + func (_Oracle *OracleTransactorSession) SetFulfillmentPermission(_node common.Address, _allowed bool) (*types.Transaction, error) + func (_Oracle *OracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) + func (_Oracle *OracleTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)