test_api_consumer_wrapper

package
v2.6.0-clf-20230927 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestAPIConsumerABI = TestAPIConsumerMetaData.ABI
View Source
var TestAPIConsumerBin = TestAPIConsumerMetaData.Bin
View Source
var TestAPIConsumerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_link\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"ChainlinkRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"roundID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"PerfMetricsEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"_callbackFunctionId\",\"type\":\"bytes4\"},{\"internalType\":\"uint256\",\"name\":\"_expiration\",\"type\":\"uint256\"}],\"name\":\"cancelRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_jobId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_payment\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_url\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_path\",\"type\":\"string\"},{\"internalType\":\"int256\",\"name\":\"_times\",\"type\":\"int256\"}],\"name\":\"createRequestTo\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRoundID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"data\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_data\",\"type\":\"uint256\"}],\"name\":\"fulfill\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainlinkToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"selector\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawLink\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x6080604052600160045560006007553480156200001b57600080fd5b50604051620017a1380380620017a1833981810160405260208110156200004157600080fd5b5051600680546001600160a01b0319163317908190556040516001600160a01b0391909116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160a01b038116620000b757620000b16001600160e01b03620000d216565b620000cb565b620000cb816001600160e01b036200016316565b5062000185565b6200016173c89bd4e1632d3a43cb03aaad5262cbe4038bc5716001600160a01b03166338cc48316040518163ffffffff1660e01b815260040160206040518083038186803b1580156200012457600080fd5b505afa15801562000139573d6000803e3d6000fd5b505050506040513d60208110156200015057600080fd5b50516001600160e01b036200016316565b565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b61160c80620001956000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80638dc654a211610081578063ea3d508a1161005b578063ea3d508a146102ca578063ec65d0f814610307578063f2fde38b14610358576100c9565b80638dc654a21461029e5780638f32d59b146102a6578063a312c4f2146102c2576100c9565b80634357855e116100b25780634357855e1461026957806373d4a13a1461028e5780638da5cb5b14610296576100c9565b8063165d35e1146100ce57806316ef7f1a146100ff575b600080fd5b6100d661038b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610257600480360360c081101561011557600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516916020810135916040820135919081019060808101606082013564010000000081111561015957600080fd5b82018360208201111561016b57600080fd5b8035906020019184600183028401116401000000008311171561018d57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156101e057600080fd5b8201836020820111156101f257600080fd5b8035906020019184600183028401116401000000008311171561021457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925061039a915050565b60408051918252519081900360200190f35b61028c6004803603604081101561027f57600080fd5b508035906020013561055c565b005b6102576105ae565b6100d66105b4565b61028c6105d0565b6102ae610800565b604080519115158252519081900360200190f35b61025761081e565b6102d2610824565b604080517fffffffff000000000000000000000000000000000000000000000000000000009092168252519081900360200190f35b61028c6004803603608081101561031d57600080fd5b508035906020810135907fffffffff00000000000000000000000000000000000000000000000000000000604082013516906060013561082d565b61028c6004803603602081101561036e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108b2565b600061039561092e565b905090565b60006103a4610800565b61040f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000016634357855e179055610445611567565b61047087307f4357855e0000000000000000000000000000000000000000000000000000000061094a565b60408051808201909152600381527f676574000000000000000000000000000000000000000000000000000000000060208201529091506104b99082908763ffffffff61097516565b60408051808201909152600481527f706174680000000000000000000000000000000000000000000000000000000060208201526104ff9082908663ffffffff61097516565b60408051808201909152600581527f74696d657300000000000000000000000000000000000000000000000000000060208201526105459082908563ffffffff6109a416565b6105508882886109ce565b98975050505050505050565b6008819055600780546001019081905560408051918252602082018490524282820152517ffbaf68ee7b9032982942607eaea1859969ed8674797b5c2fc6fecaa7538519469181900360600190a15050565b60085481565b60065473ffffffffffffffffffffffffffffffffffffffff1690565b6105d8610800565b61064357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600061064d61092e565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925073ffffffffffffffffffffffffffffffffffffffff83169163a9059cbb91339184916370a08231916024808301926020929190829003018186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d60208110156106f057600080fd5b5051604080517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b16815273ffffffffffffffffffffffffffffffffffffffff909316600484015260248301919091525160448083019260209291908290030181600087803b15801561076657600080fd5b505af115801561077a573d6000803e3d6000fd5b505050506040513d602081101561079057600080fd5b50516107fd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f556e61626c6520746f207472616e736665720000000000000000000000000000604482015290519081900360640190fd5b50565b60065473ffffffffffffffffffffffffffffffffffffffff16331490565b60075481565b60095460e01b81565b610835610800565b6108a057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108ac84848484610c0b565b50505050565b6108ba610800565b61092557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6107fd81610d46565b60025473ffffffffffffffffffffffffffffffffffffffff1690565b610952611567565b61095a611567565b61096c8186868663ffffffff610e4016565b95945050505050565b608083015161098a908363ffffffff610ea216565b608083015161099f908263ffffffff610ea216565b505050565b60808301516109b9908363ffffffff610ea216565b608083015161099f908263ffffffff610ebf16565b6004546040805130606090811b60208084019190915260348084018690528451808503909101815260549093018452825192810192909220908601939093526000838152600590915281812080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8816179055905182917fb5e6e01e79f91267dc17b4e6314d5d4d03593d2ceee0fbb452b750bd70ea5af991a260025473ffffffffffffffffffffffffffffffffffffffff16634000aea08584610aa887610f35565b6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b2c578181015183820152602001610b14565b50505050905090810190601f168015610b595780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015610b7a57600080fd5b505af1158015610b8e573d6000803e3d6000fd5b505050506040513d6020811015610ba457600080fd5b5051610bfb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806115dd6023913960400191505060405180910390fd5b6004805460010190559392505050565b60008481526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000008116909155905173ffffffffffffffffffffffffffffffffffffffff9091169186917fe1fe3afa0f7f761ff0a8b89086790efd5140d2907ebd5b7ff6bfcb5e075fd4c59190a2604080517f6ee4d55300000000000000000000000000000000000000000000000000000000815260048101879052602481018690527fffffffff000000000000000000000000000000000000000000000000000000008516604482015260648101849052905173ffffffffffffffffffffffffffffffffffffffff831691636ee4d55391608480830192600092919082900301818387803b158015610d2757600080fd5b505af1158015610d3b573d6000803e3d6000fd5b505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8116610db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806115b76026913960400191505060405180910390fd5b60065460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610e48611567565b610e58856080015161010061111e565b505091835273ffffffffffffffffffffffffffffffffffffffff1660208301527fffffffff0000000000000000000000000000000000000000000000000000000016604082015290565b610eaf826003835161115e565b61099f828263ffffffff6112a916565b7fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000811215610ef657610ef182826112ca565b610f31565b67ffffffffffffffff811315610f1057610ef18282611327565b60008112610f2457610ef18260008361115e565b610f31826001831961115e565b5050565b6060634042994660e01b60008084600001518560200151866040015187606001516001896080015160000151604051602401808973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018881526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611061578181015183820152602001611049565b50505050905090810190601f16801561108e5780820380516001836020036101000a031916815260200191505b50604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909d169c909c17909b5250989950505050505050505050919050565b61112661159c565b602082061561113b5760208206602003820191505b506020808301829052604080518085526000815283019091019052815b92915050565b60178167ffffffffffffffff161161118f576111898360e0600585901b16831763ffffffff61136216565b5061099f565b60ff8167ffffffffffffffff16116111d9576111bc836018611fe0600586901b161763ffffffff61136216565b506111898367ffffffffffffffff8316600163ffffffff61137a16565b61ffff8167ffffffffffffffff161161122457611207836019611fe0600586901b161763ffffffff61136216565b506111898367ffffffffffffffff8316600263ffffffff61137a16565b63ffffffff8167ffffffffffffffff16116112715761125483601a611fe0600586901b161763ffffffff61136216565b506111898367ffffffffffffffff8316600463ffffffff61137a16565b61128c83601b611fe0600586901b161763ffffffff61136216565b506108ac8367ffffffffffffffff8316600863ffffffff61137a16565b6112b161159c565b6112c38384600001515184855161139b565b9392505050565b6112db8260c363ffffffff61136216565b50610f3182827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0360405160200180828152602001915050604051602081830303815290604052611483565b6113388260c263ffffffff61136216565b50610f31828260405160200180828152602001915050604051602081830303815290604052611483565b61136a61159c565b6112c38384600001515184611490565b61138261159c565b6113938485600001515185856114db565b949350505050565b6113a361159c565b82518211156113b157600080fd5b846020015182850111156113db576113db856113d38760200151878601611539565b600202611550565b6000808651805187602083010193508088870111156113fa5787860182525b505050602084015b6020841061143f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09093019260209182019101611402565b5181517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60208690036101000a019081169019919091161790525083949350505050565b610eaf826002835161115e565b61149861159c565b836020015183106114b4576114b4848560200151600202611550565b8351805160208583010184815350808514156114d1576001810182525b5093949350505050565b6114e361159c565b846020015184830111156115005761150085858401600202611550565b60006001836101000a03905085518386820101858319825116178152508051848701111561152e5783860181525b509495945050505050565b60008183111561154a575081611158565b50919050565b815161155c838361111e565b506108ac83826112a9565b6040805160a08101825260008082526020820181905291810182905260608101919091526080810161159761159c565b905290565b60405180604001604052806060815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373756e61626c6520746f207472616e73666572416e6443616c6c20746f206f7261636c65a164736f6c6343000606000a",
}

