Documentation ¶
Index ¶
- Constants
- func NewQuerier(keeper Keeper) sdk.Querier
- type Keeper
- func (k Keeper) AddUser(ctx sdk.Context, name string, msg types.MsgAddUser)
- func (k Keeper) DeleteOrg(ctx sdk.Context, name string)
- func (k Keeper) DeleteUser(ctx sdk.Context, name string, msg types.MsgDeleteUser)
- func (k Keeper) GetOrgData(ctx sdk.Context, name string) types.Org
- func (k Keeper) GetOrgsIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) GetOwner(ctx sdk.Context, name string) sdk.AccAddress
- func (k Keeper) IsNamePresent(ctx sdk.Context, name string) bool
- func (k Keeper) SetOrg(ctx sdk.Context, name string, org types.Org)
Constants ¶
View Source
const ( QueryOrgData = "org_data" QueryOrgs = "org_list" QueryUsers = "org_users" )
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) DeleteUser ¶
Add a user to org metadata
func (Keeper) GetOrgData ¶
Gets the entire org metadata struct for a name
func (Keeper) GetOrgsIterator ¶
Get an iterator over all names in which the keys are the orgs and the values are the org data
func (Keeper) IsNamePresent ¶
Check if the name is present in the store or not
Click to show internal directories.
Click to hide internal directories.