Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyIidControllersAgainstSignature ¶
func VerifyIidControllersAgainstSignature(tx signing.SigVerifiableTx, ctx sdk.Context, iidKeeper iidkeeper.Keeper) error
VerifyIidControllersAgainstSignature verifies that the controllers of the IID for all IidTxMsgs in the SigVerifiableTx are authorized to control the IID
Types ¶
type IidResolutionDecorator ¶
type IidResolutionDecorator struct {
// contains filtered or unexported fields
}
func NewIidResolutionDecorator ¶
func NewIidResolutionDecorator(iidKeeper iidkeeper.Keeper) IidResolutionDecorator
func (IidResolutionDecorator) AnteHandle ¶
type IidTxMsg ¶
type IidTxMsg interface {
GetIidController() iidtypes.DIDFragment
}
IidTxMsg is an interface that is implemented by all the messages that can be used to control or authorize an IID
func GetIidTxs ¶
func GetIidTxs(tx signing.SigVerifiableTx) []IidTxMsg
GetIidTxs returns all the IidTxMsgs from a SigVerifiableTx and ignore any messages that are not IidTxMsgs
Click to show internal directories.
Click to hide internal directories.