Skip to content

Commit

Permalink
feat: build proto file to use osmosis domain
Browse files Browse the repository at this point in the history
  • Loading branch information
kienn6034 committed Dec 24, 2023
1 parent 0db8380 commit 7d58290
Show file tree
Hide file tree
Showing 6 changed files with 226 additions and 224 deletions.
114 changes: 57 additions & 57 deletions docs/proto/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,38 @@
## Table of Contents

- [cosmwasm/tokenfactory/v1beta1/authorityMetadata.proto](#cosmwasm/tokenfactory/v1beta1/authorityMetadata.proto)
- [DenomAuthorityMetadata](#cosmwasm.tokenfactory.v1beta1.DenomAuthorityMetadata)
- [DenomAuthorityMetadata](#osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata)

- [cosmwasm/tokenfactory/v1beta1/params.proto](#cosmwasm/tokenfactory/v1beta1/params.proto)
- [Params](#cosmwasm.tokenfactory.v1beta1.Params)
- [Params](#osmosis.tokenfactory.v1beta1.Params)

- [cosmwasm/tokenfactory/v1beta1/genesis.proto](#cosmwasm/tokenfactory/v1beta1/genesis.proto)
- [GenesisDenom](#cosmwasm.tokenfactory.v1beta1.GenesisDenom)
- [GenesisState](#cosmwasm.tokenfactory.v1beta1.GenesisState)
- [GenesisDenom](#osmosis.tokenfactory.v1beta1.GenesisDenom)
- [GenesisState](#osmosis.tokenfactory.v1beta1.GenesisState)

- [cosmwasm/tokenfactory/v1beta1/query.proto](#cosmwasm/tokenfactory/v1beta1/query.proto)
- [QueryDenomAuthorityMetadataRequest](#cosmwasm.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest)
- [QueryDenomAuthorityMetadataResponse](#cosmwasm.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse)
- [QueryDenomsFromCreatorRequest](#cosmwasm.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest)
- [QueryDenomsFromCreatorResponse](#cosmwasm.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse)
- [QueryParamsRequest](#cosmwasm.tokenfactory.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#cosmwasm.tokenfactory.v1beta1.QueryParamsResponse)
- [QueryDenomAuthorityMetadataRequest](#osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest)
- [QueryDenomAuthorityMetadataResponse](#osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse)
- [QueryDenomsFromCreatorRequest](#osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest)
- [QueryDenomsFromCreatorResponse](#osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse)
- [QueryParamsRequest](#osmosis.tokenfactory.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#osmosis.tokenfactory.v1beta1.QueryParamsResponse)

- [Query](#cosmwasm.tokenfactory.v1beta1.Query)
- [Query](#osmosis.tokenfactory.v1beta1.Query)

- [cosmwasm/tokenfactory/v1beta1/tx.proto](#cosmwasm/tokenfactory/v1beta1/tx.proto)
- [MsgBurn](#cosmwasm.tokenfactory.v1beta1.MsgBurn)
- [MsgBurnResponse](#cosmwasm.tokenfactory.v1beta1.MsgBurnResponse)
- [MsgChangeAdmin](#cosmwasm.tokenfactory.v1beta1.MsgChangeAdmin)
- [MsgChangeAdminResponse](#cosmwasm.tokenfactory.v1beta1.MsgChangeAdminResponse)
- [MsgCreateDenom](#cosmwasm.tokenfactory.v1beta1.MsgCreateDenom)
- [MsgCreateDenomResponse](#cosmwasm.tokenfactory.v1beta1.MsgCreateDenomResponse)
- [MsgMint](#cosmwasm.tokenfactory.v1beta1.MsgMint)
- [MsgMintResponse](#cosmwasm.tokenfactory.v1beta1.MsgMintResponse)
- [MsgSetDenomMetadata](#cosmwasm.tokenfactory.v1beta1.MsgSetDenomMetadata)
- [MsgSetDenomMetadataResponse](#cosmwasm.tokenfactory.v1beta1.MsgSetDenomMetadataResponse)
- [MsgBurn](#osmosis.tokenfactory.v1beta1.MsgBurn)
- [MsgBurnResponse](#osmosis.tokenfactory.v1beta1.MsgBurnResponse)
- [MsgChangeAdmin](#osmosis.tokenfactory.v1beta1.MsgChangeAdmin)
- [MsgChangeAdminResponse](#osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse)
- [MsgCreateDenom](#osmosis.tokenfactory.v1beta1.MsgCreateDenom)
- [MsgCreateDenomResponse](#osmosis.tokenfactory.v1beta1.MsgCreateDenomResponse)
- [MsgMint](#osmosis.tokenfactory.v1beta1.MsgMint)
- [MsgMintResponse](#osmosis.tokenfactory.v1beta1.MsgMintResponse)
- [MsgSetDenomMetadata](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata)
- [MsgSetDenomMetadataResponse](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse)

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

- [Scalar Value Types](#scalar-value-types)

Expand All @@ -49,7 +49,7 @@



<a name="cosmwasm.tokenfactory.v1beta1.DenomAuthorityMetadata"></a>
<a name="osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata"></a>

### DenomAuthorityMetadata
DenomAuthorityMetadata specifies metadata for addresses that have specific
Expand Down Expand Up @@ -82,7 +82,7 @@ permission, but is planned to be extended to the future.



<a name="cosmwasm.tokenfactory.v1beta1.Params"></a>
<a name="osmosis.tokenfactory.v1beta1.Params"></a>

### Params
Params defines the parameters for the tokenfactory module.
Expand Down Expand Up @@ -113,7 +113,7 @@ Params defines the parameters for the tokenfactory module.



<a name="cosmwasm.tokenfactory.v1beta1.GenesisDenom"></a>
<a name="osmosis.tokenfactory.v1beta1.GenesisDenom"></a>

### GenesisDenom
GenesisDenom defines a tokenfactory denom that is defined within genesis
Expand All @@ -124,23 +124,23 @@ denom's admin.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `denom` | [string](#string) | | |
| `authority_metadata` | [DenomAuthorityMetadata](#cosmwasm.tokenfactory.v1beta1.DenomAuthorityMetadata) | | |
| `authority_metadata` | [DenomAuthorityMetadata](#osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata) | | |






<a name="cosmwasm.tokenfactory.v1beta1.GenesisState"></a>
<a name="osmosis.tokenfactory.v1beta1.GenesisState"></a>

### GenesisState
GenesisState defines the tokenfactory module's genesis state.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#cosmwasm.tokenfactory.v1beta1.Params) | | params defines the paramaters of the module. |
| `factory_denoms` | [GenesisDenom](#cosmwasm.tokenfactory.v1beta1.GenesisDenom) | repeated | |
| `params` | [Params](#osmosis.tokenfactory.v1beta1.Params) | | params defines the paramaters of the module. |
| `factory_denoms` | [GenesisDenom](#osmosis.tokenfactory.v1beta1.GenesisDenom) | repeated | |



Expand All @@ -163,7 +163,7 @@ GenesisState defines the tokenfactory module's genesis state.



<a name="cosmwasm.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest"></a>
<a name="osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest"></a>

### QueryDenomAuthorityMetadataRequest
QueryDenomAuthorityMetadataRequest defines the request structure for the
Expand All @@ -179,7 +179,7 @@ DenomAuthorityMetadata gRPC query.



<a name="cosmwasm.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse"></a>

### QueryDenomAuthorityMetadataResponse
QueryDenomAuthorityMetadataResponse defines the response structure for the
Expand All @@ -188,14 +188,14 @@ DenomAuthorityMetadata gRPC query.

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `authority_metadata` | [DenomAuthorityMetadata](#cosmwasm.tokenfactory.v1beta1.DenomAuthorityMetadata) | | |
| `authority_metadata` | [DenomAuthorityMetadata](#osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata) | | |






<a name="cosmwasm.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest"></a>
<a name="osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest"></a>

### QueryDenomsFromCreatorRequest
QueryDenomsFromCreatorRequest defines the request structure for the
Expand All @@ -211,7 +211,7 @@ DenomsFromCreator gRPC query.



<a name="cosmwasm.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse"></a>

### QueryDenomsFromCreatorResponse
QueryDenomsFromCreatorRequest defines the response structure for the
Expand All @@ -227,7 +227,7 @@ DenomsFromCreator gRPC query.



<a name="cosmwasm.tokenfactory.v1beta1.QueryParamsRequest"></a>
<a name="osmosis.tokenfactory.v1beta1.QueryParamsRequest"></a>

### QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
Expand All @@ -237,15 +237,15 @@ QueryParamsRequest is the request type for the Query/Params RPC method.



<a name="cosmwasm.tokenfactory.v1beta1.QueryParamsResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.QueryParamsResponse"></a>

### QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#cosmwasm.tokenfactory.v1beta1.Params) | | params defines the parameters of the module. |
| `params` | [Params](#osmosis.tokenfactory.v1beta1.Params) | | params defines the parameters of the module. |



Expand All @@ -258,16 +258,16 @@ QueryParamsResponse is the response type for the Query/Params RPC method.
<!-- end HasExtensions -->


<a name="cosmwasm.tokenfactory.v1beta1.Query"></a>
<a name="osmosis.tokenfactory.v1beta1.Query"></a>

### Query
Query defines the gRPC querier service.

| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Params` | [QueryParamsRequest](#cosmwasm.tokenfactory.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#cosmwasm.tokenfactory.v1beta1.QueryParamsResponse) | Params defines a gRPC query method that returns the tokenfactory module's parameters. | GET|/osmosis/tokenfactory/v1beta1/params|
| `DenomAuthorityMetadata` | [QueryDenomAuthorityMetadataRequest](#cosmwasm.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest) | [QueryDenomAuthorityMetadataResponse](#cosmwasm.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse) | DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. | GET|/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata|
| `DenomsFromCreator` | [QueryDenomsFromCreatorRequest](#cosmwasm.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest) | [QueryDenomsFromCreatorResponse](#cosmwasm.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse) | DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. | GET|/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}|
| `Params` | [QueryParamsRequest](#osmosis.tokenfactory.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#osmosis.tokenfactory.v1beta1.QueryParamsResponse) | Params defines a gRPC query method that returns the tokenfactory module's parameters. | GET|/osmosis/tokenfactory/v1beta1/params|
| `DenomAuthorityMetadata` | [QueryDenomAuthorityMetadataRequest](#osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest) | [QueryDenomAuthorityMetadataResponse](#osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse) | DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. | GET|/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata|
| `DenomsFromCreator` | [QueryDenomsFromCreatorRequest](#osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest) | [QueryDenomsFromCreatorResponse](#osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse) | DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. | GET|/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}|

<!-- end services -->

Expand All @@ -280,7 +280,7 @@ Query defines the gRPC querier service.



<a name="cosmwasm.tokenfactory.v1beta1.MsgBurn"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgBurn"></a>

### MsgBurn
MsgBurn is the sdk.Msg type for allowing an admin account to burn
Expand All @@ -297,7 +297,7 @@ a token. For now, we only support burning from the sender account.



<a name="cosmwasm.tokenfactory.v1beta1.MsgBurnResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgBurnResponse"></a>

### MsgBurnResponse

Expand All @@ -307,7 +307,7 @@ a token. For now, we only support burning from the sender account.



<a name="cosmwasm.tokenfactory.v1beta1.MsgChangeAdmin"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgChangeAdmin"></a>

### MsgChangeAdmin
MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign
Expand All @@ -325,7 +325,7 @@ adminship of a denom to a new account



<a name="cosmwasm.tokenfactory.v1beta1.MsgChangeAdminResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse"></a>

### MsgChangeAdminResponse
MsgChangeAdminResponse defines the response structure for an executed
Expand All @@ -336,7 +336,7 @@ MsgChangeAdmin message.



<a name="cosmwasm.tokenfactory.v1beta1.MsgCreateDenom"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgCreateDenom"></a>

### MsgCreateDenom
MsgCreateDenom defines the message structure for the CreateDenom gRPC service
Expand All @@ -360,7 +360,7 @@ denom does not indicate the current admin.



<a name="cosmwasm.tokenfactory.v1beta1.MsgCreateDenomResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgCreateDenomResponse"></a>

### MsgCreateDenomResponse
MsgCreateDenomResponse is the return value of MsgCreateDenom
Expand All @@ -376,7 +376,7 @@ It returns the full string of the newly created denom



<a name="cosmwasm.tokenfactory.v1beta1.MsgMint"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgMint"></a>

### MsgMint
MsgMint is the sdk.Msg type for allowing an admin account to mint
Expand All @@ -393,7 +393,7 @@ more of a token. For now, we only support minting to the sender account



<a name="cosmwasm.tokenfactory.v1beta1.MsgMintResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgMintResponse"></a>

### MsgMintResponse

Expand All @@ -403,7 +403,7 @@ more of a token. For now, we only support minting to the sender account



<a name="cosmwasm.tokenfactory.v1beta1.MsgSetDenomMetadata"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata"></a>

### MsgSetDenomMetadata
MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set
Expand All @@ -420,7 +420,7 @@ the denom's bank metadata



<a name="cosmwasm.tokenfactory.v1beta1.MsgSetDenomMetadataResponse"></a>
<a name="osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse"></a>

### MsgSetDenomMetadataResponse
MsgSetDenomMetadataResponse defines the response structure for an executed
Expand All @@ -437,18 +437,18 @@ MsgSetDenomMetadata message.
<!-- end HasExtensions -->


<a name="cosmwasm.tokenfactory.v1beta1.Msg"></a>
<a name="osmosis.tokenfactory.v1beta1.Msg"></a>

### Msg
Msg defines the tokefactory module's gRPC message service.

| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `CreateDenom` | [MsgCreateDenom](#cosmwasm.tokenfactory.v1beta1.MsgCreateDenom) | [MsgCreateDenomResponse](#cosmwasm.tokenfactory.v1beta1.MsgCreateDenomResponse) | | |
| `Mint` | [MsgMint](#cosmwasm.tokenfactory.v1beta1.MsgMint) | [MsgMintResponse](#cosmwasm.tokenfactory.v1beta1.MsgMintResponse) | | |
| `Burn` | [MsgBurn](#cosmwasm.tokenfactory.v1beta1.MsgBurn) | [MsgBurnResponse](#cosmwasm.tokenfactory.v1beta1.MsgBurnResponse) | | |
| `ChangeAdmin` | [MsgChangeAdmin](#cosmwasm.tokenfactory.v1beta1.MsgChangeAdmin) | [MsgChangeAdminResponse](#cosmwasm.tokenfactory.v1beta1.MsgChangeAdminResponse) | | |
| `SetDenomMetadata` | [MsgSetDenomMetadata](#cosmwasm.tokenfactory.v1beta1.MsgSetDenomMetadata) | [MsgSetDenomMetadataResponse](#cosmwasm.tokenfactory.v1beta1.MsgSetDenomMetadataResponse) | | |
| `CreateDenom` | [MsgCreateDenom](#osmosis.tokenfactory.v1beta1.MsgCreateDenom) | [MsgCreateDenomResponse](#osmosis.tokenfactory.v1beta1.MsgCreateDenomResponse) | | |
| `Mint` | [MsgMint](#osmosis.tokenfactory.v1beta1.MsgMint) | [MsgMintResponse](#osmosis.tokenfactory.v1beta1.MsgMintResponse) | | |
| `Burn` | [MsgBurn](#osmosis.tokenfactory.v1beta1.MsgBurn) | [MsgBurnResponse](#osmosis.tokenfactory.v1beta1.MsgBurnResponse) | | |
| `ChangeAdmin` | [MsgChangeAdmin](#osmosis.tokenfactory.v1beta1.MsgChangeAdmin) | [MsgChangeAdminResponse](#osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse) | | |
| `SetDenomMetadata` | [MsgSetDenomMetadata](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata) | [MsgSetDenomMetadataResponse](#osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse) | | |

<!-- end services -->

Expand Down
27 changes: 14 additions & 13 deletions x/tokenfactory/types/authorityMetadata.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7d58290

Please sign in to comment.