Skip to content

Commit

Permalink
Merge pull request #1025 from public-awesome/spoorthi/add-msgupdatepa…
Browse files Browse the repository at this point in the history
…rams-tokenfactory

adding MsgUpdateParams for x/tokenfactory
  • Loading branch information
jhernandezb authored Apr 25, 2024
2 parents 597e0db + 622d3d1 commit 82fc7a7
Show file tree
Hide file tree
Showing 13 changed files with 754 additions and 363 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ func NewStargazeApp(
allocModule := allocmodule.NewAppModule(appCodec, app.Keepers.AllocKeeper)

tokenfactoryKeeper := tokenfactorykeeper.NewKeeper(appCodec, keys[tokenfactorytypes.StoreKey], app.GetSubspace(tokenfactorytypes.ModuleName),
app.Keepers.AccountKeeper, app.Keepers.BankKeeper, app.Keepers.DistrKeeper)
app.Keepers.AccountKeeper, app.Keepers.BankKeeper, app.Keepers.DistrKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String())
app.Keepers.TokenFactoryKeeper = tokenfactoryKeeper

// this line is used by starport scaffolding # stargate/app/keeperDefinition
Expand Down
33 changes: 33 additions & 0 deletions docs/proto/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
- [MsgMintResponse](#osmosis.tokenfactory.v1beta1.MsgMintResponse)
- [MsgSetDenomMetadata](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata)
- [MsgSetDenomMetadataResponse](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse)
- [MsgUpdateParams](#osmosis.tokenfactory.v1beta1.MsgUpdateParams)
- [MsgUpdateParamsResponse](#osmosis.tokenfactory.v1beta1.MsgUpdateParamsResponse)

- [Msg](#osmosis.tokenfactory.v1beta1.Msg)

Expand Down Expand Up @@ -530,6 +532,36 @@ MsgSetDenomMetadata message.




<a name="osmosis.tokenfactory.v1beta1.MsgUpdateParams"></a>

### MsgUpdateParams
MsgUpdateParams is the request type for updating module's params.

Since: v14


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `authority` | [string](#string) | | Authority is the address of the governance account. |
| `params` | [Params](#osmosis.tokenfactory.v1beta1.Params) | | NOTE: All parameters must be supplied. |






<a name="osmosis.tokenfactory.v1beta1.MsgUpdateParamsResponse"></a>

### MsgUpdateParamsResponse
MsgUpdateParamsResponse is the response type for executing
an update.
Since: v14





<!-- end messages -->

<!-- end enums -->
Expand All @@ -549,6 +581,7 @@ Msg defines the tokefactory module's gRPC message service.
| `Burn` | [MsgBurn](#osmosis.tokenfactory.v1beta1.MsgBurn) | [MsgBurnResponse](#osmosis.tokenfactory.v1beta1.MsgBurnResponse) | Burn | |
| `ChangeAdmin` | [MsgChangeAdmin](#osmosis.tokenfactory.v1beta1.MsgChangeAdmin) | [MsgChangeAdminResponse](#osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse) | ChangeAdmin | |
| `SetDenomMetadata` | [MsgSetDenomMetadata](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata) | [MsgSetDenomMetadataResponse](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse) | SetDenomMetadata | |
| `UpdateParams` | [MsgUpdateParams](#osmosis.tokenfactory.v1beta1.MsgUpdateParams) | [MsgUpdateParamsResponse](#osmosis.tokenfactory.v1beta1.MsgUpdateParamsResponse) | UpdateParams updates the tokenfactory module's parameters. | |

<!-- end services -->

Expand Down
Loading

0 comments on commit 82fc7a7

Please sign in to comment.