staking

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StakingContract is the compiled staking contract
	StakingContract evmtypes.CompiledContract

	// StakingAddress is the staking address
	StakingAddress common.Address
)
View Source
var StakingABI = StakingMetaData.ABI

StakingABI is the input ABI used to generate the binding from. Deprecated: Use StakingMetaData.ABI instead.

View Source
var StakingBin = StakingMetaData.Bin

StakingBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakingMetaData.Bin instead.

View Source
var StakingFuncSigs = StakingMetaData.Sigs

Deprecated: Use StakingMetaData.Sigs instead. StakingFuncSigs maps the 4-byte function signature to its string representation.

View Source
var StakingMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Delegated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validatorSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validatorDest\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redelegated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Undelegated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"}],\"name\":\"Withdrew\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"validatorSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"validatorDest\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"redelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"undelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"03f24de1": "delegate(string,uint256)",
		"7dd0209d": "redelegate(string,string,uint256)",
		"8dfc8897": "undelegate(string,uint256)",
		"31fb67c2": "withdraw(string)",
	},
	Bin: "0x608060405234801561001057600080fd5b50610444806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806303f24de11461005157806331fb67c2146100665780637dd0209d146100795780638dfc88971461008c575b600080fd5b61006461005f366004610232565b61009f565b005b610064610074366004610277565b6100de565b6100646100873660046102b4565b61011a565b61006461009a366004610232565b61015c565b7fc181d211c1379e7ca130a707f3b1d49177b2c9eaca63f5b1c0fced957bd94d193383836040516100d29392919061036e565b60405180910390a15050565b7f271a84b5abc74645a8af43af4da7b3540bb0ac7603fbae9ff8b2e2df548332d0338260405161010f9291906103a2565b60405180910390a150565b7f1e4f99bac1ee5d1d13ed93a8febbb6730c1760e6b40b62f4971ecd57f184c20b3384848460405161014f94939291906103c6565b60405180910390a1505050565b7fb6be07748cf5d5075de9024d60c8dadb2346190b734318a49a330774ab1effc63383836040516100d29392919061036e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101b657600080fd5b813567ffffffffffffffff808211156101d1576101d161018f565b604051601f8301601f19908116603f011681019082821181831017156101f9576101f961018f565b8160405283815286602085880101111561021257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561024557600080fd5b823567ffffffffffffffff81111561025c57600080fd5b610268858286016101a5565b95602094909401359450505050565b60006020828403121561028957600080fd5b813567ffffffffffffffff8111156102a057600080fd5b6102ac848285016101a5565b949350505050565b6000806000606084860312156102c957600080fd5b833567ffffffffffffffff808211156102e157600080fd5b6102ed878388016101a5565b9450602086013591508082111561030357600080fd5b50610310868287016101a5565b925050604084013590509250925092565b6000815180845260005b818110156103475760208185018101518683018201520161032b565b81811115610359576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b038416815260606020820181905260009061039290830185610321565b9050826040830152949350505050565b6001600160a01b03831681526040602082018190526000906102ac90830184610321565b6001600160a01b03851681526080602082018190526000906103ea90830186610321565b82810360408401526103fc8186610321565b9150508260608301529594505050505056fea26469706673582212209d979531f80622188af0ffa8508cf70fd5ee27a13fdd6f0db103c6362053084364736f6c634300080c0033",
}

StakingMetaData contains all meta data concerning the Staking contract.

Functions

This section is empty.

Types

type Staking

type Staking struct {
	StakingCaller     // Read-only binding to the contract
	StakingTransactor // Write-only binding to the contract
	StakingFilterer   // Log filterer for contract events
}

Staking is an auto generated Go binding around an Ethereum contract.

func DeployStaking

func DeployStaking(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Staking, error)

DeployStaking deploys a new Ethereum contract, binding an instance of Staking to it.

func NewStaking

func NewStaking(address common.Address, backend bind.ContractBackend) (*Staking, error)

NewStaking creates a new instance of Staking, bound to a specific deployed contract.

type StakingCaller

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

StakingCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakingCaller

