Versions in this module Expand all Collapse all v0 v0.46.33 Oct 24, 2022 Changes in this version + const StoreKey + var GrantKey = []byte + var GrantQueuePrefix = []byte + func GrantQueueKey(expiration time.Time, granter sdk.AccAddress, grantee sdk.AccAddress) []byte + func GrantQueueTimePrefix(expiration time.Time) []byte + type Keeper struct + func NewKeeper(storeKey storetypes.StoreKey, cdc codec.BinaryCodec, ...) Keeper + func (k Keeper) DeleteGrant(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress, ...) error + func (k Keeper) DequeueAndDeleteExpiredGrants(ctx sdk.Context) error + func (k Keeper) DispatchActions(ctx sdk.Context, grantee sdk.AccAddress, msgs []sdk.Msg) ([][]byte, error) + func (k Keeper) Exec(goCtx context.Context, msg *authz.MsgExec) (*authz.MsgExecResponse, error) + func (k Keeper) ExportGenesis(ctx sdk.Context) *authz.GenesisState + func (k Keeper) GetAuthorization(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress, ...) (authz.Authorization, *time.Time) + func (k Keeper) GetAuthorizations(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress) ([]authz.Authorization, error) + func (k Keeper) Grant(goCtx context.Context, msg *authz.MsgGrant) (*authz.MsgGrantResponse, error) + func (k Keeper) GranteeGrants(c context.Context, req *authz.QueryGranteeGrantsRequest) (*authz.QueryGranteeGrantsResponse, error) + func (k Keeper) GranterGrants(c context.Context, req *authz.QueryGranterGrantsRequest) (*authz.QueryGranterGrantsResponse, error) + func (k Keeper) Grants(c context.Context, req *authz.QueryGrantsRequest) (*authz.QueryGrantsResponse, error) + func (k Keeper) InitGenesis(ctx sdk.Context, data *authz.GenesisState) + func (k Keeper) IterateGrants(ctx sdk.Context, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) Revoke(goCtx context.Context, msg *authz.MsgRevoke) (*authz.MsgRevokeResponse, error) + func (k Keeper) SaveGrant(ctx sdk.Context, grantee, granter sdk.AccAddress, ...) error + type Migrator struct + func NewMigrator(keeper Keeper) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error v0.46.3-beta.1 Oct 24, 2022