MCPcopy Create free account
hub / github.com/FirmaChain/firmachain / ModuleAccountAddrsForBankModule

Method ModuleAccountAddrsForBankModule

app/app.go:1085–1091  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1083}
1084
1085func (app *App) ModuleAccountAddrsForBankModule() map[string]bool {
1086 modAccAddrs := make(map[string]bool)
1087 for acc := range maccPerms {
1088 modAccAddrs[authtypes.NewModuleAddress(acc).String()] = true
1089 }
1090 return modAccAddrs
1091}
1092
1093// ModuleAccountAddrs returns all the app's module account addresses.
1094func (app *App) ModuleAccountAddrs() map[string]bool {

Callers 1

NewFunction · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected