pushsigner

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

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

Signer provides the main public API for signing and voting operations.

func New

func New(
	log zerolog.Logger,
	keyringBackend config.KeyringBackend,
	keyringPassword string,
	nodeHome string,
	pushCore *pushcore.Client,
	chainID string,
	granter string,
) (*Signer, error)

New creates a new Signer instance with validation.

func (*Signer) VoteChainMeta added in v0.0.19

func (s *Signer) VoteChainMeta(ctx context.Context, chainID string, price uint64, chainHeight uint64) (string, error)

VoteChainMeta votes on chain metadata (gas price, block height).

func (*Signer) VoteInbound

func (s *Signer) VoteInbound(ctx context.Context, inbound *uexecutortypes.Inbound) (string, error)

VoteInbound votes on an inbound transaction.

func (*Signer) VoteOutbound

func (s *Signer) VoteOutbound(ctx context.Context, txID string, utxID string, observation *uexecutortypes.OutboundObservation) (string, error)

VoteOutbound votes on an outbound transaction observation.

func (*Signer) VoteTssKeyProcess

func (s *Signer) VoteTssKeyProcess(ctx context.Context, tssPubKey string, keyID string, processID uint64) (string, error)

VoteTssKeyProcess votes on a TSS key process.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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