authz

package
v0.0.0-...-1329066 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package authz provides a signer object for transactions using grants grants are used to allow a hotkey to sign transactions on behalf of the observers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupAuthZSignerList

func SetupAuthZSignerList(granter string, grantee sdk.AccAddress)

SetupAuthZSignerList sets the granter and grantee for all the signers

Types

type Signer

type Signer struct {
	KeyType        authz.KeyType
	GranterAddress string
	GranteeAddress sdk.AccAddress
}

Signer represents a signer for a grantee key

func GetSigner

func GetSigner(msgURL string) Signer

GetSigner returns the signer for a given msgURL

func (Signer) String

func (a Signer) String() string

String returns a string representation of a Signer

Jump to

Keyboard shortcuts

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