pushsigner

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 27 Imported by: 0

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) VoteGasPrice

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

VoteGasPrice votes on a gas price observation.

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