Documentation ¶
Index ¶
- Constants
- func NewQuerier(k Keeper) cTypes.Querier
- type Keeper
- func (keeper Keeper) CheckValidGenesisAddress(ctx cTypes.Context, address cTypes.AccAddress) bool
- func (keeper Keeper) CheckValidOrganizationAddress(ctx cTypes.Context, zoneID aclTypes.ZoneID, ...) bool
- func (keeper Keeper) CheckValidZoneAddress(ctx cTypes.Context, id aclTypes.ZoneID, address cTypes.AccAddress) bool
- func (keeper Keeper) CheckZoneAndGetACL(ctx cTypes.Context, from cTypes.AccAddress, to cTypes.AccAddress) (aclTypes.ACL, cTypes.Error)
- func (keeper Keeper) DefineACLAccount(ctx cTypes.Context, toAddress cTypes.AccAddress, ...) cTypes.Error
- func (keeper Keeper) DefineOrganizationAddress(ctx cTypes.Context, to cTypes.AccAddress, ...) cTypes.Error
- func (keeper Keeper) DefineZoneAddress(ctx cTypes.Context, to cTypes.AccAddress, zoneID aclTypes.ZoneID) cTypes.Error
- func (keeper Keeper) GetACLAccount(ctx cTypes.Context, address cTypes.AccAddress) (aclTypes.ACLAccount, cTypes.Error)
- func (keeper Keeper) GetACLAccounts(ctx cTypes.Context) []aclTypes.ACLAccount
- func (keeper Keeper) GetAccountACLDetails(ctx cTypes.Context, address cTypes.AccAddress) (aclTypes.ACLAccount, cTypes.Error)
- func (keeper Keeper) GetOrganization(ctx cTypes.Context, id aclTypes.OrganizationID) (aclTypes.Organization, cTypes.Error)
- func (keeper Keeper) GetOrganizations(ctx cTypes.Context) []aclTypes.Organization
- func (keeper Keeper) GetOrganizationsByZoneID(ctx cTypes.Context, id aclTypes.ZoneID) []aclTypes.Organization
- func (keeper Keeper) GetZoneAddress(ctx cTypes.Context, id aclTypes.ZoneID) (cTypes.AccAddress, cTypes.Error)
- func (keeper Keeper) SetACLAccount(ctx cTypes.Context, acl aclTypes.ACLAccount) cTypes.Error
- func (keeper Keeper) SetOrganization(ctx cTypes.Context, id aclTypes.OrganizationID, ...) cTypes.Error
- func (keeper Keeper) SetZoneAddress(ctx cTypes.Context, id aclTypes.ZoneID, address cTypes.AccAddress) cTypes.Error
Constants ¶
View Source
const ( QueryZone = "queryZone" QueryOrganization = "queryOrganization" QueryACLAccount = "queryACLAccount" )
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) CheckValidGenesisAddress ¶
func (Keeper) CheckValidOrganizationAddress ¶
func (keeper Keeper) CheckValidOrganizationAddress(ctx cTypes.Context, zoneID aclTypes.ZoneID, organizationID aclTypes.OrganizationID, address cTypes.AccAddress) bool
func (Keeper) CheckValidZoneAddress ¶
func (Keeper) CheckZoneAndGetACL ¶
func (keeper Keeper) CheckZoneAndGetACL(ctx cTypes.Context, from cTypes.AccAddress, to cTypes.AccAddress) (aclTypes.ACL, cTypes.Error)
CheckZoneAndGetACL : check if the from address is the zone address of the to address and returns back its acl details
func (Keeper) DefineACLAccount ¶
func (keeper Keeper) DefineACLAccount(ctx cTypes.Context, toAddress cTypes.AccAddress, aclAccount aclTypes.ACLAccount) cTypes.Error
func (Keeper) DefineOrganizationAddress ¶
func (keeper Keeper) DefineOrganizationAddress(ctx cTypes.Context, to cTypes.AccAddress, organizationID aclTypes.OrganizationID, zoneID aclTypes.ZoneID) cTypes.Error
DefineOrganizationAddress : Define Organization Address
func (Keeper) DefineZoneAddress ¶
func (Keeper) GetACLAccount ¶
func (keeper Keeper) GetACLAccount(ctx cTypes.Context, address cTypes.AccAddress) (aclTypes.ACLAccount, cTypes.Error)
func (Keeper) GetACLAccounts ¶
func (keeper Keeper) GetACLAccounts(ctx cTypes.Context) []aclTypes.ACLAccount
func (Keeper) GetAccountACLDetails ¶
func (keeper Keeper) GetAccountACLDetails(ctx cTypes.Context, address cTypes.AccAddress) (aclTypes.ACLAccount, cTypes.Error)
func (Keeper) GetOrganization ¶
func (keeper Keeper) GetOrganization(ctx cTypes.Context, id aclTypes.OrganizationID) (aclTypes.Organization, cTypes.Error)
func (Keeper) GetOrganizations ¶
func (keeper Keeper) GetOrganizations(ctx cTypes.Context) []aclTypes.Organization
func (Keeper) GetOrganizationsByZoneID ¶
func (Keeper) GetZoneAddress ¶
func (Keeper) SetACLAccount ¶
func (Keeper) SetOrganization ¶
func (keeper Keeper) SetOrganization(ctx cTypes.Context, id aclTypes.OrganizationID, organization aclTypes.Organization) cTypes.Error
Click to show internal directories.
Click to hide internal directories.