methods

package
v0.6.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HandleOpsMethod = abi.NewMethod(
		"handleOps",
		"handleOps",
		abi.Function,
		"",
		false,
		false,
		abi.Arguments{
			{Name: "ops", Type: userop.UserOpArr},
			{Name: "beneficiary", Type: address},
		},
		nil,
	)
	HandleOpsSelector = hexutil.Encode(HandleOpsMethod.ID)
)
View Source
var (
	ValidatePaymasterUserOpMethod = abi.NewMethod(
		"validatePaymasterUserOp",
		"validatePaymasterUserOp",
		abi.Function,
		"",
		false,
		false,
		abi.Arguments{
			{Name: "userOp", Type: userop.UserOpType},
			{Name: "userOpHash", Type: bytes32},
			{Name: "maxCost", Type: uint256},
		},
		abi.Arguments{
			{Name: "context", Type: bytes},
			{Name: "deadline", Type: uint256},
		},
	)
	ValidatePaymasterUserOpSelector = hexutil.Encode(ValidatePaymasterUserOpMethod.ID)
)

Functions

func DecodeValidatePaymasterUserOpOutput

func DecodeValidatePaymasterUserOpOutput(ret any) (*validatePaymasterUserOpOutput, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL