Documentation ¶
Index ¶
- Constants
- Variables
- type Oracle
- type OracleCaller
- func (_Oracle *OracleCaller) EXPIRYTIME(opts *bind.CallOpts) (*big.Int, error)
- func (_Oracle *OracleCaller) GetAdamoracleToken(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) GetAuthorizationStatus(opts *bind.CallOpts, _node common.Address) (bool, 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
- type OracleCallerSession
- func (_Oracle *OracleCallerSession) EXPIRYTIME() (*big.Int, error)
- func (_Oracle *OracleCallerSession) GetAdamoracleToken() (common.Address, error)
- func (_Oracle *OracleCallerSession) GetAuthorizationStatus(_node common.Address) (bool, error)
- func (_Oracle *OracleCallerSession) IsOwner() (bool, error)
- func (_Oracle *OracleCallerSession) Owner() (common.Address, error)
- func (_Oracle *OracleCallerSession) Withdrawable() (*big.Int, error)
- type OracleCancelOracleRequest
- type OracleCancelOracleRequestIterator
- type OracleFilterer
- 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
- type OracleOracleRequest
- type OracleOracleRequestIterator
- type OracleOwnershipTransferred
- type OracleOwnershipTransferredIterator
- type OracleRaw
- 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
- 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) GetAdamoracleToken() (common.Address, error)
- func (_Oracle *OracleSession) GetAuthorizationStatus(_node common.Address) (bool, 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
- 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
- type OracleTransactorSession
- 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)
Constants ¶
View Source
const OracleABI = "" /* 5448-byte string literal not displayed */
Variables ¶
View Source
var OracleBin = "" /* 12964-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type Oracle ¶
type Oracle struct { OracleCaller OracleTransactor OracleFilterer // contains filtered or unexported fields }
func DeployOracle ¶
func DeployOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _link common.Address) (common.Address, *types.Transaction, *Oracle, error)
type OracleCaller ¶
type OracleCaller struct {
// contains filtered or unexported fields
}
func NewOracleCaller ¶
func NewOracleCaller(address common.Address, caller bind.ContractCaller) (*OracleCaller, error)
func (*OracleCaller) EXPIRYTIME ¶
func (*OracleCaller) GetAdamoracleToken ¶
func (*OracleCaller) GetAuthorizationStatus ¶
func (*OracleCaller) IsOwner ¶
func (_Oracle *OracleCaller) IsOwner(opts *bind.CallOpts) (bool, error)
func (*OracleCaller) Withdrawable ¶
type OracleCallerRaw ¶
type OracleCallerRaw struct {
Contract *OracleCaller
}
type OracleCallerSession ¶
type OracleCallerSession struct { Contract *OracleCaller CallOpts bind.CallOpts }
func (*OracleCallerSession) EXPIRYTIME ¶
func (_Oracle *OracleCallerSession) EXPIRYTIME() (*big.Int, error)
func (*OracleCallerSession) GetAdamoracleToken ¶
func (_Oracle *OracleCallerSession) GetAdamoracleToken() (common.Address, error)
func (*OracleCallerSession) GetAuthorizationStatus ¶
func (_Oracle *OracleCallerSession) GetAuthorizationStatus(_node common.Address) (bool, error)
func (*OracleCallerSession) IsOwner ¶
func (_Oracle *OracleCallerSession) IsOwner() (bool, error)
func (*OracleCallerSession) Owner ¶
func (_Oracle *OracleCallerSession) Owner() (common.Address, error)
func (*OracleCallerSession) Withdrawable ¶
func (_Oracle *OracleCallerSession) Withdrawable() (*big.Int, error)
type OracleCancelOracleRequest ¶
func (OracleCancelOracleRequest) Topic ¶
func (OracleCancelOracleRequest) Topic() common.Hash
type OracleCancelOracleRequestIterator ¶
type OracleCancelOracleRequestIterator struct { Event *OracleCancelOracleRequest // contains filtered or unexported fields }
func (*OracleCancelOracleRequestIterator) Close ¶
func (it *OracleCancelOracleRequestIterator) Close() error
func (*OracleCancelOracleRequestIterator) Error ¶
func (it *OracleCancelOracleRequestIterator) Error() error
func (*OracleCancelOracleRequestIterator) Next ¶
func (it *OracleCancelOracleRequestIterator) Next() bool
type OracleFilterer ¶
type OracleFilterer struct {
// contains filtered or unexported fields
}
func NewOracleFilterer ¶
func NewOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleFilterer, error)
func (*OracleFilterer) FilterCancelOracleRequest ¶
func (_Oracle *OracleFilterer) FilterCancelOracleRequest(opts *bind.FilterOpts, requestId [][32]byte) (*OracleCancelOracleRequestIterator, error)
func (*OracleFilterer) FilterOracleRequest ¶
func (_Oracle *OracleFilterer) FilterOracleRequest(opts *bind.FilterOpts, specId [][32]byte) (*OracleOracleRequestIterator, error)
func (*OracleFilterer) FilterOwnershipTransferred ¶
func (_Oracle *OracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OracleOwnershipTransferredIterator, error)
func (*OracleFilterer) ParseCancelOracleRequest ¶
func (_Oracle *OracleFilterer) ParseCancelOracleRequest(log types.Log) (*OracleCancelOracleRequest, error)
func (*OracleFilterer) ParseOracleRequest ¶
func (_Oracle *OracleFilterer) ParseOracleRequest(log types.Log) (*OracleOracleRequest, error)
func (*OracleFilterer) ParseOwnershipTransferred ¶
func (_Oracle *OracleFilterer) ParseOwnershipTransferred(log types.Log) (*OracleOwnershipTransferred, error)
func (*OracleFilterer) WatchCancelOracleRequest ¶
func (_Oracle *OracleFilterer) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *OracleCancelOracleRequest, requestId [][32]byte) (event.Subscription, error)
func (*OracleFilterer) WatchOracleRequest ¶
func (_Oracle *OracleFilterer) WatchOracleRequest(opts *bind.WatchOpts, sink chan<- *OracleOracleRequest, specId [][32]byte) (event.Subscription, error)
func (*OracleFilterer) WatchOwnershipTransferred ¶
func (_Oracle *OracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
type OracleInterface ¶
type OracleInterface interface { EXPIRYTIME(opts *bind.CallOpts) (*big.Int, error) GetAuthorizationStatus(opts *bind.CallOpts, _node common.Address) (bool, error) GetAdamoracleToken(opts *bind.CallOpts) (common.Address, error) IsOwner(opts *bind.CallOpts) (bool, error) Owner(opts *bind.CallOpts) (common.Address, error) Withdrawable(opts *bind.CallOpts) (*big.Int, error) CancelOracleRequest(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, _callbackFunc [4]byte, _expiration *big.Int) (*types.Transaction, error) 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) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error) 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) SetFulfillmentPermission(opts *bind.TransactOpts, _node common.Address, _allowed bool) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) FilterCancelOracleRequest(opts *bind.FilterOpts, requestId [][32]byte) (*OracleCancelOracleRequestIterator, error) WatchCancelOracleRequest(opts *bind.WatchOpts, sink chan<- *OracleCancelOracleRequest, requestId [][32]byte) (event.Subscription, error) ParseCancelOracleRequest(log types.Log) (*OracleCancelOracleRequest, error) FilterOracleRequest(opts *bind.FilterOpts, specId [][32]byte) (*OracleOracleRequestIterator, error) WatchOracleRequest(opts *bind.WatchOpts, sink chan<- *OracleOracleRequest, specId [][32]byte) (event.Subscription, error) ParseOracleRequest(log types.Log) (*OracleOracleRequest, error) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OracleOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*OracleOwnershipTransferred, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type OracleOracleRequest ¶
type OracleOracleRequest 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 }
func (OracleOracleRequest) Topic ¶
func (OracleOracleRequest) Topic() common.Hash
type OracleOracleRequestIterator ¶
type OracleOracleRequestIterator struct { Event *OracleOracleRequest // contains filtered or unexported fields }
func (*OracleOracleRequestIterator) Close ¶
func (it *OracleOracleRequestIterator) Close() error
func (*OracleOracleRequestIterator) Error ¶
func (it *OracleOracleRequestIterator) Error() error
func (*OracleOracleRequestIterator) Next ¶
func (it *OracleOracleRequestIterator) Next() bool
type OracleOwnershipTransferred ¶
type OracleOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log }
func (OracleOwnershipTransferred) Topic ¶
func (OracleOwnershipTransferred) Topic() common.Hash
type OracleOwnershipTransferredIterator ¶
type OracleOwnershipTransferredIterator struct { Event *OracleOwnershipTransferred // contains filtered or unexported fields }
func (*OracleOwnershipTransferredIterator) Close ¶
func (it *OracleOwnershipTransferredIterator) Close() error
func (*OracleOwnershipTransferredIterator) Error ¶
func (it *OracleOwnershipTransferredIterator) Error() error
func (*OracleOwnershipTransferredIterator) Next ¶
func (it *OracleOwnershipTransferredIterator) Next() bool
type OracleRaw ¶
type OracleRaw struct {
Contract *Oracle
}
func (*OracleRaw) Transact ¶
func (_Oracle *OracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*OracleRaw) Transfer ¶
func (_Oracle *OracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type OracleSession ¶
type OracleSession struct { Contract *Oracle CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*OracleSession) CancelOracleRequest ¶
func (_Oracle *OracleSession) CancelOracleRequest(_requestId [32]byte, _payment *big.Int, _callbackFunc [4]byte, _expiration *big.Int) (*types.Transaction, error)
func (*OracleSession) EXPIRYTIME ¶
func (_Oracle *OracleSession) EXPIRYTIME() (*big.Int, error)
func (*OracleSession) FulfillOracleRequest ¶
func (*OracleSession) GetAdamoracleToken ¶
func (_Oracle *OracleSession) GetAdamoracleToken() (common.Address, error)
func (*OracleSession) GetAuthorizationStatus ¶
func (_Oracle *OracleSession) GetAuthorizationStatus(_node common.Address) (bool, error)
func (*OracleSession) IsOwner ¶
func (_Oracle *OracleSession) IsOwner() (bool, error)
func (*OracleSession) OnTokenTransfer ¶
func (_Oracle *OracleSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
func (*OracleSession) OracleRequest ¶
func (*OracleSession) SetFulfillmentPermission ¶
func (_Oracle *OracleSession) SetFulfillmentPermission(_node common.Address, _allowed bool) (*types.Transaction, error)
func (*OracleSession) TransferOwnership ¶
func (_Oracle *OracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
func (*OracleSession) Withdraw ¶
func (_Oracle *OracleSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
func (*OracleSession) Withdrawable ¶
func (_Oracle *OracleSession) Withdrawable() (*big.Int, error)
type OracleTransactor ¶
type OracleTransactor struct {
// contains filtered or unexported fields
}
func NewOracleTransactor ¶
func NewOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleTransactor, error)
func (*OracleTransactor) CancelOracleRequest ¶
func (_Oracle *OracleTransactor) CancelOracleRequest(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, _callbackFunc [4]byte, _expiration *big.Int) (*types.Transaction, error)
func (*OracleTransactor) FulfillOracleRequest ¶
func (_Oracle *OracleTransactor) 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)
func (*OracleTransactor) OnTokenTransfer ¶
func (_Oracle *OracleTransactor) OnTokenTransfer(opts *bind.TransactOpts, _sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
func (*OracleTransactor) OracleRequest ¶
func (*OracleTransactor) SetFulfillmentPermission ¶
func (_Oracle *OracleTransactor) SetFulfillmentPermission(opts *bind.TransactOpts, _node common.Address, _allowed bool) (*types.Transaction, error)
func (*OracleTransactor) TransferOwnership ¶
func (_Oracle *OracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
func (*OracleTransactor) Withdraw ¶
func (_Oracle *OracleTransactor) Withdraw(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
type OracleTransactorRaw ¶
type OracleTransactorRaw struct {
Contract *OracleTransactor
}
func (*OracleTransactorRaw) Transact ¶
func (_Oracle *OracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*OracleTransactorRaw) Transfer ¶
func (_Oracle *OracleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type OracleTransactorSession ¶
type OracleTransactorSession struct { Contract *OracleTransactor TransactOpts bind.TransactOpts }
func (*OracleTransactorSession) CancelOracleRequest ¶
func (_Oracle *OracleTransactorSession) CancelOracleRequest(_requestId [32]byte, _payment *big.Int, _callbackFunc [4]byte, _expiration *big.Int) (*types.Transaction, error)
func (*OracleTransactorSession) FulfillOracleRequest ¶
func (*OracleTransactorSession) OnTokenTransfer ¶
func (_Oracle *OracleTransactorSession) OnTokenTransfer(_sender common.Address, _amount *big.Int, _data []byte) (*types.Transaction, error)
func (*OracleTransactorSession) OracleRequest ¶
func (*OracleTransactorSession) SetFulfillmentPermission ¶
func (_Oracle *OracleTransactorSession) SetFulfillmentPermission(_node common.Address, _allowed bool) (*types.Transaction, error)
func (*OracleTransactorSession) TransferOwnership ¶
func (_Oracle *OracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
func (*OracleTransactorSession) Withdraw ¶
func (_Oracle *OracleTransactorSession) Withdraw(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.