Documentation ¶
Index ¶
- Variables
- type MercuryUpkeep
- type MercuryUpkeepCaller
- func (_MercuryUpkeep *MercuryUpkeepCaller) CallbackReturnBool(opts *bind.CallOpts) (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) CheckCallback(opts *bind.CallOpts, values [][]byte, extraData []byte) (bool, []byte, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) CheckUpkeep(opts *bind.CallOpts, data []byte) (bool, []byte, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) Counter(opts *bind.CallOpts) (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) Eligible(opts *bind.CallOpts) (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) FeedParamKey(opts *bind.CallOpts) (string, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) Feeds(opts *bind.CallOpts, arg0 *big.Int) (string, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) InitialBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) Interval(opts *bind.CallOpts) (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) PreviousPerformBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) ShouldRevertCallback(opts *bind.CallOpts) (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) TestRange(opts *bind.CallOpts) (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) TimeParamKey(opts *bind.CallOpts) (string, error)
- func (_MercuryUpkeep *MercuryUpkeepCaller) UseL1BlockNumber(opts *bind.CallOpts) (bool, error)
- type MercuryUpkeepCallerRaw
- type MercuryUpkeepCallerSession
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) CallbackReturnBool() (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) CheckCallback(values [][]byte, extraData []byte) (bool, []byte, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) CheckUpkeep(data []byte) (bool, []byte, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) Counter() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) Eligible() (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) FeedParamKey() (string, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) Feeds(arg0 *big.Int) (string, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) InitialBlock() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) Interval() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) PreviousPerformBlock() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) ShouldRevertCallback() (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) TestRange() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) TimeParamKey() (string, error)
- func (_MercuryUpkeep *MercuryUpkeepCallerSession) UseL1BlockNumber() (bool, error)
- type MercuryUpkeepFilterer
- func (_MercuryUpkeep *MercuryUpkeepFilterer) FilterMercuryPerformEvent(opts *bind.FilterOpts, origin []common.Address, sender []common.Address, ...) (*MercuryUpkeepMercuryPerformEventIterator, error)
- func (_MercuryUpkeep *MercuryUpkeepFilterer) ParseMercuryPerformEvent(log types.Log) (*MercuryUpkeepMercuryPerformEvent, error)
- func (_MercuryUpkeep *MercuryUpkeepFilterer) WatchMercuryPerformEvent(opts *bind.WatchOpts, sink chan<- *MercuryUpkeepMercuryPerformEvent, ...) (event.Subscription, error)
- type MercuryUpkeepInterface
- type MercuryUpkeepMercuryPerformEvent
- type MercuryUpkeepMercuryPerformEventIterator
- type MercuryUpkeepRaw
- func (_MercuryUpkeep *MercuryUpkeepRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MercuryUpkeep *MercuryUpkeepRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MercuryUpkeepSession
- func (_MercuryUpkeep *MercuryUpkeepSession) CallbackReturnBool() (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) CheckCallback(values [][]byte, extraData []byte) (bool, []byte, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) CheckUpkeep(data []byte) (bool, []byte, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) Counter() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) Eligible() (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) FeedParamKey() (string, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) Feeds(arg0 *big.Int) (string, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) InitialBlock() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) Interval() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) PerformUpkeep(performData []byte) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) PreviousPerformBlock() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) SetCallbackReturnBool(value bool) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) SetShouldRevertCallback(value bool) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) ShouldRevertCallback() (bool, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) TestRange() (*big.Int, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) TimeParamKey() (string, error)
- func (_MercuryUpkeep *MercuryUpkeepSession) UseL1BlockNumber() (bool, error)
- type MercuryUpkeepTransactor
- func (_MercuryUpkeep *MercuryUpkeepTransactor) PerformUpkeep(opts *bind.TransactOpts, performData []byte) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepTransactor) SetCallbackReturnBool(opts *bind.TransactOpts, value bool) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepTransactor) SetShouldRevertCallback(opts *bind.TransactOpts, value bool) (*types.Transaction, error)
- type MercuryUpkeepTransactorRaw
- type MercuryUpkeepTransactorSession
- func (_MercuryUpkeep *MercuryUpkeepTransactorSession) PerformUpkeep(performData []byte) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepTransactorSession) SetCallbackReturnBool(value bool) (*types.Transaction, error)
- func (_MercuryUpkeep *MercuryUpkeepTransactorSession) SetShouldRevertCallback(value bool) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var MercuryUpkeepABI = MercuryUpkeepMetaData.ABI
View Source
var MercuryUpkeepBin = MercuryUpkeepMetaData.Bin
View Source
var MercuryUpkeepMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_testRange\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_interval\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_useL1BlockNumber\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"feedParamKey\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"feeds\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"timeParamKey\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"FeedLookup\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"origin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"v0\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"v1\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"ed\",\"type\":\"bytes\"}],\"name\":\"MercuryPerformEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"callbackReturnBool\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"values\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"checkCallback\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"checkUpkeep\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"counter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eligible\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feedParamKey\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"feeds\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"interval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"performData\",\"type\":\"bytes\"}],\"name\":\"performUpkeep\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previousPerformBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"value\",\"type\":\"bool\"}],\"name\":\"setCallbackReturnBool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"value\",\"type\":\"bool\"}],\"name\":\"setShouldRevertCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"shouldRevertCallback\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"testRange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timeParamKey\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"useL1BlockNumber\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60a06040523480156200001157600080fd5b5060405162001312380380620013128339810160408190526200003491620001f7565b60008381556001839055600281905560038190556004556040805180820190915260098152680cccacac8928890caf60bb1b60208201526006906200007a9082620002dc565b5060405180604001604052806040518060800160405280604281526020016200128e604291398152602001604051806080016040528060428152602001620012d0604291399052620000d190600590600262000120565b5060408051808201909152600b81526a313637b1b5a73ab6b132b960a91b6020820152600790620001039082620002dc565b50151560805250506008805461ff001916610100179055620003a8565b8280548282559060005260206000209081019282156200016b579160200282015b828111156200016b57825182906200015a9082620002dc565b509160200191906001019062000141565b50620001799291506200017d565b5090565b80821115620001795760006200019482826200019e565b506001016200017d565b508054620001ac906200024d565b6000825580601f10620001bd575050565b601f016020900490600052602060002090810190620001dd9190620001e0565b50565b5b80821115620001795760008155600101620001e1565b6000806000606084860312156200020d57600080fd5b8351925060208401519150604084015180151581146200022c57600080fd5b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026257607f821691505b6020821081036200028357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002d757600081815260208120601f850160051c81016020861015620002b25750805b601f850160051c820191505b81811015620002d357828155600101620002be565b5050505b505050565b81516001600160401b03811115620002f857620002f862000237565b62000310816200030984546200024d565b8462000289565b602080601f8311600181146200034857600084156200032f5750858301515b600019600386901b1c1916600185901b178555620002d3565b600085815260208120601f198616915b82811015620003795788860151825594840194600190910190840162000358565b5085821015620003985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051610eb5620003d960003960008181610170015281816102bf015281816105ef01526107220152610eb56000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80635b48391a116100b2578063917d895f11610081578063afb28d1f11610066578063afb28d1f146102a3578063c98f10b0146102ab578063d832d92f146102b357600080fd5b8063917d895f14610291578063947a36fb1461029a57600080fd5b80635b48391a1461022757806361bc221a1461026c5780636250a13a146102755780636e04ff0d1461027e57600080fd5b80634585e33b116100ee5780634585e33b146101925780634a5479f3146101a75780634b56a42e146101c75780634bdb3862146101e857600080fd5b806302be021f14610120578063102d538b146101425780632cb15864146101545780632d02b93b1461016b575b600080fd5b60085461012d9060ff1681565b60405190151581526020015b60405180910390f35b60085461012d90610100900460ff1681565b61015d60035481565b604051908152602001610139565b61012d7f000000000000000000000000000000000000000000000000000000000000000081565b6101a56101a03660046107f1565b6102bb565b005b6101ba6101b5366004610863565b610414565b60405161013991906108e7565b6101da6101d5366004610a0d565b6104c0565b604051610139929190610af3565b6101a56101f6366004610b16565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6101a5610235366004610b16565b60088054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b61015d60045481565b61015d60005481565b6101da61028c3660046107f1565b610593565b61015d60025481565b61015d60015481565b6101ba6106f2565b6101ba6106ff565b61012d61070c565b60007f0000000000000000000000000000000000000000000000000000000000000000156102ea57504361035d565b606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035a9190610b38565b90505b60035460000361036d5760038190555b60008061037c84860186610a0d565b60028590556004549193509150610394906001610b80565b60045581518390339032907fec3208363089f292bf230caa1cd39f9dc25d98a341b935d9ebd7a95e2ec82af19086906000906103d2576103d2610b98565b6020026020010151866001815181106103ed576103ed610b98565b60200260200101518660405161040593929190610bc7565b60405180910390a45050505050565b6005818154811061042457600080fd5b90600052602060002001600091509050805461043f90610c0a565b80601f016020809104026020016040519081016040528092919081815260200182805461046b90610c0a565b80156104b85780601f1061048d576101008083540402835291602001916104b8565b820191906000526020600020905b81548152906001019060200180831161049b57829003601f168201915b505050505081565b60085460009060609060ff1615610538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f73686f756c6452657665727443616c6c6261636b20697320747275650000000060448201526064015b60405180910390fd5b6000848460405160200161054d929190610c5d565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152919052600854610100900460ff1693509150505b9250929050565b6000606061059f61070c565b6105eb576000848481818080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525095975091955061058c945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000001561061a57504361068d565b606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610666573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068a9190610b38565b90505b604080516c6400000000000000000000000060208201528151601481830301815260348201928390527f7ddd933e0000000000000000000000000000000000000000000000000000000090925261052f91600691600591600791869190603801610dce565b6006805461043f90610c0a565b6007805461043f90610c0a565b600060035460000361071e5750600190565b60007f00000000000000000000000000000000000000000000000000000000000000001561074d5750436107c0565b606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bd9190610b38565b90505b6000546003546107d09083610e91565b1080156107eb57506001546002546107e89083610e91565b10155b91505090565b6000806020838503121561080457600080fd5b823567ffffffffffffffff8082111561081c57600080fd5b818501915085601f83011261083057600080fd5b81358181111561083f57600080fd5b86602082850101111561085157600080fd5b60209290920196919550909350505050565b60006020828403121561087557600080fd5b5035919050565b6000815180845260005b818110156108a257602081850181015186830182015201610886565b818111156108b4576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006108fa602083018461087c565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561097757610977610901565b604052919050565b600082601f83011261099057600080fd5b813567ffffffffffffffff8111156109aa576109aa610901565b6109db60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610930565b8181528460208386010111156109f057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215610a2057600080fd5b823567ffffffffffffffff80821115610a3857600080fd5b818501915085601f830112610a4c57600080fd5b8135602082821115610a6057610a60610901565b8160051b610a6f828201610930565b928352848101820192828101908a851115610a8957600080fd5b83870192505b84831015610ac557823586811115610aa75760008081fd5b610ab58c86838b010161097f565b8352509183019190830190610a8f565b9750505086013592505080821115610adc57600080fd5b50610ae98582860161097f565b9150509250929050565b8215158152604060208201526000610b0e604083018461087c565b949350505050565b600060208284031215610b2857600080fd5b813580151581146108fa57600080fd5b600060208284031215610b4a57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610b9357610b93610b51565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b606081526000610bda606083018661087c565b8281036020840152610bec818661087c565b90508281036040840152610c00818561087c565b9695505050505050565b600181811c90821680610c1e57607f821691505b602082108103610c57577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b83811015610cd2577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888703018552610cc086835161087c565b95509382019390820190600101610c86565b505085840381870152505050610ce8818561087c565b95945050505050565b8054600090600181811c9080831680610d0b57607f831692505b60208084108203610d45577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b838852818015610d5c5760018114610d9457610dc2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616828a01528185151560051b8a01019650610dc2565b876000528160002060005b86811015610dba5781548b8201850152908501908301610d9f565b8a0183019750505b50505050505092915050565b60a081526000610de160a0830188610cf1565b6020838203818501528188548084528284019150828160051b8501018a6000528360002060005b83811015610e53577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0878403018552610e418383610cf1565b94860194925060019182019101610e08565b50508681036040880152610e67818b610cf1565b9450505050508460608401528281036080840152610e85818561087c565b98975050505050505050565b600082821015610ea357610ea3610b51565b50039056fea164736f6c634300080f000a307834353534343832643535353334343264343135323432343935343532353534643264353434353533353434653435353430303030303030303030303030303030307834323534343332643535353334343264343135323432343935343532353534643264353434353533353434653435353430303030303030303030303030303030",
}
Functions ¶
This section is empty.
Types ¶
type MercuryUpkeep ¶
type MercuryUpkeep struct { MercuryUpkeepCaller MercuryUpkeepTransactor MercuryUpkeepFilterer // contains filtered or unexported fields }
func DeployMercuryUpkeep ¶
func DeployMercuryUpkeep(auth *bind.TransactOpts, backend bind.ContractBackend, _testRange *big.Int, _interval *big.Int, _useL1BlockNumber bool) (common.Address, *types.Transaction, *MercuryUpkeep, error)
func NewMercuryUpkeep ¶
func NewMercuryUpkeep(address common.Address, backend bind.ContractBackend) (*MercuryUpkeep, error)
func (*MercuryUpkeep) Address ¶
func (_MercuryUpkeep *MercuryUpkeep) Address() common.Address
type MercuryUpkeepCaller ¶
type MercuryUpkeepCaller struct {
// contains filtered or unexported fields
}
func NewMercuryUpkeepCaller ¶
func NewMercuryUpkeepCaller(address common.Address, caller bind.ContractCaller) (*MercuryUpkeepCaller, error)
func (*MercuryUpkeepCaller) CallbackReturnBool ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCaller) CallbackReturnBool(opts *bind.CallOpts) (bool, error)
func (*MercuryUpkeepCaller) CheckCallback ¶ added in v2.3.0
func (*MercuryUpkeepCaller) CheckUpkeep ¶
func (*MercuryUpkeepCaller) Eligible ¶
func (_MercuryUpkeep *MercuryUpkeepCaller) Eligible(opts *bind.CallOpts) (bool, error)
func (*MercuryUpkeepCaller) FeedParamKey ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCaller) FeedParamKey(opts *bind.CallOpts) (string, error)
func (*MercuryUpkeepCaller) InitialBlock ¶
func (*MercuryUpkeepCaller) PreviousPerformBlock ¶
func (*MercuryUpkeepCaller) ShouldRevertCallback ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCaller) ShouldRevertCallback(opts *bind.CallOpts) (bool, error)
func (*MercuryUpkeepCaller) TimeParamKey ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCaller) TimeParamKey(opts *bind.CallOpts) (string, error)
func (*MercuryUpkeepCaller) UseL1BlockNumber ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCaller) UseL1BlockNumber(opts *bind.CallOpts) (bool, error)
type MercuryUpkeepCallerRaw ¶
type MercuryUpkeepCallerRaw struct {
Contract *MercuryUpkeepCaller
}
type MercuryUpkeepCallerSession ¶
type MercuryUpkeepCallerSession struct { Contract *MercuryUpkeepCaller CallOpts bind.CallOpts }
func (*MercuryUpkeepCallerSession) CallbackReturnBool ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCallerSession) CallbackReturnBool() (bool, error)
func (*MercuryUpkeepCallerSession) CheckCallback ¶ added in v2.3.0
func (*MercuryUpkeepCallerSession) CheckUpkeep ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) CheckUpkeep(data []byte) (bool, []byte, error)
func (*MercuryUpkeepCallerSession) Counter ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) Counter() (*big.Int, error)
func (*MercuryUpkeepCallerSession) Eligible ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) Eligible() (bool, error)
func (*MercuryUpkeepCallerSession) FeedParamKey ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCallerSession) FeedParamKey() (string, error)
func (*MercuryUpkeepCallerSession) Feeds ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) Feeds(arg0 *big.Int) (string, error)
func (*MercuryUpkeepCallerSession) InitialBlock ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) InitialBlock() (*big.Int, error)
func (*MercuryUpkeepCallerSession) Interval ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) Interval() (*big.Int, error)
func (*MercuryUpkeepCallerSession) PreviousPerformBlock ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) PreviousPerformBlock() (*big.Int, error)
func (*MercuryUpkeepCallerSession) ShouldRevertCallback ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCallerSession) ShouldRevertCallback() (bool, error)
func (*MercuryUpkeepCallerSession) TestRange ¶
func (_MercuryUpkeep *MercuryUpkeepCallerSession) TestRange() (*big.Int, error)
func (*MercuryUpkeepCallerSession) TimeParamKey ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCallerSession) TimeParamKey() (string, error)
func (*MercuryUpkeepCallerSession) UseL1BlockNumber ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepCallerSession) UseL1BlockNumber() (bool, error)
type MercuryUpkeepFilterer ¶
type MercuryUpkeepFilterer struct {
// contains filtered or unexported fields
}
func NewMercuryUpkeepFilterer ¶
func NewMercuryUpkeepFilterer(address common.Address, filterer bind.ContractFilterer) (*MercuryUpkeepFilterer, error)
func (*MercuryUpkeepFilterer) FilterMercuryPerformEvent ¶
func (_MercuryUpkeep *MercuryUpkeepFilterer) FilterMercuryPerformEvent(opts *bind.FilterOpts, origin []common.Address, sender []common.Address, blockNumber []*big.Int) (*MercuryUpkeepMercuryPerformEventIterator, error)
func (*MercuryUpkeepFilterer) ParseMercuryPerformEvent ¶
func (_MercuryUpkeep *MercuryUpkeepFilterer) ParseMercuryPerformEvent(log types.Log) (*MercuryUpkeepMercuryPerformEvent, error)
func (*MercuryUpkeepFilterer) WatchMercuryPerformEvent ¶
func (_MercuryUpkeep *MercuryUpkeepFilterer) WatchMercuryPerformEvent(opts *bind.WatchOpts, sink chan<- *MercuryUpkeepMercuryPerformEvent, origin []common.Address, sender []common.Address, blockNumber []*big.Int) (event.Subscription, error)
type MercuryUpkeepInterface ¶
type MercuryUpkeepInterface interface { CallbackReturnBool(opts *bind.CallOpts) (bool, error) CheckCallback(opts *bind.CallOpts, values [][]byte, extraData []byte) (bool, []byte, error) CheckUpkeep(opts *bind.CallOpts, data []byte) (bool, []byte, error) Counter(opts *bind.CallOpts) (*big.Int, error) Eligible(opts *bind.CallOpts) (bool, error) FeedParamKey(opts *bind.CallOpts) (string, error) Feeds(opts *bind.CallOpts, arg0 *big.Int) (string, error) InitialBlock(opts *bind.CallOpts) (*big.Int, error) Interval(opts *bind.CallOpts) (*big.Int, error) PreviousPerformBlock(opts *bind.CallOpts) (*big.Int, error) ShouldRevertCallback(opts *bind.CallOpts) (bool, error) TestRange(opts *bind.CallOpts) (*big.Int, error) TimeParamKey(opts *bind.CallOpts) (string, error) UseL1BlockNumber(opts *bind.CallOpts) (bool, error) PerformUpkeep(opts *bind.TransactOpts, performData []byte) (*types.Transaction, error) SetCallbackReturnBool(opts *bind.TransactOpts, value bool) (*types.Transaction, error) SetShouldRevertCallback(opts *bind.TransactOpts, value bool) (*types.Transaction, error) FilterMercuryPerformEvent(opts *bind.FilterOpts, origin []common.Address, sender []common.Address, blockNumber []*big.Int) (*MercuryUpkeepMercuryPerformEventIterator, error) WatchMercuryPerformEvent(opts *bind.WatchOpts, sink chan<- *MercuryUpkeepMercuryPerformEvent, origin []common.Address, sender []common.Address, blockNumber []*big.Int) (event.Subscription, error) ParseMercuryPerformEvent(log types.Log) (*MercuryUpkeepMercuryPerformEvent, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type MercuryUpkeepMercuryPerformEvent ¶
type MercuryUpkeepMercuryPerformEvent struct { Origin common.Address Sender common.Address BlockNumber *big.Int V0 []byte V1 []byte Ed []byte Raw types.Log }
func (MercuryUpkeepMercuryPerformEvent) Topic ¶
func (MercuryUpkeepMercuryPerformEvent) Topic() common.Hash
type MercuryUpkeepMercuryPerformEventIterator ¶
type MercuryUpkeepMercuryPerformEventIterator struct { Event *MercuryUpkeepMercuryPerformEvent // contains filtered or unexported fields }
func (*MercuryUpkeepMercuryPerformEventIterator) Close ¶
func (it *MercuryUpkeepMercuryPerformEventIterator) Close() error
func (*MercuryUpkeepMercuryPerformEventIterator) Error ¶
func (it *MercuryUpkeepMercuryPerformEventIterator) Error() error
func (*MercuryUpkeepMercuryPerformEventIterator) Next ¶
func (it *MercuryUpkeepMercuryPerformEventIterator) Next() bool
type MercuryUpkeepRaw ¶
type MercuryUpkeepRaw struct {
Contract *MercuryUpkeep
}
func (*MercuryUpkeepRaw) Call ¶
func (_MercuryUpkeep *MercuryUpkeepRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*MercuryUpkeepRaw) Transact ¶
func (_MercuryUpkeep *MercuryUpkeepRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*MercuryUpkeepRaw) Transfer ¶
func (_MercuryUpkeep *MercuryUpkeepRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type MercuryUpkeepSession ¶
type MercuryUpkeepSession struct { Contract *MercuryUpkeep CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*MercuryUpkeepSession) CallbackReturnBool ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) CallbackReturnBool() (bool, error)
func (*MercuryUpkeepSession) CheckCallback ¶ added in v2.3.0
func (*MercuryUpkeepSession) CheckUpkeep ¶
func (_MercuryUpkeep *MercuryUpkeepSession) CheckUpkeep(data []byte) (bool, []byte, error)
func (*MercuryUpkeepSession) Counter ¶
func (_MercuryUpkeep *MercuryUpkeepSession) Counter() (*big.Int, error)
func (*MercuryUpkeepSession) Eligible ¶
func (_MercuryUpkeep *MercuryUpkeepSession) Eligible() (bool, error)
func (*MercuryUpkeepSession) FeedParamKey ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) FeedParamKey() (string, error)
func (*MercuryUpkeepSession) Feeds ¶
func (_MercuryUpkeep *MercuryUpkeepSession) Feeds(arg0 *big.Int) (string, error)
func (*MercuryUpkeepSession) InitialBlock ¶
func (_MercuryUpkeep *MercuryUpkeepSession) InitialBlock() (*big.Int, error)
func (*MercuryUpkeepSession) Interval ¶
func (_MercuryUpkeep *MercuryUpkeepSession) Interval() (*big.Int, error)
func (*MercuryUpkeepSession) PerformUpkeep ¶
func (_MercuryUpkeep *MercuryUpkeepSession) PerformUpkeep(performData []byte) (*types.Transaction, error)
func (*MercuryUpkeepSession) PreviousPerformBlock ¶
func (_MercuryUpkeep *MercuryUpkeepSession) PreviousPerformBlock() (*big.Int, error)
func (*MercuryUpkeepSession) SetCallbackReturnBool ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) SetCallbackReturnBool(value bool) (*types.Transaction, error)
func (*MercuryUpkeepSession) SetShouldRevertCallback ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) SetShouldRevertCallback(value bool) (*types.Transaction, error)
func (*MercuryUpkeepSession) ShouldRevertCallback ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) ShouldRevertCallback() (bool, error)
func (*MercuryUpkeepSession) TestRange ¶
func (_MercuryUpkeep *MercuryUpkeepSession) TestRange() (*big.Int, error)
func (*MercuryUpkeepSession) TimeParamKey ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) TimeParamKey() (string, error)
func (*MercuryUpkeepSession) UseL1BlockNumber ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepSession) UseL1BlockNumber() (bool, error)
type MercuryUpkeepTransactor ¶
type MercuryUpkeepTransactor struct {
// contains filtered or unexported fields
}
func NewMercuryUpkeepTransactor ¶
func NewMercuryUpkeepTransactor(address common.Address, transactor bind.ContractTransactor) (*MercuryUpkeepTransactor, error)
func (*MercuryUpkeepTransactor) PerformUpkeep ¶
func (_MercuryUpkeep *MercuryUpkeepTransactor) PerformUpkeep(opts *bind.TransactOpts, performData []byte) (*types.Transaction, error)
func (*MercuryUpkeepTransactor) SetCallbackReturnBool ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepTransactor) SetCallbackReturnBool(opts *bind.TransactOpts, value bool) (*types.Transaction, error)
func (*MercuryUpkeepTransactor) SetShouldRevertCallback ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepTransactor) SetShouldRevertCallback(opts *bind.TransactOpts, value bool) (*types.Transaction, error)
type MercuryUpkeepTransactorRaw ¶
type MercuryUpkeepTransactorRaw struct {
Contract *MercuryUpkeepTransactor
}
func (*MercuryUpkeepTransactorRaw) Transact ¶
func (_MercuryUpkeep *MercuryUpkeepTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*MercuryUpkeepTransactorRaw) Transfer ¶
func (_MercuryUpkeep *MercuryUpkeepTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type MercuryUpkeepTransactorSession ¶
type MercuryUpkeepTransactorSession struct { Contract *MercuryUpkeepTransactor TransactOpts bind.TransactOpts }
func (*MercuryUpkeepTransactorSession) PerformUpkeep ¶
func (_MercuryUpkeep *MercuryUpkeepTransactorSession) PerformUpkeep(performData []byte) (*types.Transaction, error)
func (*MercuryUpkeepTransactorSession) SetCallbackReturnBool ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepTransactorSession) SetCallbackReturnBool(value bool) (*types.Transaction, error)
func (*MercuryUpkeepTransactorSession) SetShouldRevertCallback ¶ added in v2.3.0
func (_MercuryUpkeep *MercuryUpkeepTransactorSession) SetShouldRevertCallback(value bool) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.