Functions

This section is empty.

Types

type TestAPIConsumer

type TestAPIConsumer struct {
	TestAPIConsumerCaller
	TestAPIConsumerTransactor
	TestAPIConsumerFilterer
	// contains filtered or unexported fields
}

func NewTestAPIConsumer

func NewTestAPIConsumer(address common.Address, backend bind.ContractBackend) (*TestAPIConsumer, error)

func (*TestAPIConsumer) Address

func (_TestAPIConsumer *TestAPIConsumer) Address() common.Address

func (*TestAPIConsumer) ParseLog

func (_TestAPIConsumer *TestAPIConsumer) ParseLog(log types.Log) (generated.AbigenLog, error)

type TestAPIConsumerCaller

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

func NewTestAPIConsumerCaller

func NewTestAPIConsumerCaller(address common.Address, caller bind.ContractCaller) (*TestAPIConsumerCaller, error)

func (*TestAPIConsumerCaller) CurrentRoundID

func (_TestAPIConsumer *TestAPIConsumerCaller) CurrentRoundID(opts *bind.CallOpts) (*big.Int, error)

func (*TestAPIConsumerCaller) Data

func (_TestAPIConsumer *TestAPIConsumerCaller) Data(opts *bind.CallOpts) (*big.Int, error)

func (*TestAPIConsumerCaller) GetChainlinkToken

func (_TestAPIConsumer *TestAPIConsumerCaller) GetChainlinkToken(opts *bind.CallOpts) (common.Address, error)

func (*TestAPIConsumerCaller) IsOwner

func (_TestAPIConsumer *TestAPIConsumerCaller) IsOwner(opts *bind.CallOpts) (bool, error)

func (*TestAPIConsumerCaller) Owner

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

func (*TestAPIConsumerCaller) Selector

func (_TestAPIConsumer *TestAPIConsumerCaller) Selector(opts *bind.CallOpts) ([4]byte, error)

type TestAPIConsumerCallerRaw

type TestAPIConsumerCallerRaw struct {
	Contract *TestAPIConsumerCaller
}

func (*TestAPIConsumerCallerRaw) Call

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

type TestAPIConsumerCallerSession

type TestAPIConsumerCallerSession struct {
	Contract *TestAPIConsumerCaller
	CallOpts bind.CallOpts
}

func (*TestAPIConsumerCallerSession) CurrentRoundID

func (_TestAPIConsumer *TestAPIConsumerCallerSession) CurrentRoundID() (*big.Int, error)

func (*TestAPIConsumerCallerSession) Data

func (_TestAPIConsumer *TestAPIConsumerCallerSession) Data() (*big.Int, error)

func (*TestAPIConsumerCallerSession) GetChainlinkToken

func (_TestAPIConsumer *TestAPIConsumerCallerSession) GetChainlinkToken() (common.Address, error)

func (*TestAPIConsumerCallerSession) IsOwner

func (_TestAPIConsumer *TestAPIConsumerCallerSession) IsOwner() (bool, error)

func (*TestAPIConsumerCallerSession) Owner

func (_TestAPIConsumer *TestAPIConsumerCallerSession) Owner() (common.Address, error)

func (*TestAPIConsumerCallerSession) Selector

func (_TestAPIConsumer *TestAPIConsumerCallerSession) Selector() ([4]byte, error)

type TestAPIConsumerChainlinkCancelled

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

func (TestAPIConsumerChainlinkCancelled) Topic

type TestAPIConsumerChainlinkCancelledIterator

type TestAPIConsumerChainlinkCancelledIterator struct {
	Event *TestAPIConsumerChainlinkCancelled
	// contains filtered or unexported fields
}

