Documentation ¶
Index ¶
- Variables
- func SolverGasLimit(dAppControlAddress common.Address, ethClient *ethclient.Client) (uint32, error)
- type Auction
- type Manager
- func (am *Manager) GetSolverOperations(userOpHash common.Hash, completionChan chan []*operation.SolverOperation) ([]*operation.SolverOperation, *relayerror.Error)
- func (am *Manager) NewSolverOperation(solverOp *operation.SolverOperation) *relayerror.Error
- func (am *Manager) NewUserOperation(userOp *operation.UserOperation, hints []common.Address) (common.Hash, *operation.UserOperationPartial, *relayerror.Error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAuctionClosed = relayerror.NewError(4100, "auction for this user operation has already ended") ErrAuctionOngoing = relayerror.NewError(4101, "auction for this user operation is ongoing") )
View Source
var ( ErrAuctionAlreadyStarted = relayerror.NewError(4000, "auction for this user operation has already started") ErrAuctionNotFound = relayerror.NewError(4001, "auction not found") ErrUserOpFailedSimulation = relayerror.NewError(4002, "user operation failed simulation") ErrSolverOpFailedSimulation = relayerror.NewError(4003, "solver operation failed simulation") ErrNotEnoughBondedBalance = relayerror.NewError(4004, "not enough atlEth bonded balance") )
View Source
var (
ATLETH_BONDED_BALANCE_MULTI_REQ = big.NewInt(3)
)
Functions ¶
Types ¶
type Auction ¶
type Auction struct {
// contains filtered or unexported fields
}
func NewAuction ¶
func NewAuction(duration time.Duration, userOp *operation.UserOperation, userOperationPartial *operation.UserOperationPartial, userOpHash common.Hash) *Auction
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetSolverOperations ¶
func (am *Manager) GetSolverOperations(userOpHash common.Hash, completionChan chan []*operation.SolverOperation) ([]*operation.SolverOperation, *relayerror.Error)
func (*Manager) NewSolverOperation ¶
func (am *Manager) NewSolverOperation(solverOp *operation.SolverOperation) *relayerror.Error
func (*Manager) NewUserOperation ¶
func (am *Manager) NewUserOperation(userOp *operation.UserOperation, hints []common.Address) (common.Hash, *operation.UserOperationPartial, *relayerror.Error)
Click to show internal directories.
Click to hide internal directories.