Documentation ¶
Index ¶
- Variables
- type OCR2DRClient
- type OCR2DRClientCaller
- type OCR2DRClientCallerRaw
- type OCR2DRClientCallerSession
- type OCR2DRClientFilterer
- func (_OCR2DRClient *OCR2DRClientFilterer) FilterRequestFulfilled(opts *bind.FilterOpts, id [][32]byte) (*OCR2DRClientRequestFulfilledIterator, error)
- func (_OCR2DRClient *OCR2DRClientFilterer) FilterRequestSent(opts *bind.FilterOpts, id [][32]byte) (*OCR2DRClientRequestSentIterator, error)
- func (_OCR2DRClient *OCR2DRClientFilterer) ParseRequestFulfilled(log types.Log) (*OCR2DRClientRequestFulfilled, error)
- func (_OCR2DRClient *OCR2DRClientFilterer) ParseRequestSent(log types.Log) (*OCR2DRClientRequestSent, error)
- func (_OCR2DRClient *OCR2DRClientFilterer) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *OCR2DRClientRequestFulfilled, id [][32]byte) (event.Subscription, error)
- func (_OCR2DRClient *OCR2DRClientFilterer) WatchRequestSent(opts *bind.WatchOpts, sink chan<- *OCR2DRClientRequestSent, id [][32]byte) (event.Subscription, error)
- type OCR2DRClientInterface
- type OCR2DRClientRaw
- func (_OCR2DRClient *OCR2DRClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OCR2DRClient *OCR2DRClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OCR2DRClient *OCR2DRClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OCR2DRClientRequestFulfilled
- type OCR2DRClientRequestFulfilledIterator
- type OCR2DRClientRequestSent
- type OCR2DRClientRequestSentIterator
- type OCR2DRClientSession
- type OCR2DRClientTransactor
- type OCR2DRClientTransactorRaw
- type OCR2DRClientTransactorSession
Constants ¶
This section is empty.
Variables ¶
View Source
var OCR2DRClientABI = OCR2DRClientMetaData.ABI
View Source
var OCR2DRClientMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"RequestIsAlreadyPending\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RequestIsNotPending\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderIsNotOracle\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"RequestFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"RequestSent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getDONPublicKey\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"response\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"err\",\"type\":\"bytes\"}],\"name\":\"handleOracleFulfillment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Functions ¶
This section is empty.
Types ¶
type OCR2DRClient ¶
type OCR2DRClient struct { OCR2DRClientCaller OCR2DRClientTransactor OCR2DRClientFilterer // contains filtered or unexported fields }
func NewOCR2DRClient ¶
func NewOCR2DRClient(address common.Address, backend bind.ContractBackend) (*OCR2DRClient, error)
func (*OCR2DRClient) Address ¶
func (_OCR2DRClient *OCR2DRClient) Address() common.Address
type OCR2DRClientCaller ¶
type OCR2DRClientCaller struct {
// contains filtered or unexported fields
}
func NewOCR2DRClientCaller ¶
func NewOCR2DRClientCaller(address common.Address, caller bind.ContractCaller) (*OCR2DRClientCaller, error)
func (*OCR2DRClientCaller) GetDONPublicKey ¶
func (_OCR2DRClient *OCR2DRClientCaller) GetDONPublicKey(opts *bind.CallOpts) ([]byte, error)
type OCR2DRClientCallerRaw ¶
type OCR2DRClientCallerRaw struct {
Contract *OCR2DRClientCaller
}
type OCR2DRClientCallerSession ¶
type OCR2DRClientCallerSession struct { Contract *OCR2DRClientCaller CallOpts bind.CallOpts }
func (*OCR2DRClientCallerSession) GetDONPublicKey ¶
func (_OCR2DRClient *OCR2DRClientCallerSession) GetDONPublicKey() ([]byte, error)
type OCR2DRClientFilterer ¶
type OCR2DRClientFilterer struct {
// contains filtered or unexported fields
}
func NewOCR2DRClientFilterer ¶
func NewOCR2DRClientFilterer(address common.Address, filterer bind.ContractFilterer) (*OCR2DRClientFilterer, error)
func (*OCR2DRClientFilterer) FilterRequestFulfilled ¶
func (_OCR2DRClient *OCR2DRClientFilterer) FilterRequestFulfilled(opts *bind.FilterOpts, id [][32]byte) (*OCR2DRClientRequestFulfilledIterator, error)
func (*OCR2DRClientFilterer) FilterRequestSent ¶
func (_OCR2DRClient *OCR2DRClientFilterer) FilterRequestSent(opts *bind.FilterOpts, id [][32]byte) (*OCR2DRClientRequestSentIterator, error)
func (*OCR2DRClientFilterer) ParseRequestFulfilled ¶
func (_OCR2DRClient *OCR2DRClientFilterer) ParseRequestFulfilled(log types.Log) (*OCR2DRClientRequestFulfilled, error)
func (*OCR2DRClientFilterer) ParseRequestSent ¶
func (_OCR2DRClient *OCR2DRClientFilterer) ParseRequestSent(log types.Log) (*OCR2DRClientRequestSent, error)
func (*OCR2DRClientFilterer) WatchRequestFulfilled ¶
func (_OCR2DRClient *OCR2DRClientFilterer) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *OCR2DRClientRequestFulfilled, id [][32]byte) (event.Subscription, error)
func (*OCR2DRClientFilterer) WatchRequestSent ¶
func (_OCR2DRClient *OCR2DRClientFilterer) WatchRequestSent(opts *bind.WatchOpts, sink chan<- *OCR2DRClientRequestSent, id [][32]byte) (event.Subscription, error)
type OCR2DRClientInterface ¶
type OCR2DRClientInterface interface { GetDONPublicKey(opts *bind.CallOpts) ([]byte, error) HandleOracleFulfillment(opts *bind.TransactOpts, requestId [32]byte, response []byte, err []byte) (*types.Transaction, error) FilterRequestFulfilled(opts *bind.FilterOpts, id [][32]byte) (*OCR2DRClientRequestFulfilledIterator, error) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *OCR2DRClientRequestFulfilled, id [][32]byte) (event.Subscription, error) ParseRequestFulfilled(log types.Log) (*OCR2DRClientRequestFulfilled, error) FilterRequestSent(opts *bind.FilterOpts, id [][32]byte) (*OCR2DRClientRequestSentIterator, error) WatchRequestSent(opts *bind.WatchOpts, sink chan<- *OCR2DRClientRequestSent, id [][32]byte) (event.Subscription, error) ParseRequestSent(log types.Log) (*OCR2DRClientRequestSent, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type OCR2DRClientRaw ¶
type OCR2DRClientRaw struct {
Contract *OCR2DRClient
}
func (*OCR2DRClientRaw) Call ¶
func (_OCR2DRClient *OCR2DRClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*OCR2DRClientRaw) Transact ¶
func (_OCR2DRClient *OCR2DRClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*OCR2DRClientRaw) Transfer ¶
func (_OCR2DRClient *OCR2DRClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type OCR2DRClientRequestFulfilled ¶
func (OCR2DRClientRequestFulfilled) Topic ¶
func (OCR2DRClientRequestFulfilled) Topic() common.Hash
type OCR2DRClientRequestFulfilledIterator ¶
type OCR2DRClientRequestFulfilledIterator struct { Event *OCR2DRClientRequestFulfilled // contains filtered or unexported fields }
func (*OCR2DRClientRequestFulfilledIterator) Close ¶
func (it *OCR2DRClientRequestFulfilledIterator) Close() error
func (*OCR2DRClientRequestFulfilledIterator) Error ¶
func (it *OCR2DRClientRequestFulfilledIterator) Error() error
func (*OCR2DRClientRequestFulfilledIterator) Next ¶
func (it *OCR2DRClientRequestFulfilledIterator) Next() bool
type OCR2DRClientRequestSent ¶
func (OCR2DRClientRequestSent) Topic ¶
func (OCR2DRClientRequestSent) Topic() common.Hash
type OCR2DRClientRequestSentIterator ¶
type OCR2DRClientRequestSentIterator struct { Event *OCR2DRClientRequestSent // contains filtered or unexported fields }
func (*OCR2DRClientRequestSentIterator) Close ¶
func (it *OCR2DRClientRequestSentIterator) Close() error
func (*OCR2DRClientRequestSentIterator) Error ¶
func (it *OCR2DRClientRequestSentIterator) Error() error
func (*OCR2DRClientRequestSentIterator) Next ¶
func (it *OCR2DRClientRequestSentIterator) Next() bool
type OCR2DRClientSession ¶
type OCR2DRClientSession struct { Contract *OCR2DRClient CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*OCR2DRClientSession) GetDONPublicKey ¶
func (_OCR2DRClient *OCR2DRClientSession) GetDONPublicKey() ([]byte, error)
func (*OCR2DRClientSession) HandleOracleFulfillment ¶
func (_OCR2DRClient *OCR2DRClientSession) HandleOracleFulfillment(requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)
type OCR2DRClientTransactor ¶
type OCR2DRClientTransactor struct {
// contains filtered or unexported fields
}
func NewOCR2DRClientTransactor ¶
func NewOCR2DRClientTransactor(address common.Address, transactor bind.ContractTransactor) (*OCR2DRClientTransactor, error)
func (*OCR2DRClientTransactor) HandleOracleFulfillment ¶
func (_OCR2DRClient *OCR2DRClientTransactor) HandleOracleFulfillment(opts *bind.TransactOpts, requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)
type OCR2DRClientTransactorRaw ¶
type OCR2DRClientTransactorRaw struct {
Contract *OCR2DRClientTransactor
}
func (*OCR2DRClientTransactorRaw) Transact ¶
func (_OCR2DRClient *OCR2DRClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*OCR2DRClientTransactorRaw) Transfer ¶
func (_OCR2DRClient *OCR2DRClientTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type OCR2DRClientTransactorSession ¶
type OCR2DRClientTransactorSession struct { Contract *OCR2DRClientTransactor TransactOpts bind.TransactOpts }
func (*OCR2DRClientTransactorSession) HandleOracleFulfillment ¶
func (_OCR2DRClient *OCR2DRClientTransactorSession) HandleOracleFulfillment(requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.