keeper_consumer_wrapper

package
v2.7.2-beta0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 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\":[{\"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: "0x60a060405234801561001057600080fd5b5060405161036c38038061036c83398101604081905261002f9161003f565b6080524260015560008055610058565b60006020828403121561005157600080fd5b5051919050565b6080516102fa610072600039600060cc01526102fa6000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806361bc221a1161005057806361bc221a1461009d5780636e04ff0d146100a6578063947a36fb146100c757600080fd5b80633f3b3b271461006c5780634585e33b14610088575b600080fd5b61007560015481565b6040519081526020015b60405180910390f35b61009b6100963660046101c5565b6100ee565b005b61007560005481565b6100b96100b43660046101c5565b610103565b60405161007f929190610237565b6100757f000000000000000000000000000000000000000000000000000000000000000081565b6000546100fc9060016102ad565b6000555050565b6000606061010f610157565b6001848481818080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250959a92995091975050505050505050565b32156101c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6f6e6c7920666f722073696d756c61746564206261636b656e64000000000000604482015260640160405180910390fd5b565b600080602083850312156101d857600080fd5b823567ffffffffffffffff808211156101f057600080fd5b818501915085601f83011261020457600080fd5b81358181111561021357600080fd5b86602082850101111561022557600080fd5b60209290920196919550909350505050565b821515815260006020604081840152835180604085015260005b8181101561026d57858101830151858201606001528201610251565b5060006060828601015260607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509392505050565b808201808211156102e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b9291505056fea164736f6c6343000810000a",
}

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