# README
Protocoladmin module
This module contain custom authentication functionality Inorder to start with this module, it needs to have super admin from genesis state.
Geneiss app_state example
app_state:
protocoladmin:
groupList: [
{
name: "super.admin",
owner: "genesis"
}
]
adminList: [
{
group: "super.admin",
admin: <super.admin.address>
}
]
command list
Query
sixd query protocoladmin
Available Commands:
list-admin list all admin
list-admin-of-group Query list-admin-of-group
list-group list all group
params shows the parameters of the module
show-admin shows a admin
show-group shows a group
list-admin
sixd query protocoladmin list-admin
list-admin-of-group
sixd query protocoladmin list-admin-of-group [group] [flags]
list-group
sixd query protocoladmin list-group
show-admin
sixd query protocoladmin show-admin [group] [admin]
show-group
sixd query protocoladmin show-group [name]
Tx
Available Commands:
add-admin-to-group Broadcast message add-admin-to-group
create-group Create a new group
delete-group Delete a group
remove-admin-from-group Broadcast message remove-admin-from-group
update-group Update a group
add-admin-to-group
Inorder to add admin to group, the group needs to be existed and msg sender needs to be the group creator or super admin
sixd tx protocoladmin add-admin-to-group [name] [address]
create-group
msg sender have to be super admin
sixd tx protocoladmin create-group [name]
delete-group
msg sender have to be super admin or group owner
sixd tx protocoladmin delete-group [name]
remove-admin-from-group
msg sender have to be super admin or group owner
sixd tx protocoladmin remove-admin-from-group [name] [address]
update-group
msg sender have to be super admin or group owner
sixd tx protocoladmin update-group [name]
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
Package types is a reverse proxy.
# Functions
ExportGenesis returns the capability module's exported genesis.
InitGenesis initializes the capability module's state from a provided genesis state.
No description provided by the author
No description provided by the author
NewHandler ...
NewIBCModule creates a new IBCModule given the keeper.
# Structs
AppModule implements the AppModule interface for the capability module.
AppModuleBasic implements the AppModuleBasic interface for the capability module.
IBCModule implements the ICS26 interface for oracle given the oracle keeper.