methods

package
v0.0.0-...-a4145b4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BalanceOfMethod = abi.NewMethod(
		"balanceOf",
		"balanceOf",
		abi.Function,
		"",
		false,
		false,
		abi.Arguments{
			{Name: "account", Type: address},
		},
		abi.Arguments{
			{Type: uint256},
		},
	)
	BalanceOfSelector = hexutil.Encode(BalanceOfMethod.ID)
)
View Source
var (
	CreateSenderMethod = abi.NewMethod(
		"createSender",
		"createSender",
		abi.Function,
		"",
		false,
		false,
		abi.Arguments{
			{Name: "initCode", Type: bytes},
		},
		abi.Arguments{
			{Name: "sender", Type: address},
		},
	)
	CreateSenderSelector = hexutil.Encode(CreateSenderMethod.ID)
)
View Source
var (
	HandleOpsMethod = abi.NewMethod(
		"handleOps",
		"handleOps",
		abi.Function,
		"",
		false,
		false,
		abi.Arguments{
			{Name: "ops", Type: aiop.AiOpArr},
			{Name: "beneficiary", Type: address},
		},
		nil,
	)
	HandleOpsSelector = hexutil.Encode(HandleOpsMethod.ID)
)
View Source
var (
	ValidatePaymasterAiOpMethod = abi.NewMethod(
		"validatePaymasterAiOp",
		"validatePaymasterAiOp",
		abi.Function,
		"",
		false,
		false,
		abi.Arguments{
			{Name: "aiOp", Type: aiop.AiOpType},
			{Name: "aiOpHash", Type: bytes32},
			{Name: "maxCost", Type: uint256},
		},
		abi.Arguments{
			{Name: "context", Type: bytes},
			{Name: "deadline", Type: uint256},
		},
	)
	ValidatePaymasterAiOpSelector = hexutil.Encode(ValidatePaymasterAiOpMethod.ID)
)

Functions

func DecodeValidatePaymasterAiOpOutput

func DecodeValidatePaymasterAiOpOutput(ret any) (*validatePaymasterAiOpOutput, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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