func (*TestAPIConsumerChainlinkCancelledIterator) Close

func (*TestAPIConsumerChainlinkCancelledIterator) Error

func (*TestAPIConsumerChainlinkCancelledIterator) Next

type TestAPIConsumerChainlinkFulfilled

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

func (TestAPIConsumerChainlinkFulfilled) Topic

type TestAPIConsumerChainlinkFulfilledIterator

type TestAPIConsumerChainlinkFulfilledIterator struct {
	Event *TestAPIConsumerChainlinkFulfilled
	// contains filtered or unexported fields
}

func (*TestAPIConsumerChainlinkFulfilledIterator) Close

func (*TestAPIConsumerChainlinkFulfilledIterator) Error

func (*TestAPIConsumerChainlinkFulfilledIterator) Next

type TestAPIConsumerChainlinkRequested

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

func (TestAPIConsumerChainlinkRequested) Topic

type TestAPIConsumerChainlinkRequestedIterator

type TestAPIConsumerChainlinkRequestedIterator struct {
	Event *TestAPIConsumerChainlinkRequested
	// contains filtered or unexported fields
}

func (*TestAPIConsumerChainlinkRequestedIterator) Close

func (*TestAPIConsumerChainlinkRequestedIterator) Error

func (*TestAPIConsumerChainlinkRequestedIterator) Next

type TestAPIConsumerFilterer

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

func NewTestAPIConsumerFilterer

func NewTestAPIConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*TestAPIConsumerFilterer, error)

func (*TestAPIConsumerFilterer) FilterChainlinkCancelled

func (_TestAPIConsumer *TestAPIConsumerFilterer) FilterChainlinkCancelled(opts *bind.FilterOpts, id [][32]byte) (*TestAPIConsumerChainlinkCancelledIterator, error)

func (*TestAPIConsumerFilterer) FilterChainlinkFulfilled

func (_TestAPIConsumer *TestAPIConsumerFilterer) FilterChainlinkFulfilled(opts *bind.FilterOpts, id [][32]byte) (*TestAPIConsumerChainlinkFulfilledIterator, error)

func (*TestAPIConsumerFilterer) FilterChainlinkRequested

func (_TestAPIConsumer *TestAPIConsumerFilterer) FilterChainlinkRequested(opts *bind.FilterOpts, id [][32]byte) (*TestAPIConsumerChainlinkRequestedIterator, error)

func (*TestAPIConsumerFilterer) FilterOwnershipTransferred

func (_TestAPIConsumer *TestAPIConsumerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TestAPIConsumerOwnershipTransferredIterator, error)

func (*TestAPIConsumerFilterer) FilterPerfMetricsEvent

func (_TestAPIConsumer *TestAPIConsumerFilterer) FilterPerfMetricsEvent(opts *bind.FilterOpts) (*TestAPIConsumerPerfMetricsEventIterator, error)

func (*TestAPIConsumerFilterer) ParseChainlinkCancelled

func (_TestAPIConsumer *TestAPIConsumerFilterer) ParseChainlinkCancelled(log types.Log) (*TestAPIConsumerChainlinkCancelled, error)

func (*TestAPIConsumerFilterer) ParseChainlinkFulfilled

func (_TestAPIConsumer *TestAPIConsumerFilterer) ParseChainlinkFulfilled(log types.Log) (*TestAPIConsumerChainlinkFulfilled, error)

func (*TestAPIConsumerFilterer) ParseChainlinkRequested

func (_TestAPIConsumer *TestAPIConsumerFilterer) ParseChainlinkRequested(log types.Log) (*TestAPIConsumerChainlinkRequested, error)

func (*TestAPIConsumerFilterer) ParseOwnershipTransferred

func (_TestAPIConsumer *TestAPIConsumerFilterer) ParseOwnershipTransferred(log types.Log) (*TestAPIConsumerOwnershipTransferred, error)

func (*TestAPIConsumerFilterer) ParsePerfMetricsEvent

func (_TestAPIConsumer *TestAPIConsumerFilterer) ParsePerfMetricsEvent(log types.Log) (*TestAPIConsumerPerfMetricsEvent, error)

func (*TestAPIConsumerFilterer) WatchChainlinkCancelled

func (_TestAPIConsumer *TestAPIConsumerFilterer) WatchChainlinkCancelled(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerChainlinkCancelled, id [][32]byte) (event.Subscription, error)

func (*TestAPIConsumerFilterer) WatchChainlinkFulfilled

