functions_client

package
v2.7.1-zksync-20231116 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FunctionsClientABI = FunctionsClientMetaData.ABI
View Source
var FunctionsClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"OnlyRouterCanFulfill\",\"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\":[{\"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 FunctionsClient

type FunctionsClient struct {
	FunctionsClientCaller
	FunctionsClientTransactor
	FunctionsClientFilterer
	// contains filtered or unexported fields
}

func NewFunctionsClient

func NewFunctionsClient(address common.Address, backend bind.ContractBackend) (*FunctionsClient, error)

func (*FunctionsClient) Address

func (_FunctionsClient *FunctionsClient) Address() common.Address

func (*FunctionsClient) ParseLog

func (_FunctionsClient *FunctionsClient) ParseLog(log types.Log) (generated.AbigenLog, error)

type FunctionsClientCaller

type FunctionsClientCaller struct {
	// contains filtered or unexported fields
}

func NewFunctionsClientCaller

func NewFunctionsClientCaller(address common.Address, caller bind.ContractCaller) (*FunctionsClientCaller, error)

type FunctionsClientCallerRaw

type FunctionsClientCallerRaw struct {
	Contract *FunctionsClientCaller
}

func (*FunctionsClientCallerRaw) Call

func (_FunctionsClient *FunctionsClientCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type FunctionsClientCallerSession

type FunctionsClientCallerSession struct {
	Contract *FunctionsClientCaller
	CallOpts bind.CallOpts
}

type FunctionsClientFilterer

type FunctionsClientFilterer struct {
	// contains filtered or unexported fields
}

func NewFunctionsClientFilterer

func NewFunctionsClientFilterer(address common.Address, filterer bind.ContractFilterer) (*FunctionsClientFilterer, error)

func (*FunctionsClientFilterer) FilterRequestFulfilled

func (_FunctionsClient *FunctionsClientFilterer) FilterRequestFulfilled(opts *bind.FilterOpts, id [][32]byte) (*FunctionsClientRequestFulfilledIterator, error)

func (*FunctionsClientFilterer) FilterRequestSent

func (_FunctionsClient *FunctionsClientFilterer) FilterRequestSent(opts *bind.FilterOpts, id [][32]byte) (*FunctionsClientRequestSentIterator, error)

func (*FunctionsClientFilterer) ParseRequestFulfilled

func (_FunctionsClient *FunctionsClientFilterer) ParseRequestFulfilled(log types.Log) (*FunctionsClientRequestFulfilled, error)

func (*FunctionsClientFilterer) ParseRequestSent

func (_FunctionsClient *FunctionsClientFilterer) ParseRequestSent(log types.Log) (*FunctionsClientRequestSent, error)

func (*FunctionsClientFilterer) WatchRequestFulfilled

func (_FunctionsClient *FunctionsClientFilterer) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *FunctionsClientRequestFulfilled, id [][32]byte) (event.Subscription, error)

func (*FunctionsClientFilterer) WatchRequestSent

func (_FunctionsClient *FunctionsClientFilterer) WatchRequestSent(opts *bind.WatchOpts, sink chan<- *FunctionsClientRequestSent, id [][32]byte) (event.Subscription, error)

type FunctionsClientInterface

type FunctionsClientInterface interface {
	HandleOracleFulfillment(opts *bind.TransactOpts, requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)

	FilterRequestFulfilled(opts *bind.FilterOpts, id [][32]byte) (*FunctionsClientRequestFulfilledIterator, error)

	WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *FunctionsClientRequestFulfilled, id [][32]byte) (event.Subscription, error)

	ParseRequestFulfilled(log types.Log) (*FunctionsClientRequestFulfilled, error)

	FilterRequestSent(opts *bind.FilterOpts, id [][32]byte) (*FunctionsClientRequestSentIterator, error)

	WatchRequestSent(opts *bind.WatchOpts, sink chan<- *FunctionsClientRequestSent, id [][32]byte) (event.Subscription, error)

	ParseRequestSent(log types.Log) (*FunctionsClientRequestSent, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type FunctionsClientRaw

type FunctionsClientRaw struct {
	Contract *FunctionsClient
}

func (*FunctionsClientRaw) Call

func (_FunctionsClient *FunctionsClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*FunctionsClientRaw) Transact

func (_FunctionsClient *FunctionsClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*FunctionsClientRaw) Transfer

func (_FunctionsClient *FunctionsClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type FunctionsClientRequestFulfilled

type FunctionsClientRequestFulfilled struct {
	Id  [32]byte
	Raw types.Log
}

func (FunctionsClientRequestFulfilled) Topic

type FunctionsClientRequestFulfilledIterator

type FunctionsClientRequestFulfilledIterator struct {
	Event *FunctionsClientRequestFulfilled
	// contains filtered or unexported fields
}

func (*FunctionsClientRequestFulfilledIterator) Close

func (*FunctionsClientRequestFulfilledIterator) Error

func (*FunctionsClientRequestFulfilledIterator) Next

type FunctionsClientRequestSent

type FunctionsClientRequestSent struct {
	Id  [32]byte
	Raw types.Log
}

func (FunctionsClientRequestSent) Topic

type FunctionsClientRequestSentIterator

type FunctionsClientRequestSentIterator struct {
	Event *FunctionsClientRequestSent
	// contains filtered or unexported fields
}

func (*FunctionsClientRequestSentIterator) Close

func (*FunctionsClientRequestSentIterator) Error

func (*FunctionsClientRequestSentIterator) Next

type FunctionsClientSession

type FunctionsClientSession struct {
	Contract     *FunctionsClient
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*FunctionsClientSession) HandleOracleFulfillment

func (_FunctionsClient *FunctionsClientSession) HandleOracleFulfillment(requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)

type FunctionsClientTransactor

type FunctionsClientTransactor struct {
	// contains filtered or unexported fields
}

func NewFunctionsClientTransactor

func NewFunctionsClientTransactor(address common.Address, transactor bind.ContractTransactor) (*FunctionsClientTransactor, error)

func (*FunctionsClientTransactor) HandleOracleFulfillment

func (_FunctionsClient *FunctionsClientTransactor) HandleOracleFulfillment(opts *bind.TransactOpts, requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)

type FunctionsClientTransactorRaw

type FunctionsClientTransactorRaw struct {
	Contract *FunctionsClientTransactor
}

func (*FunctionsClientTransactorRaw) Transact

func (_FunctionsClient *FunctionsClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

func (*FunctionsClientTransactorRaw) Transfer

func (_FunctionsClient *FunctionsClientTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type FunctionsClientTransactorSession

type FunctionsClientTransactorSession struct {
	Contract     *FunctionsClientTransactor
	TransactOpts bind.TransactOpts
}

func (*FunctionsClientTransactorSession) HandleOracleFulfillment

func (_FunctionsClient *FunctionsClientTransactorSession) HandleOracleFulfillment(requestId [32]byte, response []byte, err []byte) (*types.Transaction, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL