keeper_consumer_wrapper

package
v2.12.0-beta3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeeperConsumerABI = KeeperConsumerMetaData.ABI
View Source
var KeeperConsumerBin = KeeperConsumerMetaData.Bin
View Source
var KeeperConsumerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"updateInterval\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"OnlySimulatedBackend\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"checkData\",\"type\":\"bytes\"}],\"name\":\"checkUpkeep\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"upkeepNeeded\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"performData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastTimeStamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"performData\",\"type\":\"bytes\"}],\"name\":\"performUpkeep\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60a060405234801561001057600080fd5b5060405161035a38038061035a83398101604081905261002f9161003f565b6080524260015560008055610058565b60006020828403121561005157600080fd5b5051919050565b6080516102e8610072600039600060cc01526102e86000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806361bc221a1161005057806361bc221a1461009d5780636e04ff0d146100a6578063947a36fb146100c757600080fd5b80633f3b3b271461006c5780634585e33b14610088575b600080fd5b61007560015481565b6040519081526020015b60405180910390f35b61009b6100963660046101b3565b6100ee565b005b61007560005481565b6100b96100b43660046101b3565b610103565b60405161007f929190610225565b6100757f000000000000000000000000000000000000000000000000000000000000000081565b6000546100fc90600161029b565b6000555050565b6000606061010f610157565b6001848481818080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250959a92995091975050505050505050565b321580159061017a57503273111111111111111111111111111111111111111114155b156101b1576040517fb60ac5db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600080602083850312156101c657600080fd5b823567ffffffffffffffff808211156101de57600080fd5b818501915085601f8301126101f257600080fd5b81358181111561020157600080fd5b86602082850101111561021357600080fd5b60209290920196919550909350505050565b821515815260006020604081840152835180604085015260005b8181101561025b5785810183015185820160600152820161023f565b5060006060828601015260607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509392505050565b808201808211156102d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea164736f6c6343000810000a",
}

Functions

This section is empty.

Types

type CheckUpkeep

type CheckUpkeep struct {
	UpkeepNeeded bool
	PerformData  []byte
}

type KeeperConsumer

type KeeperConsumer struct {
	KeeperConsumerCaller
	KeeperConsumerTransactor
	KeeperConsumerFilterer
	// contains filtered or unexported fields
}

func DeployKeeperConsumer

func DeployKeeperConsumer(auth *bind.TransactOpts, backend bind.ContractBackend, updateInterval *big.Int) (common.Address, *types.Transaction, *KeeperConsumer, error)

func NewKeeperConsumer

func NewKeeperConsumer(address common.Address, backend bind.ContractBackend) (*KeeperConsumer, error)

func (*KeeperConsumer) Address

func (_KeeperConsumer *KeeperConsumer) Address() common.Address

type KeeperConsumerCaller

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

func NewKeeperConsumerCaller

func NewKeeperConsumerCaller(address common.Address, caller bind.ContractCaller) (*KeeperConsumerCaller, error)

func (*KeeperConsumerCaller) CheckUpkeep

func (_KeeperConsumer *KeeperConsumerCaller) CheckUpkeep(opts *bind.CallOpts, checkData []byte) (CheckUpkeep,

	error)

func (*KeeperConsumerCaller) Counter

func (_KeeperConsumer *KeeperConsumerCaller) Counter(opts *bind.CallOpts) (*big.Int, error)

func (*KeeperConsumerCaller) Interval

func (_KeeperConsumer *KeeperConsumerCaller) Interval(opts *bind.CallOpts) (*big.Int, error)

func (*KeeperConsumerCaller) LastTimeStamp

func (_KeeperConsumer *KeeperConsumerCaller) LastTimeStamp(opts *bind.CallOpts) (*big.Int, error)

type KeeperConsumerCallerRaw

type KeeperConsumerCallerRaw struct {
	Contract *KeeperConsumerCaller
}

func (*KeeperConsumerCallerRaw) Call

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

type KeeperConsumerCallerSession

type KeeperConsumerCallerSession struct {
	Contract *KeeperConsumerCaller
	CallOpts bind.CallOpts
}

func (*KeeperConsumerCallerSession) CheckUpkeep

func (_KeeperConsumer *KeeperConsumerCallerSession) CheckUpkeep(checkData []byte) (CheckUpkeep,

	error)

func (*KeeperConsumerCallerSession) Counter

func (_KeeperConsumer *KeeperConsumerCallerSession) Counter() (*big.Int, error)

func (*KeeperConsumerCallerSession) Interval

func (_KeeperConsumer *KeeperConsumerCallerSession) Interval() (*big.Int, error)

func (*KeeperConsumerCallerSession) LastTimeStamp

func (_KeeperConsumer *KeeperConsumerCallerSession) LastTimeStamp() (*big.Int, error)

type KeeperConsumerFilterer

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

func NewKeeperConsumerFilterer

func NewKeeperConsumerFilterer(address common.Address, filterer bind.ContractFilterer) (*KeeperConsumerFilterer, error)

type KeeperConsumerInterface

type KeeperConsumerInterface interface {
	CheckUpkeep(opts *bind.CallOpts, checkData []byte) (CheckUpkeep,

		error)

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

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

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

	PerformUpkeep(opts *bind.TransactOpts, performData []byte) (*types.Transaction, error)

	Address() common.Address
}

type KeeperConsumerRaw

type KeeperConsumerRaw struct {
	Contract *KeeperConsumer
}

func (*KeeperConsumerRaw) Call

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

func (*KeeperConsumerRaw) Transact

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

func (*KeeperConsumerRaw) Transfer

func (_KeeperConsumer *KeeperConsumerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type KeeperConsumerSession

type KeeperConsumerSession struct {
	Contract     *KeeperConsumer
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*KeeperConsumerSession) CheckUpkeep

func (_KeeperConsumer *KeeperConsumerSession) CheckUpkeep(checkData []byte) (CheckUpkeep,

	error)

func (*KeeperConsumerSession) Counter

func (_KeeperConsumer *KeeperConsumerSession) Counter() (*big.Int, error)

func (*KeeperConsumerSession) Interval

func (_KeeperConsumer *KeeperConsumerSession) Interval() (*big.Int, error)

func (*KeeperConsumerSession) LastTimeStamp

func (_KeeperConsumer *KeeperConsumerSession) LastTimeStamp() (*big.Int, error)

func (*KeeperConsumerSession) PerformUpkeep

func (_KeeperConsumer *KeeperConsumerSession) PerformUpkeep(performData []byte) (*types.Transaction, error)

type KeeperConsumerTransactor

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

func NewKeeperConsumerTransactor

func NewKeeperConsumerTransactor(address common.Address, transactor bind.ContractTransactor) (*KeeperConsumerTransactor, error)

func (*KeeperConsumerTransactor) PerformUpkeep

func (_KeeperConsumer *KeeperConsumerTransactor) PerformUpkeep(opts *bind.TransactOpts, performData []byte) (*types.Transaction, error)

type KeeperConsumerTransactorRaw

type KeeperConsumerTransactorRaw struct {
	Contract *KeeperConsumerTransactor
}

func (*KeeperConsumerTransactorRaw) Transact

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

func (*KeeperConsumerTransactorRaw) Transfer

func (_KeeperConsumer *KeeperConsumerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type KeeperConsumerTransactorSession

type KeeperConsumerTransactorSession struct {
	Contract     *KeeperConsumerTransactor
	TransactOpts bind.TransactOpts
}

func (*KeeperConsumerTransactorSession) PerformUpkeep

func (_KeeperConsumer *KeeperConsumerTransactorSession) PerformUpkeep(performData []byte) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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