functions_client_example

package
v2.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FunctionsClientExampleABI = FunctionsClientExampleMetaData.ABI
View Source
var FunctionsClientExampleBin = FunctionsClientExampleMetaData.Bin
View Source
var FunctionsClientExampleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"EmptyArgs\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptySecrets\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptySource\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoInlineSecrets\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyRouterCanFufill\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"UnexpectedRequestID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"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\":\"MAX_CALLBACK_GAS\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"},{\"inputs\":[],\"name\":\"lastError\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastErrorLength\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRequestId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastResponse\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastResponseLength\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"source\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"encryptedSecretsReferences\",\"type\":\"bytes\"},{\"internalType\":\"string[]\",\"name\":\"args\",\"type\":\"string[]\"},{\"internalType\":\"uint64\",\"name\":\"subscriptionId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"jobId\",\"type\":\"bytes32\"}],\"name\":\"sendRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b5060405162001a3038038062001a30833981016040819052620000349162000199565b600080546001600160a01b0319166001600160a01b038316178155339081906001600160a01b038216620000af5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420736574206f776e657220746f207a65726f000000000000000060448201526064015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0384811691909117909155811615620000e257620000e281620000ec565b50505050620001cb565b6001600160a01b038116331415620001475760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401620000a6565b600280546001600160a01b0319166001600160a01b03838116918217909255600154604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600060208284031215620001ac57600080fd5b81516001600160a01b0381168114620001c457600080fd5b9392505050565b61185580620001db6000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80636d9809a011610081578063b48cffea1161005b578063b48cffea14610182578063f2fde38b14610192578063fc2a88c3146101a557600080fd5b80636d9809a01461014857806379ba5097146101525780638da5cb5b1461015a57600080fd5b80632c29166b116100b25780632c29166b146100ff5780635fa353e71461012c57806362747e421461013f57600080fd5b80630ca76175146100ce57806329f0de3f146100e3575b600080fd5b6100e16100dc36600461129e565b6101ae565b005b6100ec60055481565b6040519081526020015b60405180910390f35b60065461011790640100000000900463ffffffff1681565b60405163ffffffff90911681526020016100f6565b6100e161013a36600461130b565b61020f565b6100ec60045481565b6101176201117081565b6100e1610319565b60015460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6006546101179063ffffffff1681565b6100e16101a036600461124f565b61041f565b6100ec60035481565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101ff576040517f5099014100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61020a838383610433565b505050565b610217610501565b6102586040805160e0810190915280600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b61029a89898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506105849050565b85156102e2576102e287878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525085939250506105959050565b83156102fc576102fc6102f58587611679565b82906105dc565b61030b8184620111708561061c565b600355505050505050505050565b60025473ffffffffffffffffffffffffffffffffffffffff16331461039f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652070726f706f736564206f776e65720000000000000000000060448201526064015b60405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000008082163390811790935560028054909116905560405173ffffffffffffffffffffffffffffffffffffffff909116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b610427610501565b61043081610640565b50565b8260035414610471576040517fd068bf5b00000000000000000000000000000000000000000000000000000000815260048101849052602401610396565b61047a82610737565b6004558151600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff9092169190911790556104bc81610737565b600555516006805463ffffffff909216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff9092169190911790555050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4f6e6c792063616c6c61626c65206279206f776e6572000000000000000000006044820152606401610396565b565b61059182600080846107bf565b5050565b80516105cd576040517fe889636f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016020830152608090910152565b8051610614576040517ffe936cb700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60a090910152565b60008061062886610853565b905061063681868686610bc5565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff81163314156106c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616e6e6f74207472616e7366657220746f2073656c660000000000000000006044820152606401610396565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff838116918217909255600154604051919216907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b60008060006020905060208451101561074e575082515b60005b818110156107b657610764816008611625565b858281518110610776576107766117ea565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c9290921791806107ae81611718565b915050610751565b50909392505050565b80516107f7576040517f22ce3edd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8383600281111561080a5761080a6117bb565b9081600281111561081d5761081d6117bb565b90525060408401828015610833576108336117bb565b90818015610843576108436117bb565b9052506060909301929092525050565b606061085d61111e565b805161086b90610100610cad565b506108ab816040518060400160405280600c81526020017f636f64654c6f636174696f6e0000000000000000000000000000000000000000815250610d27565b6108ca81846000015160028111156108c5576108c56117bb565b610d40565b610909816040518060400160405280600881526020017f6c616e6775616765000000000000000000000000000000000000000000000000815250610d27565b61092381846040015160008111156108c5576108c56117bb565b610962816040518060400160405280600681526020017f736f757263650000000000000000000000000000000000000000000000000000815250610d27565b610970818460600151610d27565b60a08301515115610a16576109ba816040518060400160405280600481526020017f6172677300000000000000000000000000000000000000000000000000000000815250610d27565b6109c381610d79565b60005b8360a0015151811015610a0c576109fa828560a0015183815181106109ed576109ed6117ea565b6020026020010151610d27565b80610a0481611718565b9150506109c6565b50610a1681610d9d565b60808301515115610b1757600083602001516002811115610a3957610a396117bb565b1415610a71576040517fa80d31f700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ab0816040518060400160405280600f81526020017f736563726574734c6f636174696f6e0000000000000000000000000000000000815250610d27565b610aca81846020015160028111156108c5576108c56117bb565b610b09816040518060400160405280600781526020017f7365637265747300000000000000000000000000000000000000000000000000815250610d27565b610b17818460800151610dbb565b60c08301515115610bbd57610b61816040518060400160405280600981526020017f6279746573417267730000000000000000000000000000000000000000000000815250610d27565b610b6a81610d79565b60005b8360c0015151811015610bb357610ba1828560c001518381518110610b9457610b946117ea565b6020026020010151610dbb565b80610bab81611718565b915050610b6d565b50610bbd81610d9d565b515192915050565b600080546040517f461d276200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063461d276290610c259087908990600190899089906004016113ef565b602060405180830381600087803b158015610c3f57600080fd5b505af1158015610c53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c779190611285565b60405190915081907f1131472297a800fee664d1d89cfa8f7676ff07189ecc53f80bbb5f4969099db890600090a2949350505050565b604080518082019091526060815260006020820152610ccd602083611751565b15610cf557610cdd602083611751565b610ce8906020611662565b610cf290836114e6565b91505b602080840183905260405180855260008152908184010181811015610d1957600080fd5b604052508290505b92915050565b610d348260038351610dc4565b815161020a9082610eeb565b8151610d4d9060c2610f13565b506105918282604051602001610d6591815260200190565b604051602081830303815290604052610dbb565b610d84816004610f7c565b600181602001818151610d9791906114e6565b90525050565b610da8816007610f7c565b600181602001818151610d979190611662565b610d3482600283515b60178167ffffffffffffffff1611610df1578251610deb9060e0600585901b168317610f13565b50505050565b60ff8167ffffffffffffffff1611610e33578251610e1a906018611fe0600586901b1617610f13565b508251610deb9067ffffffffffffffff83166001610f93565b61ffff8167ffffffffffffffff1611610e76578251610e5d906019611fe0600586901b1617610f13565b508251610deb9067ffffffffffffffff83166002610f93565b63ffffffff8167ffffffffffffffff1611610ebb578251610ea290601a611fe0600586901b1617610f13565b508251610deb9067ffffffffffffffff83166004610f93565b8251610ed290601b611fe0600586901b1617610f13565b508251610deb9067ffffffffffffffff83166008610f93565b604080518082019091526060815260006020820152610f0c83838451611018565b9392505050565b6040805180820190915260608152600060208201528251516000610f388260016114e6565b905084602001518210610f5957610f5985610f54836002611625565b611107565b8451602083820101858153508051821115610f72578181525b5093949350505050565b815161020a90601f611fe0600585901b1617610f13565b6040805180820190915260608152600060208201528351516000610fb782856114e6565b90508560200151811115610fd457610fd486610f54836002611625565b60006001610fe48661010061155f565b610fee9190611662565b9050865182810187831982511617815250805183111561100c578281525b50959695505050505050565b604080518082019091526060815260006020820152825182111561103b57600080fd5b835151600061104a84836114e6565b905085602001518111156110675761106786610f54836002611625565b855180518382016020019160009180851115611081578482525b505050602086015b602086106110c157805182526110a06020836114e6565b91506110ad6020826114e6565b90506110ba602087611662565b9550611089565b5181517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60208890036101000a0190811690199190911617905250849150509392505050565b81516111138383610cad565b50610deb8382610eeb565b6040518060400160405280611146604051806040016040528060608152602001600081525090565b8152602001600081525090565b600067ffffffffffffffff83111561116d5761116d611819565b61119e60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601611497565b90508281528383830111156111b257600080fd5b828260208301376000602084830101529392505050565b60008083601f8401126111db57600080fd5b50813567ffffffffffffffff8111156111f357600080fd5b60208301915083602082850101111561120b57600080fd5b9250929050565b600082601f83011261122357600080fd5b610f0c83833560208501611153565b803567ffffffffffffffff8116811461124a57600080fd5b919050565b60006020828403121561126157600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610f0c57600080fd5b60006020828403121561129757600080fd5b5051919050565b6000806000606084860312156112b357600080fd5b83359250602084013567ffffffffffffffff808211156112d257600080fd5b6112de87838801611212565b935060408601359150808211156112f457600080fd5b5061130186828701611212565b9150509250925092565b60008060008060008060008060a0898b03121561132757600080fd5b883567ffffffffffffffff8082111561133f57600080fd5b61134b8c838d016111c9565b909a50985060208b013591508082111561136457600080fd5b6113708c838d016111c9565b909850965060408b013591508082111561138957600080fd5b818b0191508b601f83011261139d57600080fd5b8135818111156113ac57600080fd5b8c60208260051b85010111156113c157600080fd5b6020830196508095505050506113d960608a01611232565b9150608089013590509295985092959890939650565b67ffffffffffffffff861681526000602060a08184015286518060a085015260005b8181101561142d5788810183015185820160c001528201611411565b8181111561143f57600060c083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016830160c001915061147e9050604083018661ffff169052565b63ffffffff939093166060820152608001529392505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156114de576114de611819565b604052919050565b600082198211156114f9576114f961178c565b500190565b600181815b8085111561155757817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561153d5761153d61178c565b8085161561154a57918102915b93841c9390800290611503565b509250929050565b6000610f0c838360008261157557506001610d21565b8161158257506000610d21565b816001811461159857600281146115a2576115be565b6001915050610d21565b60ff8411156115b3576115b361178c565b50506001821b610d21565b5060208310610133831016604e8410600b84101617156115e1575081810a610d21565b6115eb83836114fe565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111561161d5761161d61178c565b029392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561165d5761165d61178c565b500290565b6000828210156116745761167461178c565b500390565b600067ffffffffffffffff8084111561169457611694611819565b8360051b60206116a5818301611497565b86815281810190863685820111156116bc57600080fd5b600094505b8885101561170c578035868111156116d857600080fd5b880136601f8201126116e957600080fd5b6116f7368235878401611153565b845250600194909401939183019183016116c1565b50979650505050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561174a5761174a61178c565b5060010190565b600082611787577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea164736f6c6343000806000a",
}

