diff --git a/aclmapping/utils/identifier_templates.go b/aclmapping/utils/identifier_templates.go deleted file mode 100644 index 0e97535e5b..0000000000 --- a/aclmapping/utils/identifier_templates.go +++ /dev/null @@ -1,23 +0,0 @@ -package utils - -import ( - "fmt" -) - -const ( - ACCOUNT = "acc" - BANK = "bank" - AUTH = "auth" - STAKING = "staking" - TOKENFACTORY = "tokenfactory" - DEX = "dex" - DefaultIDTemplate = "*" -) - -func GetIdentifierTemplatePerModule(module string, identifier string) string { - return fmt.Sprintf("%s/%s", module, identifier) -} - -func GetPrefixedIdentifierTemplatePerModule(module string, identifier string, prefix string) string { - return fmt.Sprintf("%s/%s/%s", module, prefix, identifier) -} diff --git a/aclmapping/utils/resource_type.go b/aclmapping/utils/resource_type.go index cc725427d0..0ace98cdb5 100644 --- a/aclmapping/utils/resource_type.go +++ b/aclmapping/utils/resource_type.go @@ -12,6 +12,10 @@ import ( tokenfactorytypes "github.com/sei-protocol/sei-chain/x/tokenfactory/types" ) +const ( + DefaultIDTemplate = "*" +) + var StoreKeyToResourceTypePrefixMap = aclsdktypes.StoreKeyToResourceTypePrefixMap{ aclsdktypes.ParentNodeKey: { aclsdktypes.ResourceType_ANY: aclsdktypes.EmptyPrefix,