func (_TestAPIConsumer *TestAPIConsumerFilterer) WatchChainlinkFulfilled(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerChainlinkFulfilled, id [][32]byte) (event.Subscription, error)

func (*TestAPIConsumerFilterer) WatchChainlinkRequested

func (_TestAPIConsumer *TestAPIConsumerFilterer) WatchChainlinkRequested(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerChainlinkRequested, id [][32]byte) (event.Subscription, error)

func (*TestAPIConsumerFilterer) WatchOwnershipTransferred

func (_TestAPIConsumer *TestAPIConsumerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

func (*TestAPIConsumerFilterer) WatchPerfMetricsEvent

func (_TestAPIConsumer *TestAPIConsumerFilterer) WatchPerfMetricsEvent(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerPerfMetricsEvent) (event.Subscription, error)

type TestAPIConsumerInterface

type TestAPIConsumerInterface interface {
	CurrentRoundID(opts *bind.CallOpts) (*big.Int, error)

	Data(opts *bind.CallOpts) (*big.Int, error)

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

	IsOwner(opts *bind.CallOpts) (bool, error)

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

	Selector(opts *bind.CallOpts) ([4]byte, error)

	CancelRequest(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

	CreateRequestTo(opts *bind.TransactOpts, _oracle common.Address, _jobId [32]byte, _payment *big.Int, _url string, _path string, _times *big.Int) (*types.Transaction, error)

	Fulfill(opts *bind.TransactOpts, _requestId [32]byte, _data *big.Int) (*types.Transaction, error)

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

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

	FilterChainlinkCancelled(opts *bind.FilterOpts, id [][32]byte) (*TestAPIConsumerChainlinkCancelledIterator, error)

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

	ParseChainlinkCancelled(log types.Log) (*TestAPIConsumerChainlinkCancelled, error)

	FilterChainlinkFulfilled(opts *bind.FilterOpts, id [][32]byte) (*TestAPIConsumerChainlinkFulfilledIterator, error)

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

	ParseChainlinkFulfilled(log types.Log) (*TestAPIConsumerChainlinkFulfilled, error)

	FilterChainlinkRequested(opts *bind.FilterOpts, id [][32]byte) (*TestAPIConsumerChainlinkRequestedIterator, error)

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

	ParseChainlinkRequested(log types.Log) (*TestAPIConsumerChainlinkRequested, error)

	FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TestAPIConsumerOwnershipTransferredIterator, error)

	WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

	FilterPerfMetricsEvent(opts *bind.FilterOpts) (*TestAPIConsumerPerfMetricsEventIterator, error)

	WatchPerfMetricsEvent(opts *bind.WatchOpts, sink chan<- *TestAPIConsumerPerfMetricsEvent) (event.Subscription, error)

	ParsePerfMetricsEvent(log types.Log) (*TestAPIConsumerPerfMetricsEvent, error)

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

	Address() common.Address
}

type TestAPIConsumerOwnershipTransferred

type TestAPIConsumerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log
}

func (TestAPIConsumerOwnershipTransferred) Topic

type TestAPIConsumerOwnershipTransferredIterator

type TestAPIConsumerOwnershipTransferredIterator struct {
	Event *TestAPIConsumerOwnershipTransferred
	// contains filtered or unexported fields
}

func (*TestAPIConsumerOwnershipTransferredIterator) Close

func (*TestAPIConsumerOwnershipTransferredIterator) Error

func (*TestAPIConsumerOwnershipTransferredIterator) Next

type TestAPIConsumerPerfMetricsEvent

type TestAPIConsumerPerfMetricsEvent struct {
	RoundID   *big.Int
	RequestId [32]byte
	Timestamp *big.Int
	Raw       types.Log
}

func (TestAPIConsumerPerfMetricsEvent) Topic

type TestAPIConsumerPerfMetricsEventIterator

type TestAPIConsumerPerfMetricsEventIterator struct {
	Event *TestAPIConsumerPerfMetricsEvent
	// contains filtered or unexported fields
}

func (*TestAPIConsumerPerfMetricsEventIterator) Close

func (*TestAPIConsumerPerfMetricsEventIterator) Error

func (*TestAPIConsumerPerfMetricsEventIterator) Next

type TestAPIConsumerRaw

type TestAPIConsumerRaw struct {
	Contract *TestAPIConsumer
}

func (*TestAPIConsumerRaw) Call

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

func (*TestAPIConsumerRaw) Transact

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

