github.com/Finschia/finschia-sdk@v0.48.1/x/params/types/doc.go (about)

     1  /*
     2  To prevent namespace collision between consumer modules, we define a type
     3  Subspace. A Subspace can only be generated by the keeper, and the keeper checks
     4  the existence of the Subspace having the same name before generating the
     5  Subspace.
     6  
     7  Consumer modules must take a Subspace (via Keeper.Subspace), not the keeper
     8  itself. This isolates each modules from the others and make them modify their
     9  respective parameters safely. Keeper can be treated as master permission for all
    10  Subspaces (via Keeper.GetSubspace), so should be passed to proper modules
    11  (ex. x/governance).
    12  */
    13  package types