Documentation
¶
Index ¶
Constants ¶
View Source
const ( // JSON-RPC Standard Errors ParseErrorCode = -32700 InvalidRequestCode = -32600 MethodNotFoundCode = -32601 InvalidParamsCode = -32602 // Custom Paymaster Errors UnsupportedChainIDCode = -32001 UnsupportedEntryPointCode = -32002 PaymasterDataGenErrorCode = -32003 UnsupportedTokenErrorCode = -32004 )
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.