Functions

This section is empty.

Types

type FunctionsClientExample

type FunctionsClientExample struct {
	FunctionsClientExampleCaller
	FunctionsClientExampleTransactor
	FunctionsClientExampleFilterer
	// contains filtered or unexported fields
}

func NewFunctionsClientExample

func NewFunctionsClientExample(address common.Address, backend bind.ContractBackend) (*FunctionsClientExample, error)

func (*FunctionsClientExample) Address

func (_FunctionsClientExample *FunctionsClientExample) Address() common.Address

func (*FunctionsClientExample) ParseLog

func (_FunctionsClientExample *FunctionsClientExample) ParseLog(log types.Log) (generated.AbigenLog, error)

type FunctionsClientExampleCaller

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

func NewFunctionsClientExampleCaller

func NewFunctionsClientExampleCaller(address common.Address, caller bind.ContractCaller) (*FunctionsClientExampleCaller, error)

func (*FunctionsClientExampleCaller) LastError

func (_FunctionsClientExample *FunctionsClientExampleCaller) LastError(opts *bind.CallOpts) ([32]byte, error)

func (*FunctionsClientExampleCaller) LastErrorLength

func (_FunctionsClientExample *FunctionsClientExampleCaller) LastErrorLength(opts *bind.CallOpts) (uint32, error)

func (*FunctionsClientExampleCaller) LastRequestId

func (_FunctionsClientExample *FunctionsClientExampleCaller) LastRequestId(opts *bind.CallOpts) ([32]byte, error)

func (*FunctionsClientExampleCaller) LastResponse

func (_FunctionsClientExample *FunctionsClientExampleCaller) LastResponse(opts *bind.CallOpts) ([32]byte, error)

func (*FunctionsClientExampleCaller) LastResponseLength

func (_FunctionsClientExample *FunctionsClientExampleCaller) LastResponseLength(opts *bind.CallOpts) (uint32, error)

func (*FunctionsClientExampleCaller) MAXCALLBACKGAS

func (_FunctionsClientExample *FunctionsClientExampleCaller) MAXCALLBACKGAS(opts *bind.CallOpts) (uint32, error)

func (*FunctionsClientExampleCaller) Owner

func (_FunctionsClientExample *FunctionsClientExampleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

type FunctionsClientExampleCallerRaw

type FunctionsClientExampleCallerRaw struct {
	Contract *FunctionsClientExampleCaller
}

func (*FunctionsClientExampleCallerRaw) Call

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

type FunctionsClientExampleCallerSession

type FunctionsClientExampleCallerSession struct {
	Contract *FunctionsClientExampleCaller
	CallOpts bind.CallOpts
}

func (*FunctionsClientExampleCallerSession) LastError

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) LastError() ([32]byte, error)