func NewStakingCaller(address common.Address, caller bind.ContractCaller) (*StakingCaller, error)

NewStakingCaller creates a new read-only instance of Staking, bound to a specific deployed contract.

type StakingCallerRaw

type StakingCallerRaw struct {
	Contract *StakingCaller // Generic read-only contract binding to access the raw methods on
}

StakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakingCallerRaw) Call

func (_Staking *StakingCallerRaw) 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 StakingCallerSession

type StakingCallerSession struct {
	Contract *StakingCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

StakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type StakingDelegated

type StakingDelegated struct {
	Delegator common.Address
	Validator string
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingDelegated represents a Delegated event raised by the Staking contract.

type StakingDelegatedIterator

type StakingDelegatedIterator struct {
	Event *StakingDelegated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingDelegatedIterator is returned from FilterDelegated and is used to iterate over the raw logs and unpacked data for Delegated events raised by the Staking contract.

func (*StakingDelegatedIterator) Close

func (it *StakingDelegatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingDelegatedIterator) Error

func (it *StakingDelegatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingDelegatedIterator) Next

func (it *StakingDelegatedIterator) 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 StakingFilterer

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

StakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakingFilterer

func NewStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingFilterer, error)

NewStakingFilterer creates a new log filterer instance of Staking, bound to a specific deployed contract.

func (*StakingFilterer) FilterDelegated

func (_Staking *StakingFilterer) FilterDelegated(opts *bind.FilterOpts) (*StakingDelegatedIterator, error)

FilterDelegated is a free log retrieval operation binding the contract event 0xc181d211c1379e7ca130a707f3b1d49177b2c9eaca63f5b1c0fced957bd94d19.

Solidity: event Delegated(address delegator, string validator, uint256 amount)

func (*StakingFilterer) FilterRedelegated

func (_Staking *StakingFilterer) FilterRedelegated(opts *bind.FilterOpts) (*StakingRedelegatedIterator, error)

FilterRedelegated is a free log retrieval operation binding the contract event 0x1e4f99bac1ee5d1d13ed93a8febbb6730c1760e6b40b62f4971ecd57f184c20b.

Solidity: event Redelegated(address delegator, string validatorSrc, string validatorDest, uint256 amount)

func (*StakingFilterer) FilterUndelegated

func (_Staking *StakingFilterer) FilterUndelegated(opts *bind.FilterOpts) (*StakingUndelegatedIterator, error)

FilterUndelegated is a free log retrieval operation binding the contract event 0xb6be07748cf5d5075de9024d60c8dadb2346190b734318a49a330774ab1effc6.

Solidity: event Undelegated(address delegator, string validator, uint256 amount)

func (*StakingFilterer) FilterWithdrew

func (_Staking *StakingFilterer) FilterWithdrew(opts *bind.FilterOpts) (*StakingWithdrewIterator, error)

FilterWithdrew is a free log retrieval operation binding the contract event 0x271a84b5abc74645a8af43af4da7b3540bb0ac7603fbae9ff8b2e2df548332d0.

Solidity: event Withdrew(address delegator, string validator)

func (*StakingFilterer) ParseDelegated

func (_Staking *StakingFilterer) ParseDelegated(log types.Log) (*StakingDelegated, error)

ParseDelegated is a log parse operation binding the contract event 0xc181d211c1379e7ca130a707f3b1d49177b2c9eaca63f5b1c0fced957bd94d19.

Solidity: event Delegated(address delegator, string validator, uint256 amount)

func (*StakingFilterer) ParseRedelegated

func (_Staking *StakingFilterer) ParseRedelegated(log types.Log) (*StakingRedelegated, error)

ParseRedelegated is a log parse operation binding the contract event 0x1e4f99bac1ee5d1d13ed93a8febbb6730c1760e6b40b62f4971ecd57f184c20b.

Solidity: event Redelegated(address delegator, string validatorSrc, string validatorDest, uint256 amount)

func (*StakingFilterer) ParseUndelegated

func (_Staking *StakingFilterer) ParseUndelegated(log types.Log) (*StakingUndelegated, error)

ParseUndelegated is a log parse operation binding the contract event 0xb6be07748cf5d5075de9024d60c8dadb2346190b734318a49a330774ab1effc6.

Solidity: event Undelegated(address delegator, string validator, uint256 amount)

func (*StakingFilterer) ParseWithdrew

func (_Staking *StakingFilterer) ParseWithdrew(log types.Log) (*StakingWithdrew, error)

ParseWithdrew is a log parse operation binding the contract event 0x271a84b5abc74645a8af43af4da7b3540bb0ac7603fbae9ff8b2e2df548332d0.

Solidity: event Withdrew(address delegator, string validator)

func (*StakingFilterer) WatchDelegated

func (_Staking *StakingFilterer) WatchDelegated(opts *bind.WatchOpts, sink chan<- *StakingDelegated) (event.Subscription, error)

WatchDelegated is a free log subscription operation binding the contract event 0xc181d211c1379e7ca130a707f3b1d49177b2c9eaca63f5b1c0fced957bd94d19.

Solidity: event Delegated(address delegator, string validator, uint256 amount)

func (*StakingFilterer) WatchRedelegated

func (_Staking *StakingFilterer) WatchRedelegated(opts *bind.WatchOpts, sink chan<- *StakingRedelegated) (event.Subscription, error)

WatchRedelegated is a free log subscription operation binding the contract event 0x1e4f99bac1ee5d1d13ed93a8febbb6730c1760e6b40b62f4971ecd57f184c20b.

Solidity: event Redelegated(address delegator, string validatorSrc, string validatorDest, uint256 amount)

func (*StakingFilterer) WatchUndelegated

func (_Staking *StakingFilterer) WatchUndelegated(opts *bind.WatchOpts, sink chan<- *StakingUndelegated) (event.Subscription, error)

WatchUndelegated is a free log subscription operation binding the contract event 0xb6be07748cf5d5075de9024d60c8dadb2346190b734318a49a330774ab1effc6.

Solidity: event Undelegated(address delegator, string validator, uint256 amount)

func (*StakingFilterer) WatchWithdrew

func (_Staking *StakingFilterer) WatchWithdrew(opts *bind.WatchOpts, sink chan<- *StakingWithdrew) (event.Subscription, error)

WatchWithdrew is a free log subscription operation binding the contract event 0x271a84b5abc74645a8af43af4da7b3540bb0ac7603fbae9ff8b2e2df548332d0.

Solidity: event Withdrew(address delegator, string validator)

type StakingRaw

type StakingRaw struct {
	Contract *Staking // Generic contract binding to access the raw methods on
}

StakingRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakingRaw) Call

func (_Staking *StakingRaw) 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 (*StakingRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*StakingRaw) Transfer

func (_Staking *StakingRaw) 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 StakingRedelegated

type StakingRedelegated struct {
	Delegator     common.Address
	ValidatorSrc  string
	ValidatorDest string
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

StakingRedelegated represents a Redelegated event raised by the Staking contract.

type StakingRedelegatedIterator

type StakingRedelegatedIterator struct {
	Event *StakingRedelegated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingRedelegatedIterator is returned from FilterRedelegated and is used to iterate over the raw logs and unpacked data for Redelegated events raised by the Staking contract.

func (*StakingRedelegatedIterator) Close

func (it *StakingRedelegatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingRedelegatedIterator) Error

func (it *StakingRedelegatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingRedelegatedIterator) Next

func (it *StakingRedelegatedIterator) 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 StakingSession

type StakingSession struct {
	Contract     *Staking          // 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
}

StakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakingSession) Delegate

func (_Staking *StakingSession) Delegate(validator string, amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x03f24de1.

Solidity: function delegate(string validator, uint256 amount) returns()

func (*StakingSession) Redelegate

func (_Staking *StakingSession) Redelegate(validatorSrc string, validatorDest string, amount *big.Int) (*types.Transaction, error)

Redelegate is a paid mutator transaction binding the contract method 0x7dd0209d.

Solidity: function redelegate(string validatorSrc, string validatorDest, uint256 amount) returns()

func (*StakingSession) Undelegate

func (_Staking *StakingSession) Undelegate(validator string, amount *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string validator, uint256 amount) returns()

func (*StakingSession) Withdraw

func (_Staking *StakingSession) Withdraw(validator string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string validator) returns()

type StakingTransactor

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

StakingTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakingTransactor

func NewStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTransactor, error)

NewStakingTransactor creates a new write-only instance of Staking, bound to a specific deployed contract.

func (*StakingTransactor) Delegate

func (_Staking *StakingTransactor) Delegate(opts *bind.TransactOpts, validator string, amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x03f24de1.

Solidity: function delegate(string validator, uint256 amount) returns()

func (*StakingTransactor) Redelegate

func (_Staking *StakingTransactor) Redelegate(opts *bind.TransactOpts, validatorSrc string, validatorDest string, amount *big.Int) (*types.Transaction, error)

Redelegate is a paid mutator transaction binding the contract method 0x7dd0209d.

Solidity: function redelegate(string validatorSrc, string validatorDest, uint256 amount) returns()

func (*StakingTransactor) Undelegate

func (_Staking *StakingTransactor) Undelegate(opts *bind.TransactOpts, validator string, amount *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string validator, uint256 amount) returns()

func (*StakingTransactor) Withdraw

func (_Staking *StakingTransactor) Withdraw(opts *bind.TransactOpts, validator string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string validator) returns()

type StakingTransactorRaw

type StakingTransactorRaw struct {
	Contract *StakingTransactor // Generic write-only contract binding to access the raw methods on
}

StakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakingTransactorRaw) Transact

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

Transact invokes the (paid) contract method with params as input values.

func (*StakingTransactorRaw) Transfer

func (_Staking *StakingTransactorRaw) 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 StakingTransactorSession

type StakingTransactorSession struct {
	Contract     *StakingTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

StakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakingTransactorSession) Delegate

func (_Staking *StakingTransactorSession) Delegate(validator string, amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x03f24de1.

Solidity: function delegate(string validator, uint256 amount) returns()

func (*StakingTransactorSession) Redelegate

func (_Staking *StakingTransactorSession) Redelegate(validatorSrc string, validatorDest string, amount *big.Int) (*types.Transaction, error)

Redelegate is a paid mutator transaction binding the contract method 0x7dd0209d.

Solidity: function redelegate(string validatorSrc, string validatorDest, uint256 amount) returns()

func (*StakingTransactorSession) Undelegate

func (_Staking *StakingTransactorSession) Undelegate(validator string, amount *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string validator, uint256 amount) returns()

func (*StakingTransactorSession) Withdraw

func (_Staking *StakingTransactorSession) Withdraw(validator string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string validator) returns()

type StakingUndelegated

type StakingUndelegated struct {
	Delegator common.Address
	Validator string
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingUndelegated represents a Undelegated event raised by the Staking contract.

type StakingUndelegatedIterator

type StakingUndelegatedIterator struct {
	Event *StakingUndelegated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingUndelegatedIterator is returned from FilterUndelegated and is used to iterate over the raw logs and unpacked data for Undelegated events raised by the Staking contract.

func (*StakingUndelegatedIterator) Close

func (it *StakingUndelegatedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingUndelegatedIterator) Error

func (it *StakingUndelegatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingUndelegatedIterator) Next

func (it *StakingUndelegatedIterator) 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 StakingWithdrew

type StakingWithdrew struct {
	Delegator common.Address
	Validator string
	Raw       types.Log // Blockchain specific contextual infos
}

StakingWithdrew represents a Withdrew event raised by the Staking contract.

type StakingWithdrewIterator

type StakingWithdrewIterator struct {
	Event *StakingWithdrew // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingWithdrewIterator is returned from FilterWithdrew and is used to iterate over the raw logs and unpacked data for Withdrew events raised by the Staking contract.

func (*StakingWithdrewIterator) Close

func (it *StakingWithdrewIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingWithdrewIterator) Error

func (it *StakingWithdrewIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingWithdrewIterator) Next

func (it *StakingWithdrewIterator) 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.

Jump to

Keyboard shortcuts

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