mcmsv2

package
v0.71.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOperationAlreadyExecuted = errors.New("operation already executed")

Functions

func BuildMCMSv2Cmd

func BuildMCMSv2Cmd(lggr logger.Logger, domain cldf_domain.Domain, proposalContextProvider analyzer.ProposalContextProvider) *cobra.Command

func Retry added in v0.71.3

func Retry[T any](ctx context.Context, callback retryCallback[T], opts ...retry.Option) (T, error)

Types

type DecodedExecutionError added in v0.71.0

type DecodedExecutionError struct {
	RevertReason            string
	RevertReasonDecoded     bool
	UnderlyingReason        string
	UnderlyingReasonDecoded bool
}

DecodedExecutionError contains the decoded revert reasons from an ExecutionError.

type ErrDecoder

type ErrDecoder struct {
	// contains filtered or unexported fields
}

ErrDecoder indexes custom-error selectors across many ABIs.

func NewErrDecoder

func NewErrDecoder(registry analyzer.EVMABIRegistry) (*ErrDecoder, error)

NewErrDecoder builds an index from EVM ABI registry.

type ErrSig

type ErrSig struct {
	TypeVer string
	Name    string
	Inputs  abi.Arguments
	// contains filtered or unexported fields
}

ErrSig describes a resolved custom error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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