func (*FunctionsClientExampleCallerSession) LastErrorLength

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) LastErrorLength() (uint32, error)

func (*FunctionsClientExampleCallerSession) LastRequestId

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) LastRequestId() ([32]byte, error)

func (*FunctionsClientExampleCallerSession) LastResponse

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) LastResponse() ([32]byte, error)

func (*FunctionsClientExampleCallerSession) LastResponseLength

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) LastResponseLength() (uint32, error)

func (*FunctionsClientExampleCallerSession) MAXCALLBACKGAS

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) MAXCALLBACKGAS() (uint32, error)

func (*FunctionsClientExampleCallerSession) Owner

func (_FunctionsClientExample *FunctionsClientExampleCallerSession) Owner() (common.Address, error)

type FunctionsClientExampleFilterer

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

func NewFunctionsClientExampleFilterer

func NewFunctionsClientExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*FunctionsClientExampleFilterer, error)

func (*FunctionsClientExampleFilterer) FilterOwnershipTransferRequested

func (_FunctionsClientExample *FunctionsClientExampleFilterer) FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FunctionsClientExampleOwnershipTransferRequestedIterator, error)

func (*FunctionsClientExampleFilterer) FilterOwnershipTransferred

func (_FunctionsClientExample *FunctionsClientExampleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FunctionsClientExampleOwnershipTransferredIterator, error)

func (*FunctionsClientExampleFilterer) FilterRequestFulfilled

func (_FunctionsClientExample *FunctionsClientExampleFilterer) FilterRequestFulfilled(opts *bind.FilterOpts, id [][32]byte) (*FunctionsClientExampleRequestFulfilledIterator, error)

func (*FunctionsClientExampleFilterer) FilterRequestSent

func (_FunctionsClientExample *FunctionsClientExampleFilterer) FilterRequestSent(opts *bind.FilterOpts, id [][32]byte) (*FunctionsClientExampleRequestSentIterator, error)

func (*FunctionsClientExampleFilterer) ParseOwnershipTransferRequested

func (_FunctionsClientExample *FunctionsClientExampleFilterer) ParseOwnershipTransferRequested(log types.Log) (*FunctionsClientExampleOwnershipTransferRequested, error)

func (*FunctionsClientExampleFilterer) ParseOwnershipTransferred

func (_FunctionsClientExample *FunctionsClientExampleFilterer) ParseOwnershipTransferred(log types.Log) (*FunctionsClientExampleOwnershipTransferred, error)

func (*FunctionsClientExampleFilterer) ParseRequestFulfilled

func (_FunctionsClientExample *FunctionsClientExampleFilterer) ParseRequestFulfilled(log types.Log) (*FunctionsClientExampleRequestFulfilled, error)

func (*FunctionsClientExampleFilterer) ParseRequestSent

func (_FunctionsClientExample *FunctionsClientExampleFilterer) ParseRequestSent(log types.Log) (*FunctionsClientExampleRequestSent, error)

func (*FunctionsClientExampleFilterer) WatchOwnershipTransferRequested

func (_FunctionsClientExample *FunctionsClientExampleFilterer) WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FunctionsClientExampleOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

func (*FunctionsClientExampleFilterer) WatchOwnershipTransferred

