Documentation ¶
Index ¶
- Variables
- type AutomationUtils
- type AutomationUtilsCaller
- type AutomationUtilsCallerRaw
- type AutomationUtilsCallerSession
- type AutomationUtilsFilterer
- type AutomationUtilsInterface
- type AutomationUtilsRaw
- func (_AutomationUtils *AutomationUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AutomationUtils *AutomationUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AutomationUtilsSession
- func (_AutomationUtils *AutomationUtilsSession) ConditionalTrigger(arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsSession) Log(arg0 Log) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsSession) LogTrigger(arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsSession) LogTriggerConfig(arg0 LogTriggerConfig) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsSession) OnChainConfig(arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsSession) Report(arg0 KeeperRegistryBase21Report) (*types.Transaction, error)
- type AutomationUtilsTransactor
- func (_AutomationUtils *AutomationUtilsTransactor) ConditionalTrigger(opts *bind.TransactOpts, arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactor) Log(opts *bind.TransactOpts, arg0 Log) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactor) LogTrigger(opts *bind.TransactOpts, arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactor) LogTriggerConfig(opts *bind.TransactOpts, arg0 LogTriggerConfig) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactor) OnChainConfig(opts *bind.TransactOpts, arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactor) Report(opts *bind.TransactOpts, arg0 KeeperRegistryBase21Report) (*types.Transaction, error)
- type AutomationUtilsTransactorRaw
- type AutomationUtilsTransactorSession
- func (_AutomationUtils *AutomationUtilsTransactorSession) ConditionalTrigger(arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactorSession) Log(arg0 Log) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactorSession) LogTrigger(arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactorSession) LogTriggerConfig(arg0 LogTriggerConfig) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactorSession) OnChainConfig(arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error)
- func (_AutomationUtils *AutomationUtilsTransactorSession) Report(arg0 KeeperRegistryBase21Report) (*types.Transaction, error)
- type KeeperRegistryBase21ConditionalTrigger
- type KeeperRegistryBase21LogTrigger
- type KeeperRegistryBase21OnchainConfig
- type KeeperRegistryBase21Report
- type Log
- type LogTriggerConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var AutomationUtilsABI = AutomationUtilsMetaData.ABI
View Source
var AutomationUtilsBin = AutomationUtilsMetaData.Bin
View Source
var AutomationUtilsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNum\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"internalType\":\"structKeeperRegistryBase2_1.ConditionalTrigger\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"_conditionalTrigger\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"txIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"source\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"topics\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structLog\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"_log\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"logIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"blockNum\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"internalType\":\"structKeeperRegistryBase2_1.LogTrigger\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"_logTrigger\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"filterSelector\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"topic0\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"topic1\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"topic2\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"topic3\",\"type\":\"bytes32\"}],\"internalType\":\"structLogTriggerConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"_logTriggerConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"paymentPremiumPPB\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"flatFeeMicroLink\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"checkGasLimit\",\"type\":\"uint32\"},{\"internalType\":\"uint24\",\"name\":\"stalenessSeconds\",\"type\":\"uint24\"},{\"internalType\":\"uint16\",\"name\":\"gasCeilingMultiplier\",\"type\":\"uint16\"},{\"internalType\":\"uint96\",\"name\":\"minUpkeepSpend\",\"type\":\"uint96\"},{\"internalType\":\"uint32\",\"name\":\"maxPerformGas\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxCheckDataSize\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxPerformDataSize\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxRevertDataSize\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"fallbackGasPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fallbackLinkPrice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"registrars\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"upkeepPrivilegeManager\",\"type\":\"address\"}],\"internalType\":\"structKeeperRegistryBase2_1.OnchainConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"_onChainConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fastGasWei\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"linkNative\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"upkeepIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"gasLimits\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"triggers\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"performDatas\",\"type\":\"bytes[]\"}],\"internalType\":\"structKeeperRegistryBase2_1.Report\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"_report\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506108be806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80634b6df294116100505780634b6df294146100a6578063e65d6546146100b4578063e9720a49146100c257600080fd5b80631c8d82601461007757806321f373d71461008a5780632ff92a8114610098575b600080fd5b6100886100853660046101d8565b50565b005b61008861008536600461026e565b6100886100853660046103d5565b61008861008536600461052f565b6100886100853660046106ef565b6100886100853660046107dc565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516101e0810167ffffffffffffffff81118282101715610123576101236100d0565b60405290565b60405160c0810167ffffffffffffffff81118282101715610123576101236100d0565b604051610100810167ffffffffffffffff81118282101715610123576101236100d0565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156101b7576101b76100d0565b604052919050565b803563ffffffff811681146101d357600080fd5b919050565b6000608082840312156101ea57600080fd5b6040516080810181811067ffffffffffffffff8211171561020d5761020d6100d0565b60405282358152610220602084016101bf565b6020820152610231604084016101bf565b6040820152606083013560608201528091505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146101d357600080fd5b600060c0828403121561028057600080fd5b60405160c0810181811067ffffffffffffffff821117156102a3576102a36100d0565b6040526102af8361024a565b8152602083013560ff811681146102c557600080fd5b8060208301525060408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b803562ffffff811681146101d357600080fd5b803561ffff811681146101d357600080fd5b80356bffffffffffffffffffffffff811681146101d357600080fd5b600067ffffffffffffffff821115610359576103596100d0565b5060051b60200190565b600082601f83011261037457600080fd5b813560206103896103848361033f565b610170565b82815260059290921b840181019181810190868411156103a857600080fd5b8286015b848110156103ca576103bd8161024a565b83529183019183016103ac565b509695505050505050565b6000602082840312156103e757600080fd5b813567ffffffffffffffff808211156103ff57600080fd5b908301906101e0828603121561041457600080fd5b61041c6100ff565b610425836101bf565b8152610433602084016101bf565b6020820152610444604084016101bf565b6040820152610455606084016102fe565b606082015261046660808401610311565b608082015261047760a08401610323565b60a082015261048860c084016101bf565b60c082015261049960e084016101bf565b60e08201526101006104ac8185016101bf565b908201526101206104be8482016101bf565b90820152610140838101359082015261016080840135908201526101806104e681850161024a565b908201526101a083810135838111156104fe57600080fd5b61050a88828701610363565b8284015250506101c0915061052082840161024a565b91810191909152949350505050565b60006040828403121561054157600080fd5b6040516040810181811067ffffffffffffffff82111715610564576105646100d0565b604052610570836101bf565b8152602083013560208201528091505092915050565b600082601f83011261059757600080fd5b813560206105a76103848361033f565b82815260059290921b840181019181810190868411156105c657600080fd5b8286015b848110156103ca57803583529183019183016105ca565b600082601f8301126105f257600080fd5b813567ffffffffffffffff81111561060c5761060c6100d0565b61063d60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610170565b81815284602083860101111561065257600080fd5b816020850160208301376000918101602001919091529392505050565b600082601f83011261068057600080fd5b813560206106906103848361033f565b82815260059290921b840181019181810190868411156106af57600080fd5b8286015b848110156103ca57803567ffffffffffffffff8111156106d35760008081fd5b6106e18986838b01016105e1565b8452509183019183016106b3565b60006020828403121561070157600080fd5b813567ffffffffffffffff8082111561071957600080fd5b9083019060c0828603121561072d57600080fd5b610735610129565b823581526020830135602082015260408301358281111561075557600080fd5b61076187828601610586565b60408301525060608301358281111561077957600080fd5b61078587828601610586565b60608301525060808301358281111561079d57600080fd5b6107a98782860161066f565b60808301525060a0830135828111156107c157600080fd5b6107cd8782860161066f565b60a08301525095945050505050565b6000602082840312156107ee57600080fd5b813567ffffffffffffffff8082111561080657600080fd5b90830190610100828603121561081b57600080fd5b61082361014c565b823581526020830135602082015260408301356040820152606083013560608201526080830135608082015261085b60a0840161024a565b60a082015260c08301358281111561087257600080fd5b61087e87828601610586565b60c08301525060e08301358281111561089657600080fd5b6108a2878286016105e1565b60e0830152509594505050505056fea164736f6c6343000810000a",
}
Functions ¶
This section is empty.
Types ¶
type AutomationUtils ¶
type AutomationUtils struct { AutomationUtilsCaller AutomationUtilsTransactor AutomationUtilsFilterer // contains filtered or unexported fields }
func DeployAutomationUtils ¶
func DeployAutomationUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AutomationUtils, error)
func NewAutomationUtils ¶
func NewAutomationUtils(address common.Address, backend bind.ContractBackend) (*AutomationUtils, error)
func (*AutomationUtils) Address ¶
func (_AutomationUtils *AutomationUtils) Address() common.Address
type AutomationUtilsCaller ¶
type AutomationUtilsCaller struct {
// contains filtered or unexported fields
}
func NewAutomationUtilsCaller ¶
func NewAutomationUtilsCaller(address common.Address, caller bind.ContractCaller) (*AutomationUtilsCaller, error)
type AutomationUtilsCallerRaw ¶
type AutomationUtilsCallerRaw struct {
Contract *AutomationUtilsCaller
}
type AutomationUtilsCallerSession ¶
type AutomationUtilsCallerSession struct { Contract *AutomationUtilsCaller CallOpts bind.CallOpts }
type AutomationUtilsFilterer ¶
type AutomationUtilsFilterer struct {
// contains filtered or unexported fields
}
func NewAutomationUtilsFilterer ¶
func NewAutomationUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*AutomationUtilsFilterer, error)
type AutomationUtilsInterface ¶
type AutomationUtilsInterface interface { ConditionalTrigger(opts *bind.TransactOpts, arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error) Log(opts *bind.TransactOpts, arg0 Log) (*types.Transaction, error) LogTrigger(opts *bind.TransactOpts, arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error) LogTriggerConfig(opts *bind.TransactOpts, arg0 LogTriggerConfig) (*types.Transaction, error) OnChainConfig(opts *bind.TransactOpts, arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error) Report(opts *bind.TransactOpts, arg0 KeeperRegistryBase21Report) (*types.Transaction, error) Address() common.Address }
type AutomationUtilsRaw ¶
type AutomationUtilsRaw struct {
Contract *AutomationUtils
}
func (*AutomationUtilsRaw) Call ¶
func (_AutomationUtils *AutomationUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*AutomationUtilsRaw) Transact ¶
func (_AutomationUtils *AutomationUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*AutomationUtilsRaw) Transfer ¶
func (_AutomationUtils *AutomationUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type AutomationUtilsSession ¶
type AutomationUtilsSession struct { Contract *AutomationUtils CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*AutomationUtilsSession) ConditionalTrigger ¶
func (_AutomationUtils *AutomationUtilsSession) ConditionalTrigger(arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error)
func (*AutomationUtilsSession) Log ¶
func (_AutomationUtils *AutomationUtilsSession) Log(arg0 Log) (*types.Transaction, error)
func (*AutomationUtilsSession) LogTrigger ¶
func (_AutomationUtils *AutomationUtilsSession) LogTrigger(arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error)
func (*AutomationUtilsSession) LogTriggerConfig ¶
func (_AutomationUtils *AutomationUtilsSession) LogTriggerConfig(arg0 LogTriggerConfig) (*types.Transaction, error)
func (*AutomationUtilsSession) OnChainConfig ¶
func (_AutomationUtils *AutomationUtilsSession) OnChainConfig(arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error)
func (*AutomationUtilsSession) Report ¶
func (_AutomationUtils *AutomationUtilsSession) Report(arg0 KeeperRegistryBase21Report) (*types.Transaction, error)
type AutomationUtilsTransactor ¶
type AutomationUtilsTransactor struct {
// contains filtered or unexported fields
}
func NewAutomationUtilsTransactor ¶
func NewAutomationUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*AutomationUtilsTransactor, error)
func (*AutomationUtilsTransactor) ConditionalTrigger ¶
func (_AutomationUtils *AutomationUtilsTransactor) ConditionalTrigger(opts *bind.TransactOpts, arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error)
func (*AutomationUtilsTransactor) Log ¶
func (_AutomationUtils *AutomationUtilsTransactor) Log(opts *bind.TransactOpts, arg0 Log) (*types.Transaction, error)
func (*AutomationUtilsTransactor) LogTrigger ¶
func (_AutomationUtils *AutomationUtilsTransactor) LogTrigger(opts *bind.TransactOpts, arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error)
func (*AutomationUtilsTransactor) LogTriggerConfig ¶
func (_AutomationUtils *AutomationUtilsTransactor) LogTriggerConfig(opts *bind.TransactOpts, arg0 LogTriggerConfig) (*types.Transaction, error)
func (*AutomationUtilsTransactor) OnChainConfig ¶
func (_AutomationUtils *AutomationUtilsTransactor) OnChainConfig(opts *bind.TransactOpts, arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error)
func (*AutomationUtilsTransactor) Report ¶
func (_AutomationUtils *AutomationUtilsTransactor) Report(opts *bind.TransactOpts, arg0 KeeperRegistryBase21Report) (*types.Transaction, error)
type AutomationUtilsTransactorRaw ¶
type AutomationUtilsTransactorRaw struct {
Contract *AutomationUtilsTransactor
}
func (*AutomationUtilsTransactorRaw) Transact ¶
func (_AutomationUtils *AutomationUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*AutomationUtilsTransactorRaw) Transfer ¶
func (_AutomationUtils *AutomationUtilsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type AutomationUtilsTransactorSession ¶
type AutomationUtilsTransactorSession struct { Contract *AutomationUtilsTransactor TransactOpts bind.TransactOpts }
func (*AutomationUtilsTransactorSession) ConditionalTrigger ¶
func (_AutomationUtils *AutomationUtilsTransactorSession) ConditionalTrigger(arg0 KeeperRegistryBase21ConditionalTrigger) (*types.Transaction, error)
func (*AutomationUtilsTransactorSession) Log ¶
func (_AutomationUtils *AutomationUtilsTransactorSession) Log(arg0 Log) (*types.Transaction, error)
func (*AutomationUtilsTransactorSession) LogTrigger ¶
func (_AutomationUtils *AutomationUtilsTransactorSession) LogTrigger(arg0 KeeperRegistryBase21LogTrigger) (*types.Transaction, error)
func (*AutomationUtilsTransactorSession) LogTriggerConfig ¶
func (_AutomationUtils *AutomationUtilsTransactorSession) LogTriggerConfig(arg0 LogTriggerConfig) (*types.Transaction, error)
func (*AutomationUtilsTransactorSession) OnChainConfig ¶
func (_AutomationUtils *AutomationUtilsTransactorSession) OnChainConfig(arg0 KeeperRegistryBase21OnchainConfig) (*types.Transaction, error)
func (*AutomationUtilsTransactorSession) Report ¶
func (_AutomationUtils *AutomationUtilsTransactorSession) Report(arg0 KeeperRegistryBase21Report) (*types.Transaction, error)
type KeeperRegistryBase21OnchainConfig ¶
type KeeperRegistryBase21OnchainConfig struct { PaymentPremiumPPB uint32 FlatFeeMicroLink uint32 CheckGasLimit uint32 StalenessSeconds *big.Int GasCeilingMultiplier uint16 MinUpkeepSpend *big.Int MaxPerformGas uint32 MaxCheckDataSize uint32 MaxPerformDataSize uint32 MaxRevertDataSize uint32 FallbackGasPrice *big.Int FallbackLinkPrice *big.Int Transcoder common.Address Registrars []common.Address UpkeepPrivilegeManager common.Address }
Click to show internal directories.
Click to hide internal directories.