mesg-foundation/core

View on GitHub
x/instance/alias.go

Summary

Maintainability
A
0 mins
Test Coverage
package instance

import (
    "github.com/mesg-foundation/engine/x/instance/internal/keeper"
    "github.com/mesg-foundation/engine/x/instance/internal/types"
)

// const aliases
const (
    ModuleName   = types.ModuleName
    RouterKey    = types.RouterKey
    StoreKey     = types.StoreKey
    QuerierRoute = types.QuerierRoute
)

// functions and variable aliases
var (
    NewKeeper           = keeper.NewKeeper
    NewQuerier          = keeper.NewQuerier
    RegisterCodec       = types.RegisterCodec
    NewGenesisState     = types.NewGenesisState
    DefaultGenesisState = types.DefaultGenesisState
    ValidateGenesis     = types.ValidateGenesis

    ModuleCdc = types.ModuleCdc
    QueryGet  = types.QueryGet
    QueryList = types.QueryList

    EventType              = types.EventType
    AttributeKeyHash       = types.AttributeKeyHash
    AttributeKeyService    = types.AttributeKeyService
    AttributeActionCreated = types.AttributeActionCreated
)

// module types
type (
    Keeper       = keeper.Keeper
    GenesisState = types.GenesisState
)