Documentation ¶
Index ¶
- Variables
- type Bundle
- type Manager
- func (bm *Manager) GetBundleHash(userOpHash common.Hash, completionChan chan *Bundle) (common.Hash, *relayerror.Error)
- func (bm *Manager) NewBundle(bundleOps *operation.BundleOperations) (common.Hash, *Bundle, *relayerror.Error)
- func (bm *Manager) RegisterBundleError(userOpHash common.Hash, relayErr *relayerror.Error)
- func (bm *Manager) UnregisterBundle(userOpHash common.Hash)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotBundledYet = relayerror.NewError(5101, "bundle has not been bundled yet") ErrAlreadyBundled = relayerror.NewError(5102, "bundle has already been bundled") ErrAlreadyErrored = relayerror.NewError(5103, "bundle has already errored") )
View Source
var ( ErrBundleAlreadySubmitted = relayerror.NewError(5000, "bundle for this user operation has already been submitted") ErrBundleNotFound = relayerror.NewError(5001, "bundle not found") ErrBundleFailedSimulation = relayerror.NewError(5002, "bundle failed simulation") )
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
func NewBundle ¶
func NewBundle(userOpHash common.Hash, bundleOps *operation.BundleOperations) *Bundle
func (*Bundle) SetAtlasTxHash ¶
func (b *Bundle) SetAtlasTxHash(txHash common.Hash) *relayerror.Error
func (*Bundle) SetRelayError ¶
func (b *Bundle) SetRelayError(relayErr *relayerror.Error) *relayerror.Error
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetBundleHash ¶
func (*Manager) NewBundle ¶
func (bm *Manager) NewBundle(bundleOps *operation.BundleOperations) (common.Hash, *Bundle, *relayerror.Error)
func (*Manager) RegisterBundleError ¶ added in v1.0.4
func (bm *Manager) RegisterBundleError(userOpHash common.Hash, relayErr *relayerror.Error)
func (*Manager) UnregisterBundle ¶
Click to show internal directories.
Click to hide internal directories.