Documentation
¶
Index ¶
- Variables
- type BaseExampleProcessor
- func (h *BaseExampleProcessor) Initialize(ctx context.Context, start uint64, tx *example.TestInput, ...) error
- func (h *BaseExampleProcessor) ProcessElement(p interface{}) ...
- func (h *BaseExampleProcessor) ProcessExampleEvent(ctx context.Context, e ExampleExampleEvent) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error)
- func (h *BaseExampleProcessor) ProcessWithdrawalQueued(ctx context.Context, e ExampleWithdrawalQueued) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error)
- func (h *BaseExampleProcessor) Setup(ctx context.Context, address common.Address, eth interface{ ... }, ...) error
- func (h *BaseExampleProcessor) UnpackLog(out interface{}, event string, log types.Log) error
- type Example
- type ExampleCaller
- type ExampleCallerRaw
- type ExampleCallerSession
- type ExampleExampleEvent
- type ExampleExampleEventIterator
- type ExampleFilterer
- func (_Example *ExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*ExampleExampleEventIterator, error)
- func (_Example *ExampleFilterer) FilterWithdrawalQueued(opts *bind.FilterOpts) (*ExampleWithdrawalQueuedIterator, error)
- func (_Example *ExampleFilterer) ParseExampleEvent(log types.Log) (*ExampleExampleEvent, error)
- func (_Example *ExampleFilterer) ParseWithdrawalQueued(log types.Log) (*ExampleWithdrawalQueued, error)
- func (_Example *ExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *ExampleExampleEvent) (event.Subscription, error)
- func (_Example *ExampleFilterer) WatchWithdrawalQueued(opts *bind.WatchOpts, sink chan<- *ExampleWithdrawalQueued) (event.Subscription, error)
- type ExampleProcessor
- type ExampleRaw
- func (_Example *ExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Example *ExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Example *ExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ExampleSession
- type ExampleTransactor
- type ExampleTransactorRaw
- type ExampleTransactorSession
- type ExampleWithdrawalQueued
- type ExampleWithdrawalQueuedIterator
- type FakeExample
- type FakeExampleCaller
- type FakeExampleCallerRaw
- type FakeExampleCallerSession
- type FakeExampleExampleEvent
- type FakeExampleExampleEventIterator
- type FakeExampleFilterer
- func (_FakeExample *FakeExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*FakeExampleExampleEventIterator, error)
- func (_FakeExample *FakeExampleFilterer) FilterWithdrawalQueued(opts *bind.FilterOpts) (*FakeExampleWithdrawalQueuedIterator, error)
- func (_FakeExample *FakeExampleFilterer) ParseExampleEvent(log types.Log) (*FakeExampleExampleEvent, error)
- func (_FakeExample *FakeExampleFilterer) ParseWithdrawalQueued(log types.Log) (*FakeExampleWithdrawalQueued, error)
- func (_FakeExample *FakeExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *FakeExampleExampleEvent) (event.Subscription, error)
- func (_FakeExample *FakeExampleFilterer) WatchWithdrawalQueued(opts *bind.WatchOpts, sink chan<- *FakeExampleWithdrawalQueued) (event.Subscription, error)
- type FakeExampleRaw
- func (_FakeExample *FakeExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FakeExample *FakeExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FakeExample *FakeExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FakeExampleSession
- func (_FakeExample *FakeExampleSession) ExampleValue() (string, error)
- func (_FakeExample *FakeExampleSession) FakeEmitExampleEvent(value string) (*types.Transaction, error)
- func (_FakeExample *FakeExampleSession) FakeEmitWithdrawalQueued(withdrawalRoot [32]byte, withdrawal FakeExampleWithdrawal) (*types.Transaction, error)
- func (_FakeExample *FakeExampleSession) FakeSetExampleValue(retstringExampleValue0 string) (*types.Transaction, error)
- type FakeExampleTransactor
- func (_FakeExample *FakeExampleTransactor) FakeEmitExampleEvent(opts *bind.TransactOpts, value string) (*types.Transaction, error)
- func (_FakeExample *FakeExampleTransactor) FakeEmitWithdrawalQueued(opts *bind.TransactOpts, withdrawalRoot [32]byte, ...) (*types.Transaction, error)
- func (_FakeExample *FakeExampleTransactor) FakeSetExampleValue(opts *bind.TransactOpts, retstringExampleValue0 string) (*types.Transaction, error)
- type FakeExampleTransactorRaw
- type FakeExampleTransactorSession
- func (_FakeExample *FakeExampleTransactorSession) FakeEmitExampleEvent(value string) (*types.Transaction, error)
- func (_FakeExample *FakeExampleTransactorSession) FakeEmitWithdrawalQueued(withdrawalRoot [32]byte, withdrawal FakeExampleWithdrawal) (*types.Transaction, error)
- func (_FakeExample *FakeExampleTransactorSession) FakeSetExampleValue(retstringExampleValue0 string) (*types.Transaction, error)
- type FakeExampleWithdrawal
- type FakeExampleWithdrawalQueued
- type FakeExampleWithdrawalQueuedIterator
- type IDelegationManagerWithdrawal
Constants ¶
This section is empty.
Variables ¶
var ExampleABI = ExampleMetaData.ABI
ExampleABI is the input ABI used to generate the binding from. Deprecated: Use ExampleMetaData.ABI instead.
var ExampleBin = ExampleMetaData.Bin
ExampleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ExampleMetaData.Bin instead.
var ExampleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"ExampleEvent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"exampleValue\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"withdrawalRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatedTo\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"withdrawer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"startBlock\",\"type\":\"uint32\"},{\"internalType\":\"contractIStrategy[]\",\"name\":\"strategies\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"indexed\":false,\"internalType\":\"structIDelegationManager.Withdrawal\",\"name\":\"withdrawal\",\"type\":\"tuple\"}],\"name\":\"WithdrawalQueued\",\"type\":\"event\"}]",
Bin: "0x60c0604052600660808190526532ba3433b2b760d11b60a0908152610027916000919061003a565b5034801561003457600080fd5b5061010e565b828054610046906100d3565b90600052602060002090601f01602090048101928261006857600085556100ae565b82601f1061008157805160ff19168380011785556100ae565b828001600101855582156100ae579182015b828111156100ae578251825591602001919060010190610093565b506100ba9291506100be565b5090565b5b808211156100ba57600081556001016100bf565b600181811c908216806100e757607f821691505b6020821081141561010857634e487b7160e01b600052602260045260246000fd5b50919050565b6101a68061011d6000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063d8f7c4cf14610030575b600080fd5b61003861004e565b60405161004591906100e0565b60405180910390f35b60606000805461005d90610135565b80601f016020809104026020016040519081016040528092919081815260200182805461008990610135565b80156100d65780601f106100ab576101008083540402835291602001916100d6565b820191906000526020600020905b8154815290600101906020018083116100b957829003601f168201915b5050505050905090565b600060208083528351808285015260005b8181101561010d578581018301518582016040015282016100f1565b8181111561011f576000604083870101525b50601f01601f1916929092016040019392505050565b600181811c9082168061014957607f821691505b6020821081141561016a57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220d432acfc601a55b38872c4482f4ff23a49d4b5ed1caa9f6ba25dbf74dff0072364736f6c634300080a0033",
}
ExampleMetaData contains all meta data concerning the Example contract.
var FakeExampleABI = FakeExampleMetaData.ABI
FakeExampleABI is the input ABI used to generate the binding from. Deprecated: Use FakeExampleMetaData.ABI instead.
var FakeExampleBin = FakeExampleMetaData.Bin
FakeExampleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FakeExampleMetaData.Bin instead.
var FakeExampleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"ExampleEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"withdrawalRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatedTo\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"withdrawer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"startBlock\",\"type\":\"uint32\"},{\"internalType\":\"address[]\",\"name\":\"strategies\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"indexed\":false,\"internalType\":\"structFakeExample.Withdrawal\",\"name\":\"withdrawal\",\"type\":\"tuple\"}],\"name\":\"WithdrawalQueued\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"exampleValue\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"}],\"name\":\"fakeEmitExampleEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"withdrawalRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatedTo\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"withdrawer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"startBlock\",\"type\":\"uint32\"},{\"internalType\":\"address[]\",\"name\":\"strategies\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"internalType\":\"structFakeExample.Withdrawal\",\"name\":\"withdrawal\",\"type\":\"tuple\"}],\"name\":\"fakeEmitWithdrawalQueued\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"retstringExampleValue0\",\"type\":\"string\"}],\"name\":\"fakeSetExampleValue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610720806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063010ac9251461005157806399c9c6dc14610066578063b8290c1a14610079578063d8f7c4cf1461008c575b600080fd5b61006461005f366004610448565b6100aa565b005b610064610074366004610360565b6100e4565b610064610087366004610448565b610121565b610094610138565b6040516100a191906105f8565b60405180910390f35b7fb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70816040516100d991906105f8565b60405180910390a150565b7f9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9828260405161011592919061055e565b60405180910390a15050565b80516101349060009060208401906101ca565b5050565b60606000805461014790610699565b80601f016020809104026020016040519081016040528092919081815260200182805461017390610699565b80156101c05780601f10610195576101008083540402835291602001916101c0565b820191906000526020600020905b8154815290600101906020018083116101a357829003601f168201915b5050505050905090565b8280546101d690610699565b90600052602060002090601f0160209004810192826101f8576000855561023e565b82601f1061021157805160ff191683800117855561023e565b8280016001018555821561023e579182015b8281111561023e578251825591602001919060010190610223565b5061024a92915061024e565b5090565b5b8082111561024a576000815560010161024f565b80356001600160a01b038116811461027a57600080fd5b919050565b600082601f83011261028f578081fd5b813560206102a461029f83610675565b61064b565b82815281810190858301838502870184018810156102c0578586fd5b855b858110156102e5576102d382610263565b845292840192908401906001016102c2565b5090979650505050505050565b600082601f830112610302578081fd5b8135602061031261029f83610675565b828152818101908583018385028701840188101561032e578586fd5b855b858110156102e557813584529284019290840190600101610330565b803563ffffffff8116811461027a57600080fd5b60008060408385031215610372578182fd5b82359150602083013567ffffffffffffffff80821115610390578283fd5b9084019060e082870312156103a3578283fd5b6103ad60e061064b565b6103b683610263565b81526103c460208401610263565b60208201526103d560408401610263565b6040820152606083013560608201526103f06080840161034c565b608082015260a083013582811115610406578485fd5b6104128882860161027f565b60a08301525060c083013582811115610429578485fd5b610435888286016102f2565b60c0830152508093505050509250929050565b6000602080838503121561045a578182fd5b823567ffffffffffffffff80821115610471578384fd5b818501915085601f830112610484578384fd5b813581811115610496576104966106d4565b6104a8601f8201601f1916850161064b565b915080825286848285010111156104bd578485fd5b80848401858401378101909201929092529392505050565b6001600160a01b03169052565b6000815180845260208085019450808401835b8381101561051a5781516001600160a01b0316875295820195908201906001016104f5565b509495945050505050565b6000815180845260208085019450808401835b8381101561051a57815187529582019590820190600101610538565b63ffffffff169052565b8281526040602080830182905283516001600160a01b03908116838501529084015116606083015282015160009061059960808401826104d5565b50606083015160a083015260808301516105b660c0840182610554565b5060a083015160e0808401526105d06101208401826104e2565b905060c0840151603f19848303016101008501526105ee8282610525565b9695505050505050565b6000602080835283518082850152825b8181101561062457858101830151858201604001528201610608565b818111156106355783604083870101525b50601f01601f1916929092016040019392505050565b60405181810167ffffffffffffffff8111828210171561066d5761066d6106d4565b604052919050565b600067ffffffffffffffff82111561068f5761068f6106d4565b5060209081020190565b6002810460018216806106ad57607f821691505b602082108114156106ce57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220c9248ede3cc4432c6e1c60cffc57509c702885714d22828161c7e619d9a192da64736f6c63430008000033",
}
FakeExampleMetaData contains all meta data concerning the FakeExample contract.
Functions ¶
This section is empty.
Types ¶
type BaseExampleProcessor ¶ added in v0.0.7
type BaseExampleProcessor struct { Address common.Address ABI abi.ABI Contract *Example Eth interface { ethereum.ChainReader ethereum.ChainStateReader ethereum.TransactionReader bind.ContractBackend } }
func (*BaseExampleProcessor) Initialize ¶ added in v0.0.7
func (h *BaseExampleProcessor) Initialize(ctx context.Context, start uint64, tx *example.TestInput, testtx *testexample.TestInput) error
func (*BaseExampleProcessor) ProcessElement ¶ added in v0.0.7
func (*BaseExampleProcessor) ProcessExampleEvent ¶ added in v0.0.7
func (h *BaseExampleProcessor) ProcessExampleEvent(ctx context.Context, e ExampleExampleEvent) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error)
func (*BaseExampleProcessor) ProcessWithdrawalQueued ¶ added in v0.0.22
func (h *BaseExampleProcessor) ProcessWithdrawalQueued(ctx context.Context, e ExampleWithdrawalQueued) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error)
type Example ¶
type Example struct { ExampleCaller // Read-only binding to the contract ExampleTransactor // Write-only binding to the contract ExampleFilterer // Log filterer for contract events }
Example is an auto generated Go binding around an Ethereum contract.
func DeployExample ¶
func DeployExample(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Example, error)
DeployExample deploys a new Ethereum contract, binding an instance of Example to it.
func NewExample ¶
NewExample creates a new instance of Example, bound to a specific deployed contract.
type ExampleCaller ¶
type ExampleCaller struct {
// contains filtered or unexported fields
}
ExampleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewExampleCaller ¶
func NewExampleCaller(address common.Address, caller bind.ContractCaller) (*ExampleCaller, error)
NewExampleCaller creates a new read-only instance of Example, bound to a specific deployed contract.
func (*ExampleCaller) ExampleValue ¶
func (_Example *ExampleCaller) ExampleValue(opts *bind.CallOpts) (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type ExampleCallerRaw ¶
type ExampleCallerRaw struct {
Contract *ExampleCaller // Generic read-only contract binding to access the raw methods on
}
ExampleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ExampleCallerRaw) Call ¶
func (_Example *ExampleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ExampleCallerSession ¶
type ExampleCallerSession struct { Contract *ExampleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ExampleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ExampleCallerSession) ExampleValue ¶
func (_Example *ExampleCallerSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type ExampleExampleEvent ¶
type ExampleExampleEvent struct { Value string Raw types.Log // Blockchain specific contextual infos }
ExampleExampleEvent represents a ExampleEvent event raised by the Example contract.
type ExampleExampleEventIterator ¶
type ExampleExampleEventIterator struct { Event *ExampleExampleEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExampleExampleEventIterator is returned from FilterExampleEvent and is used to iterate over the raw logs and unpacked data for ExampleEvent events raised by the Example contract.
func (*ExampleExampleEventIterator) Close ¶
func (it *ExampleExampleEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExampleExampleEventIterator) Error ¶
func (it *ExampleExampleEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExampleExampleEventIterator) Next ¶
func (it *ExampleExampleEventIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExampleFilterer ¶
type ExampleFilterer struct {
// contains filtered or unexported fields
}
ExampleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewExampleFilterer ¶
func NewExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*ExampleFilterer, error)
NewExampleFilterer creates a new log filterer instance of Example, bound to a specific deployed contract.
func (*ExampleFilterer) FilterExampleEvent ¶
func (_Example *ExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*ExampleExampleEventIterator, error)
FilterExampleEvent is a free log retrieval operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*ExampleFilterer) FilterWithdrawalQueued ¶ added in v0.0.22
func (_Example *ExampleFilterer) FilterWithdrawalQueued(opts *bind.FilterOpts) (*ExampleWithdrawalQueuedIterator, error)
FilterWithdrawalQueued is a free log retrieval operation binding the contract event 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9.
Solidity: event WithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal)
func (*ExampleFilterer) ParseExampleEvent ¶
func (_Example *ExampleFilterer) ParseExampleEvent(log types.Log) (*ExampleExampleEvent, error)
ParseExampleEvent is a log parse operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*ExampleFilterer) ParseWithdrawalQueued ¶ added in v0.0.22
func (_Example *ExampleFilterer) ParseWithdrawalQueued(log types.Log) (*ExampleWithdrawalQueued, error)
ParseWithdrawalQueued is a log parse operation binding the contract event 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9.
Solidity: event WithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal)
func (*ExampleFilterer) WatchExampleEvent ¶
func (_Example *ExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *ExampleExampleEvent) (event.Subscription, error)
WatchExampleEvent is a free log subscription operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*ExampleFilterer) WatchWithdrawalQueued ¶ added in v0.0.22
func (_Example *ExampleFilterer) WatchWithdrawalQueued(opts *bind.WatchOpts, sink chan<- *ExampleWithdrawalQueued) (event.Subscription, error)
WatchWithdrawalQueued is a free log subscription operation binding the contract event 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9.
Solidity: event WithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal)
type ExampleProcessor ¶
type ExampleProcessor interface { Setup(ctx context.Context, address common.Address, eth interface { ethereum.ChainReader ethereum.ChainStateReader ethereum.TransactionReader bind.ContractBackend }, i *example.TestInput) error Initialize(ctx context.Context, start uint64, tx *example.TestInput, testtx *testexample.TestInput) error ProcessExampleEvent(ctx context.Context, e ExampleExampleEvent) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error) ProcessWithdrawalQueued(ctx context.Context, e ExampleWithdrawalQueued) (func(tx *example.TestInput, testtx *testexample.TestInput) error, error) // contains filtered or unexported methods }
type ExampleRaw ¶
type ExampleRaw struct {
Contract *Example // Generic contract binding to access the raw methods on
}
ExampleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ExampleRaw) Call ¶
func (_Example *ExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ExampleRaw) Transact ¶
func (_Example *ExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExampleRaw) Transfer ¶
func (_Example *ExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ExampleSession ¶
type ExampleSession struct { Contract *Example // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ExampleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ExampleSession) ExampleValue ¶
func (_Example *ExampleSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type ExampleTransactor ¶
type ExampleTransactor struct {
// contains filtered or unexported fields
}
ExampleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewExampleTransactor ¶
func NewExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*ExampleTransactor, error)
NewExampleTransactor creates a new write-only instance of Example, bound to a specific deployed contract.
type ExampleTransactorRaw ¶
type ExampleTransactorRaw struct {
Contract *ExampleTransactor // Generic write-only contract binding to access the raw methods on
}
ExampleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ExampleTransactorRaw) Transact ¶
func (_Example *ExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExampleTransactorRaw) Transfer ¶
func (_Example *ExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ExampleTransactorSession ¶
type ExampleTransactorSession struct { Contract *ExampleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ExampleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ExampleWithdrawalQueued ¶ added in v0.0.22
type ExampleWithdrawalQueued struct { WithdrawalRoot [32]byte Withdrawal IDelegationManagerWithdrawal Raw types.Log // Blockchain specific contextual infos }
ExampleWithdrawalQueued represents a WithdrawalQueued event raised by the Example contract.
type ExampleWithdrawalQueuedIterator ¶ added in v0.0.22
type ExampleWithdrawalQueuedIterator struct { Event *ExampleWithdrawalQueued // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExampleWithdrawalQueuedIterator is returned from FilterWithdrawalQueued and is used to iterate over the raw logs and unpacked data for WithdrawalQueued events raised by the Example contract.
func (*ExampleWithdrawalQueuedIterator) Close ¶ added in v0.0.22
func (it *ExampleWithdrawalQueuedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExampleWithdrawalQueuedIterator) Error ¶ added in v0.0.22
func (it *ExampleWithdrawalQueuedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExampleWithdrawalQueuedIterator) Next ¶ added in v0.0.22
func (it *ExampleWithdrawalQueuedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type FakeExample ¶
type FakeExample struct { FakeExampleCaller // Read-only binding to the contract FakeExampleTransactor // Write-only binding to the contract FakeExampleFilterer // Log filterer for contract events }
FakeExample is an auto generated Go binding around an Ethereum contract.
func DeployFakeExample ¶
func DeployFakeExample(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *FakeExample, error)
DeployFakeExample deploys a new Ethereum contract, binding an instance of FakeExample to it.
func NewFakeExample ¶
func NewFakeExample(address common.Address, backend bind.ContractBackend) (*FakeExample, error)
NewFakeExample creates a new instance of FakeExample, bound to a specific deployed contract.
type FakeExampleCaller ¶
type FakeExampleCaller struct {
// contains filtered or unexported fields
}
FakeExampleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFakeExampleCaller ¶
func NewFakeExampleCaller(address common.Address, caller bind.ContractCaller) (*FakeExampleCaller, error)
NewFakeExampleCaller creates a new read-only instance of FakeExample, bound to a specific deployed contract.
func (*FakeExampleCaller) ExampleValue ¶
func (_FakeExample *FakeExampleCaller) ExampleValue(opts *bind.CallOpts) (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type FakeExampleCallerRaw ¶
type FakeExampleCallerRaw struct {
Contract *FakeExampleCaller // Generic read-only contract binding to access the raw methods on
}
FakeExampleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FakeExampleCallerRaw) Call ¶
func (_FakeExample *FakeExampleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type FakeExampleCallerSession ¶
type FakeExampleCallerSession struct { Contract *FakeExampleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FakeExampleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FakeExampleCallerSession) ExampleValue ¶
func (_FakeExample *FakeExampleCallerSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
type FakeExampleExampleEvent ¶
type FakeExampleExampleEvent struct { Value string Raw types.Log // Blockchain specific contextual infos }
FakeExampleExampleEvent represents a ExampleEvent event raised by the FakeExample contract.
type FakeExampleExampleEventIterator ¶
type FakeExampleExampleEventIterator struct { Event *FakeExampleExampleEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FakeExampleExampleEventIterator is returned from FilterExampleEvent and is used to iterate over the raw logs and unpacked data for ExampleEvent events raised by the FakeExample contract.
func (*FakeExampleExampleEventIterator) Close ¶
func (it *FakeExampleExampleEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FakeExampleExampleEventIterator) Error ¶
func (it *FakeExampleExampleEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FakeExampleExampleEventIterator) Next ¶
func (it *FakeExampleExampleEventIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type FakeExampleFilterer ¶
type FakeExampleFilterer struct {
// contains filtered or unexported fields
}
FakeExampleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFakeExampleFilterer ¶
func NewFakeExampleFilterer(address common.Address, filterer bind.ContractFilterer) (*FakeExampleFilterer, error)
NewFakeExampleFilterer creates a new log filterer instance of FakeExample, bound to a specific deployed contract.
func (*FakeExampleFilterer) FilterExampleEvent ¶
func (_FakeExample *FakeExampleFilterer) FilterExampleEvent(opts *bind.FilterOpts) (*FakeExampleExampleEventIterator, error)
FilterExampleEvent is a free log retrieval operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*FakeExampleFilterer) FilterWithdrawalQueued ¶ added in v0.0.22
func (_FakeExample *FakeExampleFilterer) FilterWithdrawalQueued(opts *bind.FilterOpts) (*FakeExampleWithdrawalQueuedIterator, error)
FilterWithdrawalQueued is a free log retrieval operation binding the contract event 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9.
Solidity: event WithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal)
func (*FakeExampleFilterer) ParseExampleEvent ¶
func (_FakeExample *FakeExampleFilterer) ParseExampleEvent(log types.Log) (*FakeExampleExampleEvent, error)
ParseExampleEvent is a log parse operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*FakeExampleFilterer) ParseWithdrawalQueued ¶ added in v0.0.22
func (_FakeExample *FakeExampleFilterer) ParseWithdrawalQueued(log types.Log) (*FakeExampleWithdrawalQueued, error)
ParseWithdrawalQueued is a log parse operation binding the contract event 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9.
Solidity: event WithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal)
func (*FakeExampleFilterer) WatchExampleEvent ¶
func (_FakeExample *FakeExampleFilterer) WatchExampleEvent(opts *bind.WatchOpts, sink chan<- *FakeExampleExampleEvent) (event.Subscription, error)
WatchExampleEvent is a free log subscription operation binding the contract event 0xb74a38eb2ebca56512a2bb0283f335555a4a4dac46ab998d65fd76f9027dca70.
Solidity: event ExampleEvent(string value)
func (*FakeExampleFilterer) WatchWithdrawalQueued ¶ added in v0.0.22
func (_FakeExample *FakeExampleFilterer) WatchWithdrawalQueued(opts *bind.WatchOpts, sink chan<- *FakeExampleWithdrawalQueued) (event.Subscription, error)
WatchWithdrawalQueued is a free log subscription operation binding the contract event 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9.
Solidity: event WithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal)
type FakeExampleRaw ¶
type FakeExampleRaw struct {
Contract *FakeExample // Generic contract binding to access the raw methods on
}
FakeExampleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FakeExampleRaw) Call ¶
func (_FakeExample *FakeExampleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*FakeExampleRaw) Transact ¶
func (_FakeExample *FakeExampleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FakeExampleRaw) Transfer ¶
func (_FakeExample *FakeExampleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type FakeExampleSession ¶
type FakeExampleSession struct { Contract *FakeExample // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FakeExampleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FakeExampleSession) ExampleValue ¶
func (_FakeExample *FakeExampleSession) ExampleValue() (string, error)
ExampleValue is a free data retrieval call binding the contract method 0xd8f7c4cf.
Solidity: function exampleValue() view returns(string)
func (*FakeExampleSession) FakeEmitExampleEvent ¶
func (_FakeExample *FakeExampleSession) FakeEmitExampleEvent(value string) (*types.Transaction, error)
FakeEmitExampleEvent is a paid mutator transaction binding the contract method 0x010ac925.
Solidity: function fakeEmitExampleEvent(string value) returns()
func (*FakeExampleSession) FakeEmitWithdrawalQueued ¶ added in v0.0.22
func (_FakeExample *FakeExampleSession) FakeEmitWithdrawalQueued(withdrawalRoot [32]byte, withdrawal FakeExampleWithdrawal) (*types.Transaction, error)
FakeEmitWithdrawalQueued is a paid mutator transaction binding the contract method 0x99c9c6dc.
Solidity: function fakeEmitWithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal) returns()
func (*FakeExampleSession) FakeSetExampleValue ¶
func (_FakeExample *FakeExampleSession) FakeSetExampleValue(retstringExampleValue0 string) (*types.Transaction, error)
FakeSetExampleValue is a paid mutator transaction binding the contract method 0xb8290c1a.
Solidity: function fakeSetExampleValue(string retstringExampleValue0) returns()
type FakeExampleTransactor ¶
type FakeExampleTransactor struct {
// contains filtered or unexported fields
}
FakeExampleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFakeExampleTransactor ¶
func NewFakeExampleTransactor(address common.Address, transactor bind.ContractTransactor) (*FakeExampleTransactor, error)
NewFakeExampleTransactor creates a new write-only instance of FakeExample, bound to a specific deployed contract.
func (*FakeExampleTransactor) FakeEmitExampleEvent ¶
func (_FakeExample *FakeExampleTransactor) FakeEmitExampleEvent(opts *bind.TransactOpts, value string) (*types.Transaction, error)
FakeEmitExampleEvent is a paid mutator transaction binding the contract method 0x010ac925.
Solidity: function fakeEmitExampleEvent(string value) returns()
func (*FakeExampleTransactor) FakeEmitWithdrawalQueued ¶ added in v0.0.22
func (_FakeExample *FakeExampleTransactor) FakeEmitWithdrawalQueued(opts *bind.TransactOpts, withdrawalRoot [32]byte, withdrawal FakeExampleWithdrawal) (*types.Transaction, error)
FakeEmitWithdrawalQueued is a paid mutator transaction binding the contract method 0x99c9c6dc.
Solidity: function fakeEmitWithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal) returns()
func (*FakeExampleTransactor) FakeSetExampleValue ¶
func (_FakeExample *FakeExampleTransactor) FakeSetExampleValue(opts *bind.TransactOpts, retstringExampleValue0 string) (*types.Transaction, error)
FakeSetExampleValue is a paid mutator transaction binding the contract method 0xb8290c1a.
Solidity: function fakeSetExampleValue(string retstringExampleValue0) returns()
type FakeExampleTransactorRaw ¶
type FakeExampleTransactorRaw struct {
Contract *FakeExampleTransactor // Generic write-only contract binding to access the raw methods on
}
FakeExampleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FakeExampleTransactorRaw) Transact ¶
func (_FakeExample *FakeExampleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FakeExampleTransactorRaw) Transfer ¶
func (_FakeExample *FakeExampleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type FakeExampleTransactorSession ¶
type FakeExampleTransactorSession struct { Contract *FakeExampleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FakeExampleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FakeExampleTransactorSession) FakeEmitExampleEvent ¶
func (_FakeExample *FakeExampleTransactorSession) FakeEmitExampleEvent(value string) (*types.Transaction, error)
FakeEmitExampleEvent is a paid mutator transaction binding the contract method 0x010ac925.
Solidity: function fakeEmitExampleEvent(string value) returns()
func (*FakeExampleTransactorSession) FakeEmitWithdrawalQueued ¶ added in v0.0.22
func (_FakeExample *FakeExampleTransactorSession) FakeEmitWithdrawalQueued(withdrawalRoot [32]byte, withdrawal FakeExampleWithdrawal) (*types.Transaction, error)
FakeEmitWithdrawalQueued is a paid mutator transaction binding the contract method 0x99c9c6dc.
Solidity: function fakeEmitWithdrawalQueued(bytes32 withdrawalRoot, (address,address,address,uint256,uint32,address[],uint256[]) withdrawal) returns()
func (*FakeExampleTransactorSession) FakeSetExampleValue ¶
func (_FakeExample *FakeExampleTransactorSession) FakeSetExampleValue(retstringExampleValue0 string) (*types.Transaction, error)
FakeSetExampleValue is a paid mutator transaction binding the contract method 0xb8290c1a.
Solidity: function fakeSetExampleValue(string retstringExampleValue0) returns()
type FakeExampleWithdrawal ¶ added in v0.0.22
type FakeExampleWithdrawal struct { Staker common.Address DelegatedTo common.Address Withdrawer common.Address Nonce *big.Int StartBlock uint32 Strategies []common.Address }
FakeExampleWithdrawal is an auto generated low-level Go binding around an user-defined struct.
type FakeExampleWithdrawalQueued ¶ added in v0.0.22
type FakeExampleWithdrawalQueued struct { WithdrawalRoot [32]byte Withdrawal FakeExampleWithdrawal Raw types.Log // Blockchain specific contextual infos }
FakeExampleWithdrawalQueued represents a WithdrawalQueued event raised by the FakeExample contract.
type FakeExampleWithdrawalQueuedIterator ¶ added in v0.0.22
type FakeExampleWithdrawalQueuedIterator struct { Event *FakeExampleWithdrawalQueued // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FakeExampleWithdrawalQueuedIterator is returned from FilterWithdrawalQueued and is used to iterate over the raw logs and unpacked data for WithdrawalQueued events raised by the FakeExample contract.
func (*FakeExampleWithdrawalQueuedIterator) Close ¶ added in v0.0.22
func (it *FakeExampleWithdrawalQueuedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FakeExampleWithdrawalQueuedIterator) Error ¶ added in v0.0.22
func (it *FakeExampleWithdrawalQueuedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FakeExampleWithdrawalQueuedIterator) Next ¶ added in v0.0.22
func (it *FakeExampleWithdrawalQueuedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IDelegationManagerWithdrawal ¶ added in v0.0.22
type IDelegationManagerWithdrawal struct { Staker common.Address DelegatedTo common.Address Withdrawer common.Address Nonce *big.Int StartBlock uint32 Strategies []common.Address }
IDelegationManagerWithdrawal is an auto generated low-level Go binding around an user-defined struct.