func (*TestAPIConsumerRaw) Transfer

func (_TestAPIConsumer *TestAPIConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type TestAPIConsumerSession

type TestAPIConsumerSession struct {
	Contract     *TestAPIConsumer
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*TestAPIConsumerSession) CancelRequest

func (_TestAPIConsumer *TestAPIConsumerSession) CancelRequest(_requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerSession) CreateRequestTo

func (_TestAPIConsumer *TestAPIConsumerSession) CreateRequestTo(_oracle common.Address, _jobId [32]byte, _payment *big.Int, _url string, _path string, _times *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerSession) CurrentRoundID

func (_TestAPIConsumer *TestAPIConsumerSession) CurrentRoundID() (*big.Int, error)

func (*TestAPIConsumerSession) Data

func (_TestAPIConsumer *TestAPIConsumerSession) Data() (*big.Int, error)

func (*TestAPIConsumerSession) Fulfill

func (_TestAPIConsumer *TestAPIConsumerSession) Fulfill(_requestId [32]byte, _data *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerSession) GetChainlinkToken

func (_TestAPIConsumer *TestAPIConsumerSession) GetChainlinkToken() (common.Address, error)

func (*TestAPIConsumerSession) IsOwner

func (_TestAPIConsumer *TestAPIConsumerSession) IsOwner() (bool, error)

func (*TestAPIConsumerSession) Owner

func (_TestAPIConsumer *TestAPIConsumerSession) Owner() (common.Address, error)

func (*TestAPIConsumerSession) Selector

func (_TestAPIConsumer *TestAPIConsumerSession) Selector() ([4]byte, error)

func (*TestAPIConsumerSession) TransferOwnership

func (_TestAPIConsumer *TestAPIConsumerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
func (_TestAPIConsumer *TestAPIConsumerSession) WithdrawLink() (*types.Transaction, error)

type TestAPIConsumerTransactor

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

func NewTestAPIConsumerTransactor

func NewTestAPIConsumerTransactor(address common.Address, transactor bind.ContractTransactor) (*TestAPIConsumerTransactor, error)

func (*TestAPIConsumerTransactor) CancelRequest

func (_TestAPIConsumer *TestAPIConsumerTransactor) CancelRequest(opts *bind.TransactOpts, _requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerTransactor) CreateRequestTo

func (_TestAPIConsumer *TestAPIConsumerTransactor) CreateRequestTo(opts *bind.TransactOpts, _oracle common.Address, _jobId [32]byte, _payment *big.Int, _url string, _path string, _times *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerTransactor) Fulfill

func (_TestAPIConsumer *TestAPIConsumerTransactor) Fulfill(opts *bind.TransactOpts, _requestId [32]byte, _data *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerTransactor) TransferOwnership

func (_TestAPIConsumer *TestAPIConsumerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
func (_TestAPIConsumer *TestAPIConsumerTransactor) WithdrawLink(opts *bind.TransactOpts) (*types.Transaction, error)

type TestAPIConsumerTransactorRaw

type TestAPIConsumerTransactorRaw struct {
	Contract *TestAPIConsumerTransactor
}

func (*TestAPIConsumerTransactorRaw) Transact

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

func (*TestAPIConsumerTransactorRaw) Transfer

func (_TestAPIConsumer *TestAPIConsumerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type TestAPIConsumerTransactorSession

type TestAPIConsumerTransactorSession struct {
	Contract     *TestAPIConsumerTransactor
	TransactOpts bind.TransactOpts
}

func (*TestAPIConsumerTransactorSession) CancelRequest

func (_TestAPIConsumer *TestAPIConsumerTransactorSession) CancelRequest(_requestId [32]byte, _payment *big.Int, _callbackFunctionId [4]byte, _expiration *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerTransactorSession) CreateRequestTo

func (_TestAPIConsumer *TestAPIConsumerTransactorSession) CreateRequestTo(_oracle common.Address, _jobId [32]byte, _payment *big.Int, _url string, _path string, _times *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerTransactorSession) Fulfill

func (_TestAPIConsumer *TestAPIConsumerTransactorSession) Fulfill(_requestId [32]byte, _data *big.Int) (*types.Transaction, error)

func (*TestAPIConsumerTransactorSession) TransferOwnership

func (_TestAPIConsumer *TestAPIConsumerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
func (_TestAPIConsumer *TestAPIConsumerTransactorSession) WithdrawLink() (*types.Transaction, error)

Jump to

Keyboard shortcuts

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