pushsigner

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 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(
	ctx context.Context,
	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) VoteFundMigration added in v0.0.28

func (s *Signer) VoteFundMigration(ctx context.Context, migrationID uint64, txHash string, success bool) (string, error)

VoteFundMigration votes on a fund migration result.

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
Package keys provides keyring management for the Push Universal Validator.
Package keys provides keyring management for the Push Universal Validator.

Jump to

Keyboard shortcuts

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