decoder

package
v0.80.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodedBatchOperation

type DecodedBatchOperation interface {
	ChainSelector() uint64
	Calls() DecodedCalls
}

type DecodedBatchOperations

type DecodedBatchOperations []DecodedBatchOperation

type DecodedCall

type DecodedCall interface {
	To() string   // legacy analyzer uses "Address"
	Name() string // legacy analyzer uses "Method"
	Inputs() DecodedParameters
	Outputs() DecodedParameters
	Data() []byte
	AdditionalFields() json.RawMessage
	ContractType() string
	ContractVersion() string
}

type DecodedCalls

type DecodedCalls []DecodedCall

type DecodedParameter

type DecodedParameter interface {
	Name() string
	Type() string
	Value() any
}

type DecodedParameters

type DecodedParameters []DecodedParameter

type DecodedTimelockProposal

type DecodedTimelockProposal interface {
	BatchOperations() DecodedBatchOperations
}

type ProposalDecoder

type ProposalDecoder interface {
	Decode(ctx context.Context, env deployment.Environment, proposal *mcms.TimelockProposal) (DecodedTimelockProposal, error)
}

ProposalDecoder decodes MCMS proposals into structured DecodedTimelockProposal

Jump to

Keyboard shortcuts

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