Documentation
¶
Index ¶
Constants ¶
View Source
const ( // JSON-RPC Standard Errors ParseErrorCode = -32700 InvalidRequestCode = -32600 MethodNotFoundCode = -32601 InvalidParamsCode = -32602 InternalErrorCode = -32603 // Custom Paymaster Errors UnsupportedChainIDCode = -32001 ValidationErrorCode = -32002 UnsupportedEntryPointCode = -32003 PaymasterDataGenErrorCode = -32004 UnsupportedTokenErrorCode = -32005 MissingContextErrorCode = -32006 )
Constants for RPC Errors (as per JSON-RPC 2.0 spec and EIP-1474)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PaymasterController ¶
type PaymasterController struct {
// contains filtered or unexported fields
}
PaymasterController the controller of paymaster
var PaymasterCtl *PaymasterController
PaymasterCtl the paymaster controller
func NewPaymasterController ¶
func NewPaymasterController(cfg *config.Config) *PaymasterController
NewPaymasterController creates and initializes a new PaymasterController.
func (*PaymasterController) Paymaster ¶
func (pc *PaymasterController) Paymaster(c *gin.Context)
Paymaster the handler of paymaster
Click to show internal directories.
Click to hide internal directories.