processorutils

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndAdapt

func CheckAndAdapt(a *types.Action) error

CheckAndAdapt normalizes variable messages and validates associated arrays.

func CheckMatchingCosigners

func CheckMatchingCosigners(expectedCosigners, cosigners []common.Address, expectedThreshold, threshold uint64) error

CheckMatchingCosigners provided cosigners match the expected cosigners.

func CheckThresholds

func CheckThresholds(data *instruction.DataFixed, signers []common.Address, sPolicy *cpolicy.SigningPolicy) error

CheckThresholds checks that data provider threshold and cosigner threshold are reached.

func DeadlineExceeded

func DeadlineExceeded(a *types.Action, err error) types.ActionResult

DeadlineExceeded creates an action result indicating the extension timed out.

func Invalid

func Invalid(a *types.Action, err error) types.ActionResult

Invalid creates action result for invalid action.

func Parse

func Parse[T validRequestType](message []byte) (*T, error)

Types

type QueueID

type QueueID string
const (
	Main   QueueID = "main"
	Direct QueueID = "direct"
	Backup QueueID = "backup"
)

Jump to

Keyboard shortcuts

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