func (_FunctionsClientExample *FunctionsClientExampleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FunctionsClientExampleOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

func (*FunctionsClientExampleFilterer) WatchRequestFulfilled

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

func (*FunctionsClientExampleFilterer) WatchRequestSent

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

type FunctionsClientExampleInterface

type FunctionsClientExampleInterface interface {
	MAXCALLBACKGAS(opts *bind.CallOpts) (uint32, error)

	LastError(opts *bind.CallOpts) ([32]byte, error)

	LastErrorLength(opts *bind.CallOpts) (uint32, error)

	LastRequestId(opts *bind.CallOpts) ([32]byte, error)

	LastResponse(opts *bind.CallOpts) ([32]byte, error)

	LastResponseLength(opts *bind.CallOpts) (uint32, error)

	Owner(opts *bind.CallOpts) (common.Address, error)

	AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

	SendRequest(opts *bind.TransactOpts, source string, encryptedSecretsReferences []byte, args []string, subscriptionId uint64, jobId [32]byte) (*types.Transaction, error)

	TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

	FilterOwnershipTransferRequested(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FunctionsClientExampleOwnershipTransferRequestedIterator, error)

	WatchOwnershipTransferRequested(opts *bind.WatchOpts, sink chan<- *FunctionsClientExampleOwnershipTransferRequested, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferRequested(log types.Log) (*FunctionsClientExampleOwnershipTransferRequested, error)

	FilterOwnershipTransferred(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FunctionsClientExampleOwnershipTransferredIterator, error)

	WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FunctionsClientExampleOwnershipTransferred, from []common.Address, to []common.Address) (event.Subscription, error)

	ParseOwnershipTransferred(log types.Log) (*FunctionsClientExampleOwnershipTransferred, error)

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

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

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

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

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

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

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

	Address() common.Address
}

type FunctionsClientExampleOwnershipTransferRequested

type FunctionsClientExampleOwnershipTransferRequested struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (FunctionsClientExampleOwnershipTransferRequested) Topic

type FunctionsClientExampleOwnershipTransferRequestedIterator

type FunctionsClientExampleOwnershipTransferRequestedIterator struct {
	Event *FunctionsClientExampleOwnershipTransferRequested
	// contains filtered or unexported fields
}

func (*FunctionsClientExampleOwnershipTransferRequestedIterator) Close

func (*FunctionsClientExampleOwnershipTransferRequestedIterator) Error

func (*FunctionsClientExampleOwnershipTransferRequestedIterator) Next

type FunctionsClientExampleOwnershipTransferred

type FunctionsClientExampleOwnershipTransferred struct {
	From common.Address
	To   common.Address
	Raw  types.Log
}

func (FunctionsClientExampleOwnershipTransferred) Topic

type FunctionsClientExampleOwnershipTransferredIterator

type FunctionsClientExampleOwnershipTransferredIterator struct {
	Event *FunctionsClientExampleOwnershipTransferred
	// contains filtered or unexported fields
}

func (*FunctionsClientExampleOwnershipTransferredIterator) Close

func (*FunctionsClientExampleOwnershipTransferredIterator) Error

func (*FunctionsClientExampleOwnershipTransferredIterator) Next

type FunctionsClientExampleRaw

type FunctionsClientExampleRaw struct {
	Contract *FunctionsClientExample
}

func (*FunctionsClientExampleRaw) Call

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

func (*FunctionsClientExampleRaw) Transact

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

func (*FunctionsClientExampleRaw) Transfer

func (_FunctionsClientExample *FunctionsClientExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type FunctionsClientExampleRequestFulfilled

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

func (FunctionsClientExampleRequestFulfilled) Topic

type FunctionsClientExampleRequestFulfilledIterator

type FunctionsClientExampleRequestFulfilledIterator struct {
	Event *FunctionsClientExampleRequestFulfilled
	// contains filtered or unexported fields
}

func (*FunctionsClientExampleRequestFulfilledIterator) Close

func (*FunctionsClientExampleRequestFulfilledIterator) Error

func (*FunctionsClientExampleRequestFulfilledIterator) Next

type FunctionsClientExampleRequestSent

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

func (FunctionsClientExampleRequestSent) Topic

type FunctionsClientExampleRequestSentIterator

type FunctionsClientExampleRequestSentIterator struct {
	Event *FunctionsClientExampleRequestSent
	// contains filtered or unexported fields
}

func (*FunctionsClientExampleRequestSentIterator) Close

func (*FunctionsClientExampleRequestSentIterator) Error

func (*FunctionsClientExampleRequestSentIterator) Next

type FunctionsClientExampleSession

type FunctionsClientExampleSession struct {
	Contract     *FunctionsClientExample
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*FunctionsClientExampleSession) AcceptOwnership

func (_FunctionsClientExample *FunctionsClientExampleSession) AcceptOwnership() (*types.Transaction, error)

func (*FunctionsClientExampleSession) HandleOracleFulfillment

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

func (*FunctionsClientExampleSession) LastError

func (_FunctionsClientExample *FunctionsClientExampleSession) LastError() ([32]byte, error)

func (*FunctionsClientExampleSession) LastErrorLength

func (_FunctionsClientExample *FunctionsClientExampleSession) LastErrorLength() (uint32, error)

func (*FunctionsClientExampleSession) LastRequestId

func (_FunctionsClientExample *FunctionsClientExampleSession) LastRequestId() ([32]byte, error)

func (*FunctionsClientExampleSession) LastResponse

func (_FunctionsClientExample *FunctionsClientExampleSession) LastResponse() ([32]byte, error)

func (*FunctionsClientExampleSession) LastResponseLength

func (_FunctionsClientExample *FunctionsClientExampleSession) LastResponseLength() (uint32, error)

func (*FunctionsClientExampleSession) MAXCALLBACKGAS

func (_FunctionsClientExample *FunctionsClientExampleSession) MAXCALLBACKGAS() (uint32, error)

func (*FunctionsClientExampleSession) Owner

func (_FunctionsClientExample *FunctionsClientExampleSession) Owner() (common.Address, error)

func (*FunctionsClientExampleSession) SendRequest

func (_FunctionsClientExample *FunctionsClientExampleSession) SendRequest(source string, encryptedSecretsReferences []byte, args []string, subscriptionId uint64, jobId [32]byte) (*types.Transaction, error)

func (*FunctionsClientExampleSession) TransferOwnership

func (_FunctionsClientExample *FunctionsClientExampleSession) TransferOwnership(to common.Address) (*types.Transaction, error)

type FunctionsClientExampleTransactor

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

func NewFunctionsClientExampleTransactor

func NewFunctionsClientExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*FunctionsClientExampleTransactor, error)

func (*FunctionsClientExampleTransactor) AcceptOwnership

func (_FunctionsClientExample *FunctionsClientExampleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

func (*FunctionsClientExampleTransactor) HandleOracleFulfillment

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

func (*FunctionsClientExampleTransactor) SendRequest

func (_FunctionsClientExample *FunctionsClientExampleTransactor) SendRequest(opts *bind.TransactOpts, source string, encryptedSecretsReferences []byte, args []string, subscriptionId uint64, jobId [32]byte) (*types.Transaction, error)

func (*FunctionsClientExampleTransactor) TransferOwnership

func (_FunctionsClientExample *FunctionsClientExampleTransactor) TransferOwnership(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

type FunctionsClientExampleTransactorRaw

type FunctionsClientExampleTransactorRaw struct {
	Contract *FunctionsClientExampleTransactor
}

func (*FunctionsClientExampleTransactorRaw) Transact

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

func (*FunctionsClientExampleTransactorRaw) Transfer

func (_FunctionsClientExample *FunctionsClientExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type FunctionsClientExampleTransactorSession

type FunctionsClientExampleTransactorSession struct {
	Contract     *FunctionsClientExampleTransactor
	TransactOpts bind.TransactOpts
}

func (*FunctionsClientExampleTransactorSession) AcceptOwnership

func (_FunctionsClientExample *FunctionsClientExampleTransactorSession) AcceptOwnership() (*types.Transaction, error)

func (*FunctionsClientExampleTransactorSession) HandleOracleFulfillment

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

func (*FunctionsClientExampleTransactorSession) SendRequest

func (_FunctionsClientExample *FunctionsClientExampleTransactorSession) SendRequest(source string, encryptedSecretsReferences []byte, args []string, subscriptionId uint64, jobId [32]byte) (*types.Transaction, error)

func (*FunctionsClientExampleTransactorSession) TransferOwnership

func (_FunctionsClientExample *FunctionsClientExampleTransactorSession) TransferOwnership(to common.Address) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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