proposalanalysis

package
v0.81.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzerEngine

type AnalyzerEngine interface {
	Run(ctx context.Context, domain cldfdomain.Domain, env deployment.Environment, proposal *mcms.TimelockProposal) (analyzer.AnalyzedProposal, error)

	RegisterAnalyzer(analyzer analyzer.BaseAnalyzer) error

	RegisterRenderer(renderer renderer.Renderer) error

	RenderTo(w io.Writer, rendererID string, proposal analyzer.AnalyzedProposal) error
}

type DecoderConfig

type DecoderConfig struct {
	EVMABIMappings map[string]string
	SolanaDecoders map[string]DecodeInstructionFn
}

DecoderConfig configures the proposal decoder used by the analyzer engine. The decoder is expected to support multi-chain proposal decoding using the provided chain-specific mappings.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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