Documentation ¶
Index ¶
- Constants
- type DioneOracle
- type DioneOracleCaller
- type DioneOracleCallerRaw
- type DioneOracleCallerSession
- type DioneOracleCancelOracleRequest
- type DioneOracleCancelOracleRequestIterator
- type DioneOracleFilterer
- func (_DioneOracle *DioneOracleFilterer) FilterCancelOracleRequest(opts *bind.FilterOpts) (*DioneOracleCancelOracleRequestIterator, error)
- func (_DioneOracle *DioneOracleFilterer) FilterNewOracleRequest(opts *bind.FilterOpts) (*DioneOracleNewOracleRequestIterator, error)
- func (_DioneOracle *DioneOracleFilterer) FilterSubmittedOracleRequest(opts *bind.FilterOpts) (*DioneOracleSubmittedOracleRequestIterator, error)
- func (_DioneOracle *DioneOracleFilterer) ParseCancelOracleRequest(log types.Log) (*DioneOracleCancelOracleRequest, error)
- func (_DioneOracle *DioneOracleFilterer) ParseNewOracleRequest(log types.Log) (*DioneOracleNewOracleRequest, error)
- func (_DioneOracle *DioneOracleFilterer) ParseSubmittedOracleRequest(log types.Log) (*DioneOracleSubmittedOracleRequest, error)
- func (_DioneOracle *DioneOracleFilterer) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *DioneOracleCancelOracleRequest) (event.Subscription, error)
- func (_DioneOracle *DioneOracleFilterer) WatchNewOracleRequest(opts *bind.WatchOpts, sink chan<- *DioneOracleNewOracleRequest) (event.Subscription, error)
- func (_DioneOracle *DioneOracleFilterer) WatchSubmittedOracleRequest(opts *bind.WatchOpts, sink chan<- *DioneOracleSubmittedOracleRequest) (event.Subscription, error)
- type DioneOracleNewOracleRequest
- type DioneOracleNewOracleRequestIterator
- type DioneOracleRaw
- func (_DioneOracle *DioneOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DioneOracle *DioneOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DioneOracleSession
- func (_DioneOracle *DioneOracleSession) CancelOracleRequest(_reqID *big.Int) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleSession) DioneStaking() (common.Address, error)
- func (_DioneOracle *DioneOracleSession) MAXIMUMDELAY() (*big.Int, error)
- func (_DioneOracle *DioneOracleSession) MinimumDisputeFee() (*big.Int, error)
- func (_DioneOracle *DioneOracleSession) RequestOracles(_originChain uint8, _requestType string, _requestParams string, ...) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleSession) SubmitOracleRequest(_reqID *big.Int, _data []byte) (*types.Transaction, error)
- type DioneOracleSubmittedOracleRequest
- type DioneOracleSubmittedOracleRequestIterator
- type DioneOracleTransactor
- func (_DioneOracle *DioneOracleTransactor) CancelOracleRequest(opts *bind.TransactOpts, _reqID *big.Int) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleTransactor) RequestOracles(opts *bind.TransactOpts, _originChain uint8, _requestType string, ...) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleTransactor) SubmitOracleRequest(opts *bind.TransactOpts, _reqID *big.Int, _data []byte) (*types.Transaction, error)
- type DioneOracleTransactorRaw
- type DioneOracleTransactorSession
- func (_DioneOracle *DioneOracleTransactorSession) CancelOracleRequest(_reqID *big.Int) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleTransactorSession) RequestOracles(_originChain uint8, _requestType string, _requestParams string, ...) (*types.Transaction, error)
- func (_DioneOracle *DioneOracleTransactorSession) SubmitOracleRequest(_reqID *big.Int, _data []byte) (*types.Transaction, error)
Constants ¶
const DioneOracleABI = "" /* 2772-byte string literal not displayed */
DioneOracleABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DioneOracle ¶
type DioneOracle struct { DioneOracleCaller // Read-only binding to the contract DioneOracleTransactor // Write-only binding to the contract DioneOracleFilterer // Log filterer for contract events }
DioneOracle is an auto generated Go binding around an Ethereum contract.
func NewDioneOracle ¶
func NewDioneOracle(address common.Address, backend bind.ContractBackend) (*DioneOracle, error)
NewDioneOracle creates a new instance of DioneOracle, bound to a specific deployed contract.
type DioneOracleCaller ¶
type DioneOracleCaller struct {
// contains filtered or unexported fields
}
DioneOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDioneOracleCaller ¶
func NewDioneOracleCaller(address common.Address, caller bind.ContractCaller) (*DioneOracleCaller, error)
NewDioneOracleCaller creates a new read-only instance of DioneOracle, bound to a specific deployed contract.
func (*DioneOracleCaller) DioneStaking ¶
DioneStaking is a free data retrieval call binding the contract method 0xe7013ddd.
Solidity: function dioneStaking() view returns(address)
func (*DioneOracleCaller) MAXIMUMDELAY ¶
MAXIMUMDELAY is a free data retrieval call binding the contract method 0x7d645fab.
Solidity: function MAXIMUM_DELAY() view returns(uint256)
func (*DioneOracleCaller) MinimumDisputeFee ¶
MinimumDisputeFee is a free data retrieval call binding the contract method 0x4909f765.
Solidity: function minimumDisputeFee() view returns(uint256)
type DioneOracleCallerRaw ¶
type DioneOracleCallerRaw struct {
Contract *DioneOracleCaller // Generic read-only contract binding to access the raw methods on
}
DioneOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DioneOracleCallerRaw) Call ¶
func (_DioneOracle *DioneOracleCallerRaw) 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 DioneOracleCallerSession ¶
type DioneOracleCallerSession struct { Contract *DioneOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DioneOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DioneOracleCallerSession) DioneStaking ¶
func (_DioneOracle *DioneOracleCallerSession) DioneStaking() (common.Address, error)
DioneStaking is a free data retrieval call binding the contract method 0xe7013ddd.
Solidity: function dioneStaking() view returns(address)
func (*DioneOracleCallerSession) MAXIMUMDELAY ¶
func (_DioneOracle *DioneOracleCallerSession) MAXIMUMDELAY() (*big.Int, error)
MAXIMUMDELAY is a free data retrieval call binding the contract method 0x7d645fab.
Solidity: function MAXIMUM_DELAY() view returns(uint256)
func (*DioneOracleCallerSession) MinimumDisputeFee ¶
func (_DioneOracle *DioneOracleCallerSession) MinimumDisputeFee() (*big.Int, error)
MinimumDisputeFee is a free data retrieval call binding the contract method 0x4909f765.
Solidity: function minimumDisputeFee() view returns(uint256)
type DioneOracleCancelOracleRequest ¶
type DioneOracleCancelOracleRequest struct { ReqID *big.Int Raw types.Log // Blockchain specific contextual infos }
DioneOracleCancelOracleRequest represents a CancelOracleRequest event raised by the DioneOracle contract.
type DioneOracleCancelOracleRequestIterator ¶
type DioneOracleCancelOracleRequestIterator struct { Event *DioneOracleCancelOracleRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DioneOracleCancelOracleRequestIterator is returned from FilterCancelOracleRequest and is used to iterate over the raw logs and unpacked data for CancelOracleRequest events raised by the DioneOracle contract.
func (*DioneOracleCancelOracleRequestIterator) Close ¶
func (it *DioneOracleCancelOracleRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DioneOracleCancelOracleRequestIterator) Error ¶
func (it *DioneOracleCancelOracleRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DioneOracleCancelOracleRequestIterator) Next ¶
func (it *DioneOracleCancelOracleRequestIterator) 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 DioneOracleFilterer ¶
type DioneOracleFilterer struct {
// contains filtered or unexported fields
}
DioneOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDioneOracleFilterer ¶
func NewDioneOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*DioneOracleFilterer, error)
NewDioneOracleFilterer creates a new log filterer instance of DioneOracle, bound to a specific deployed contract.
func (*DioneOracleFilterer) FilterCancelOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) FilterCancelOracleRequest(opts *bind.FilterOpts) (*DioneOracleCancelOracleRequestIterator, error)
FilterCancelOracleRequest is a free log retrieval operation binding the contract event 0xb9422b5075524babd23853e336b5ef3a05516a8088f4c8b809f949642f6aa54e.
Solidity: event CancelOracleRequest(uint256 reqID)
func (*DioneOracleFilterer) FilterNewOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) FilterNewOracleRequest(opts *bind.FilterOpts) (*DioneOracleNewOracleRequestIterator, error)
FilterNewOracleRequest is a free log retrieval operation binding the contract event 0xf2736922e09befc7bb0c19052cc9b530a5d9a696b3db44a29814ac8a4335aa08.
Solidity: event NewOracleRequest(uint8 originChain, string requestType, string requestParams, uint256 reqID, uint256 deadline)
func (*DioneOracleFilterer) FilterSubmittedOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) FilterSubmittedOracleRequest(opts *bind.FilterOpts) (*DioneOracleSubmittedOracleRequestIterator, error)
FilterSubmittedOracleRequest is a free log retrieval operation binding the contract event 0x30c6663e7dc6e4e92bde7b263ac094ed9141eba4437261c482c14e41d855040f.
Solidity: event SubmittedOracleRequest(uint256 reqID, bytes data)
func (*DioneOracleFilterer) ParseCancelOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) ParseCancelOracleRequest(log types.Log) (*DioneOracleCancelOracleRequest, error)
ParseCancelOracleRequest is a log parse operation binding the contract event 0xb9422b5075524babd23853e336b5ef3a05516a8088f4c8b809f949642f6aa54e.
Solidity: event CancelOracleRequest(uint256 reqID)
func (*DioneOracleFilterer) ParseNewOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) ParseNewOracleRequest(log types.Log) (*DioneOracleNewOracleRequest, error)
ParseNewOracleRequest is a log parse operation binding the contract event 0xf2736922e09befc7bb0c19052cc9b530a5d9a696b3db44a29814ac8a4335aa08.
Solidity: event NewOracleRequest(uint8 originChain, string requestType, string requestParams, uint256 reqID, uint256 deadline)
func (*DioneOracleFilterer) ParseSubmittedOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) ParseSubmittedOracleRequest(log types.Log) (*DioneOracleSubmittedOracleRequest, error)
ParseSubmittedOracleRequest is a log parse operation binding the contract event 0x30c6663e7dc6e4e92bde7b263ac094ed9141eba4437261c482c14e41d855040f.
Solidity: event SubmittedOracleRequest(uint256 reqID, bytes data)
func (*DioneOracleFilterer) WatchCancelOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *DioneOracleCancelOracleRequest) (event.Subscription, error)
WatchCancelOracleRequest is a free log subscription operation binding the contract event 0xb9422b5075524babd23853e336b5ef3a05516a8088f4c8b809f949642f6aa54e.
Solidity: event CancelOracleRequest(uint256 reqID)
func (*DioneOracleFilterer) WatchNewOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) WatchNewOracleRequest(opts *bind.WatchOpts, sink chan<- *DioneOracleNewOracleRequest) (event.Subscription, error)
WatchNewOracleRequest is a free log subscription operation binding the contract event 0xf2736922e09befc7bb0c19052cc9b530a5d9a696b3db44a29814ac8a4335aa08.
Solidity: event NewOracleRequest(uint8 originChain, string requestType, string requestParams, uint256 reqID, uint256 deadline)
func (*DioneOracleFilterer) WatchSubmittedOracleRequest ¶
func (_DioneOracle *DioneOracleFilterer) WatchSubmittedOracleRequest(opts *bind.WatchOpts, sink chan<- *DioneOracleSubmittedOracleRequest) (event.Subscription, error)
WatchSubmittedOracleRequest is a free log subscription operation binding the contract event 0x30c6663e7dc6e4e92bde7b263ac094ed9141eba4437261c482c14e41d855040f.
Solidity: event SubmittedOracleRequest(uint256 reqID, bytes data)
type DioneOracleNewOracleRequest ¶
type DioneOracleNewOracleRequest struct { OriginChain uint8 RequestType string RequestParams string ReqID *big.Int Deadline *big.Int Raw types.Log // Blockchain specific contextual infos }
DioneOracleNewOracleRequest represents a NewOracleRequest event raised by the DioneOracle contract.
type DioneOracleNewOracleRequestIterator ¶
type DioneOracleNewOracleRequestIterator struct { Event *DioneOracleNewOracleRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DioneOracleNewOracleRequestIterator is returned from FilterNewOracleRequest and is used to iterate over the raw logs and unpacked data for NewOracleRequest events raised by the DioneOracle contract.
func (*DioneOracleNewOracleRequestIterator) Close ¶
func (it *DioneOracleNewOracleRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DioneOracleNewOracleRequestIterator) Error ¶
func (it *DioneOracleNewOracleRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DioneOracleNewOracleRequestIterator) Next ¶
func (it *DioneOracleNewOracleRequestIterator) 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 DioneOracleRaw ¶
type DioneOracleRaw struct {
Contract *DioneOracle // Generic contract binding to access the raw methods on
}
DioneOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DioneOracleRaw) Call ¶
func (_DioneOracle *DioneOracleRaw) 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 (*DioneOracleRaw) Transact ¶
func (_DioneOracle *DioneOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DioneOracleRaw) Transfer ¶
func (_DioneOracle *DioneOracleRaw) 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 DioneOracleSession ¶
type DioneOracleSession struct { Contract *DioneOracle // 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 }
DioneOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DioneOracleSession) CancelOracleRequest ¶
func (_DioneOracle *DioneOracleSession) CancelOracleRequest(_reqID *big.Int) (*types.Transaction, error)
CancelOracleRequest is a paid mutator transaction binding the contract method 0x1d2a198a.
Solidity: function cancelOracleRequest(uint256 _reqID) returns()
func (*DioneOracleSession) DioneStaking ¶
func (_DioneOracle *DioneOracleSession) DioneStaking() (common.Address, error)
DioneStaking is a free data retrieval call binding the contract method 0xe7013ddd.
Solidity: function dioneStaking() view returns(address)
func (*DioneOracleSession) MAXIMUMDELAY ¶
func (_DioneOracle *DioneOracleSession) MAXIMUMDELAY() (*big.Int, error)
MAXIMUMDELAY is a free data retrieval call binding the contract method 0x7d645fab.
Solidity: function MAXIMUM_DELAY() view returns(uint256)
func (*DioneOracleSession) MinimumDisputeFee ¶
func (_DioneOracle *DioneOracleSession) MinimumDisputeFee() (*big.Int, error)
MinimumDisputeFee is a free data retrieval call binding the contract method 0x4909f765.
Solidity: function minimumDisputeFee() view returns(uint256)
func (*DioneOracleSession) RequestOracles ¶
func (_DioneOracle *DioneOracleSession) RequestOracles(_originChain uint8, _requestType string, _requestParams string, _callbackAddress common.Address, _callbackMethodID [4]byte) (*types.Transaction, error)
RequestOracles is a paid mutator transaction binding the contract method 0xe7c3712a.
Solidity: function requestOracles(uint8 _originChain, string _requestType, string _requestParams, address _callbackAddress, bytes4 _callbackMethodID) returns(uint256)
func (*DioneOracleSession) SubmitOracleRequest ¶
func (_DioneOracle *DioneOracleSession) SubmitOracleRequest(_reqID *big.Int, _data []byte) (*types.Transaction, error)
SubmitOracleRequest is a paid mutator transaction binding the contract method 0xcbed450e.
Solidity: function submitOracleRequest(uint256 _reqID, bytes _data) returns(bool)
type DioneOracleSubmittedOracleRequest ¶
type DioneOracleSubmittedOracleRequest struct { ReqID *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
DioneOracleSubmittedOracleRequest represents a SubmittedOracleRequest event raised by the DioneOracle contract.
type DioneOracleSubmittedOracleRequestIterator ¶
type DioneOracleSubmittedOracleRequestIterator struct { Event *DioneOracleSubmittedOracleRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
DioneOracleSubmittedOracleRequestIterator is returned from FilterSubmittedOracleRequest and is used to iterate over the raw logs and unpacked data for SubmittedOracleRequest events raised by the DioneOracle contract.
func (*DioneOracleSubmittedOracleRequestIterator) Close ¶
func (it *DioneOracleSubmittedOracleRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*DioneOracleSubmittedOracleRequestIterator) Error ¶
func (it *DioneOracleSubmittedOracleRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*DioneOracleSubmittedOracleRequestIterator) Next ¶
func (it *DioneOracleSubmittedOracleRequestIterator) 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 DioneOracleTransactor ¶
type DioneOracleTransactor struct {
// contains filtered or unexported fields
}
DioneOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDioneOracleTransactor ¶
func NewDioneOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*DioneOracleTransactor, error)
NewDioneOracleTransactor creates a new write-only instance of DioneOracle, bound to a specific deployed contract.
func (*DioneOracleTransactor) CancelOracleRequest ¶
func (_DioneOracle *DioneOracleTransactor) CancelOracleRequest(opts *bind.TransactOpts, _reqID *big.Int) (*types.Transaction, error)
CancelOracleRequest is a paid mutator transaction binding the contract method 0x1d2a198a.
Solidity: function cancelOracleRequest(uint256 _reqID) returns()
func (*DioneOracleTransactor) RequestOracles ¶
func (_DioneOracle *DioneOracleTransactor) RequestOracles(opts *bind.TransactOpts, _originChain uint8, _requestType string, _requestParams string, _callbackAddress common.Address, _callbackMethodID [4]byte) (*types.Transaction, error)
RequestOracles is a paid mutator transaction binding the contract method 0xe7c3712a.
Solidity: function requestOracles(uint8 _originChain, string _requestType, string _requestParams, address _callbackAddress, bytes4 _callbackMethodID) returns(uint256)
func (*DioneOracleTransactor) SubmitOracleRequest ¶
func (_DioneOracle *DioneOracleTransactor) SubmitOracleRequest(opts *bind.TransactOpts, _reqID *big.Int, _data []byte) (*types.Transaction, error)
SubmitOracleRequest is a paid mutator transaction binding the contract method 0xcbed450e.
Solidity: function submitOracleRequest(uint256 _reqID, bytes _data) returns(bool)
type DioneOracleTransactorRaw ¶
type DioneOracleTransactorRaw struct {
Contract *DioneOracleTransactor // Generic write-only contract binding to access the raw methods on
}
DioneOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DioneOracleTransactorRaw) Transact ¶
func (_DioneOracle *DioneOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DioneOracleTransactorRaw) Transfer ¶
func (_DioneOracle *DioneOracleTransactorRaw) 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 DioneOracleTransactorSession ¶
type DioneOracleTransactorSession struct { Contract *DioneOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DioneOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*DioneOracleTransactorSession) CancelOracleRequest ¶
func (_DioneOracle *DioneOracleTransactorSession) CancelOracleRequest(_reqID *big.Int) (*types.Transaction, error)
CancelOracleRequest is a paid mutator transaction binding the contract method 0x1d2a198a.
Solidity: function cancelOracleRequest(uint256 _reqID) returns()
func (*DioneOracleTransactorSession) RequestOracles ¶
func (_DioneOracle *DioneOracleTransactorSession) RequestOracles(_originChain uint8, _requestType string, _requestParams string, _callbackAddress common.Address, _callbackMethodID [4]byte) (*types.Transaction, error)
RequestOracles is a paid mutator transaction binding the contract method 0xe7c3712a.
Solidity: function requestOracles(uint8 _originChain, string _requestType, string _requestParams, address _callbackAddress, bytes4 _callbackMethodID) returns(uint256)
func (*DioneOracleTransactorSession) SubmitOracleRequest ¶
func (_DioneOracle *DioneOracleTransactorSession) SubmitOracleRequest(_reqID *big.Int, _data []byte) (*types.Transaction, error)
SubmitOracleRequest is a paid mutator transaction binding the contract method 0xcbed450e.
Solidity: function submitOracleRequest(uint256 _reqID, bytes _data) returns(bool)