Documentation
¶
Index ¶
- func NewAddressNonceHandler(proxy interactors.Proxy, address erdgoCore.AddressHandler) (interactors.AddressNonceHandler, error)
- func NewNonceTransactionHandlerV2(args ArgsNonceTransactionsHandlerV2) (*nonceTransactionsHandlerV2, error)
- func NewSingleTransactionAddressNonceHandler(proxy interactors.Proxy, address erdgoCore.AddressHandler) (*singleTransactionAddressNonceHandler, error)
- type AddressNonceHandlerCreator
- type ArgsNonceTransactionsHandlerV2
- type SingleTransactionAddressNonceHandlerCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddressNonceHandler ¶
func NewAddressNonceHandler(proxy interactors.Proxy, address erdgoCore.AddressHandler) (interactors.AddressNonceHandler, error)
NewAddressNonceHandler returns a new instance of a addressNonceHandler
func NewNonceTransactionHandlerV2 ¶
func NewNonceTransactionHandlerV2(args ArgsNonceTransactionsHandlerV2) (*nonceTransactionsHandlerV2, error)
NewNonceTransactionHandlerV2 will create a new instance of the nonceTransactionsHandlerV2. It requires a Proxy implementation and an interval at which the transactions sent are rechecked and eventually, resent.
func NewSingleTransactionAddressNonceHandler ¶
func NewSingleTransactionAddressNonceHandler(proxy interactors.Proxy, address erdgoCore.AddressHandler) (*singleTransactionAddressNonceHandler, error)
NewSingleTransactionAddressNonceHandler returns a new instance of a singleTransactionAddressNonceHandler
Types ¶
type AddressNonceHandlerCreator ¶
type AddressNonceHandlerCreator struct{}
AddressNonceHandlerCreator is used to create addressNonceHandler instances
func (*AddressNonceHandlerCreator) Create ¶
func (anhc *AddressNonceHandlerCreator) Create(proxy interactors.Proxy, address core.AddressHandler) (interactors.AddressNonceHandler, error)
Create will create
func (*AddressNonceHandlerCreator) IsInterfaceNil ¶
func (anhc *AddressNonceHandlerCreator) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
type ArgsNonceTransactionsHandlerV2 ¶
type ArgsNonceTransactionsHandlerV2 struct {
Proxy interactors.Proxy
IntervalToResend time.Duration
Creator interactors.AddressNonceHandlerCreator
}
ArgsNonceTransactionsHandlerV2 is the argument DTO for a nonce transactions handler component
type SingleTransactionAddressNonceHandlerCreator ¶
type SingleTransactionAddressNonceHandlerCreator struct{}
SingleTransactionAddressNonceHandlerCreator is used to create singleTransactionAddressNonceHandler instances
func (*SingleTransactionAddressNonceHandlerCreator) Create ¶
func (anhc *SingleTransactionAddressNonceHandlerCreator) Create(proxy interactors.Proxy, address core.AddressHandler) (interactors.AddressNonceHandler, error)
Create will create
func (*SingleTransactionAddressNonceHandlerCreator) IsInterfaceNil ¶
func (anhc *SingleTransactionAddressNonceHandlerCreator) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface