authz

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxSigner

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

TxSigner handles AuthZ transaction signing for Universal Validator

func NewTxSigner

func NewTxSigner(
	keys keys.UniversalValidatorKeys,
	clientCtx client.Context,
	log zerolog.Logger,
) *TxSigner

NewTxSigner creates a new transaction signer

func (*TxSigner) SignAndBroadcastAuthZTx

func (ts *TxSigner) SignAndBroadcastAuthZTx(
	ctx context.Context,
	msgs []sdk.Msg,
	memo string,
	gasLimit uint64,
	feeAmount sdk.Coins,
) (*sdk.TxResponse, error)

SignAndBroadcastAuthZTx signs and broadcasts an AuthZ transaction

Jump to

Keyboard shortcuts

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