refactor: cli queries (#288)

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
Julian Strobl 2024-01-18 12:06:21 +01:00 committed by GitHub
parent 5d3cd51ba3
commit cb230f1615
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
26 changed files with 488 additions and 473 deletions

View File

@ -46640,6 +46640,58 @@ paths:
additionalProperties: {}
tags:
- Query
/planetmint/dao/challenge/{height}:
get:
summary: Queries a list of GetChallenge items.
operationId: PlanetmintgoDaoGetChallenge
responses:
'200':
description: A successful response.
schema:
type: object
properties:
challenge:
type: object
properties:
initiator:
type: string
challenger:
type: string
challengee:
type: string
height:
type: string
format: int64
success:
type: boolean
finished:
type: boolean
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: height
in: path
required: true
type: string
format: int64
tags:
- Query
/planetmint/dao/challenges:
get:
summary: Queries a list of Challenges items.
@ -46773,59 +46825,7 @@ paths:
type: boolean
tags:
- Query
/planetmint/dao/get_challenge/{height}:
get:
summary: Queries a list of GetChallenge items.
operationId: PlanetmintgoDaoGetChallenge
responses:
'200':
description: A successful response.
schema:
type: object
properties:
challenge:
type: object
properties:
initiator:
type: string
challenger:
type: string
challengee:
type: string
height:
type: string
format: int64
success:
type: boolean
finished:
type: boolean
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: height
in: path
required: true
type: string
format: int64
tags:
- Query
/planetmint/dao/get_distribution/{height}:
/planetmint/dao/distribution/{height}:
get:
summary: Queries a list of GetDistribution items.
operationId: PlanetmintgoDaoGetDistribution
@ -46890,7 +46890,57 @@ paths:
format: int64
tags:
- Query
/planetmint/dao/get_mint_requests_by_hash/{hash}:
/planetmint/dao/mint_requests/address/{address}:
get:
summary: Queries a list of MintRequestsByAddress items.
operationId: PlanetmintgoDaoMintRequestsByAddress
responses:
'200':
description: A successful response.
schema:
type: object
properties:
mintRequests:
type: object
properties:
Requests:
type: array
items:
type: object
properties:
beneficiary:
type: string
amount:
type: string
format: uint64
liquidTxHash:
type: string
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: address
in: path
required: true
type: string
tags:
- Query
/planetmint/dao/mint_requests/hash/{hash}:
get:
summary: Queries a list of GetMintRequestsByHash items.
operationId: PlanetmintgoDaoGetMintRequestsByHash
@ -46935,7 +46985,46 @@ paths:
type: string
tags:
- Query
/planetmint/dao/get_reissuance/{blockHeight}:
/planetmint/dao/params:
get:
summary: Parameters queries the parameters of the module.
operationId: PlanetmintgoDaoParams
responses:
'200':
description: A successful response.
schema:
type: object
properties:
params:
description: params holds all the parameters of this module.
type: object
properties:
mint_address:
type: string
description: >-
QueryParamsResponse is response type for the Query/Params RPC
method.
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
tags:
- Query
/planetmint/dao/reissuance/{blockHeight}:
get:
summary: Queries a list of GetReissuance items.
operationId: PlanetmintgoDaoGetReissuance
@ -46989,95 +47078,6 @@ paths:
format: int64
tags:
- Query
/planetmint/dao/mint_requests_by_address/{address}:
get:
summary: Queries a list of MintRequestsByAddress items.
operationId: PlanetmintgoDaoMintRequestsByAddress
responses:
'200':
description: A successful response.
schema:
type: object
properties:
mintRequests:
type: object
properties:
Requests:
type: array
items:
type: object
properties:
beneficiary:
type: string
amount:
type: string
format: uint64
liquidTxHash:
type: string
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: address
in: path
required: true
type: string
tags:
- Query
/planetmint/dao/params:
get:
summary: Parameters queries the parameters of the module.
operationId: PlanetmintgoDaoParams
responses:
'200':
description: A successful response.
schema:
type: object
properties:
params:
description: params holds all the parameters of this module.
type: object
properties:
mint_address:
type: string
description: >-
QueryParamsResponse is response type for the Query/Params RPC
method.
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
tags:
- Query
/planetmint/dao/reissuances:
get:
summary: Queries a list of Reissuances items.
@ -47213,53 +47213,7 @@ paths:
type: boolean
tags:
- Query
/planetmint/machine/get_liquid_assets_by_machineid/{machineID}:
get:
summary: Queries a list of GetLiquidAssetsByMachineid items.
operationId: PlanetmintgoMachineGetLiquidAssetsByMachineid
responses:
'200':
description: A successful response.
schema:
type: object
properties:
liquidAssetEntry:
type: object
properties:
machineID:
type: string
machineAddress:
type: string
assetID:
type: string
registered:
type: boolean
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: machineID
in: path
required: true
type: string
tags:
- Query
/planetmint/machine/get_machine_by_address/{address}:
/planetmint/machine/address/{address}:
get:
summary: Queries a list of GetMachineByAddress items.
operationId: PlanetmintgoMachineGetMachineByAddress
@ -47335,7 +47289,89 @@ paths:
type: string
tags:
- Query
/planetmint/machine/get_machine_by_public_key/{publicKey}:
/planetmint/machine/liquid_assets/{machineID}:
get:
summary: Queries a list of GetLiquidAssetsByMachineid items.
operationId: PlanetmintgoMachineGetLiquidAssetsByMachineid
responses:
'200':
description: A successful response.
schema:
type: object
properties:
liquidAssetEntry:
type: object
properties:
machineID:
type: string
machineAddress:
type: string
assetID:
type: string
registered:
type: boolean
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
parameters:
- name: machineID
in: path
required: true
type: string
tags:
- Query
/planetmint/machine/params:
get:
summary: Parameters queries the parameters of the module.
operationId: PlanetmintgoMachineParams
responses:
'200':
description: A successful response.
schema:
type: object
properties:
params:
description: params holds all the parameters of this module.
type: object
description: >-
QueryParamsResponse is response type for the Query/Params RPC
method.
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
tags:
- Query
/planetmint/machine/public_key/{publicKey}:
get:
summary: Queries a list of GetMachineByPublicKey items.
operationId: PlanetmintgoMachineGetMachineByPublicKey
@ -47411,7 +47447,7 @@ paths:
type: string
tags:
- Query
/planetmint/machine/get_trust_anchor_status/{machineid}:
/planetmint/machine/trust_anchor/status/{machineid}:
get:
summary: Queries a list of GetTrustAnchorStatus items.
operationId: PlanetmintgoMachineGetTrustAnchorStatus
@ -47450,42 +47486,6 @@ paths:
type: string
tags:
- Query
/planetmint/machine/params:
get:
summary: Parameters queries the parameters of the module.
operationId: PlanetmintgoMachineParams
responses:
'200':
description: A successful response.
schema:
type: object
properties:
params:
description: params holds all the parameters of this module.
type: object
description: >-
QueryParamsResponse is response type for the Query/Params RPC
method.
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
tags:
- Query
definitions:
cosmos.auth.v1beta1.AddressBytesToStringResponse:
type: object

View File

@ -26,19 +26,19 @@ service Query {
// Queries a list of GetMintRequestsByHash items.
rpc GetMintRequestsByHash (QueryGetMintRequestsByHashRequest) returns (QueryGetMintRequestsByHashResponse) {
option (google.api.http).get = "/planetmint/dao/get_mint_requests_by_hash/{hash}";
option (google.api.http).get = "/planetmint/dao/mint_requests/hash/{hash}";
}
// Queries a list of MintRequestsByAddress items.
rpc MintRequestsByAddress (QueryMintRequestsByAddressRequest) returns (QueryMintRequestsByAddressResponse) {
option (google.api.http).get = "/planetmint/dao/mint_requests_by_address/{address}";
option (google.api.http).get = "/planetmint/dao/mint_requests/address/{address}";
}
// Queries a list of GetReissuance items.
rpc GetReissuance (QueryGetReissuanceRequest) returns (QueryGetReissuanceResponse) {
option (google.api.http).get = "/planetmint/dao/get_reissuance/{blockHeight}";
option (google.api.http).get = "/planetmint/dao/reissuance/{blockHeight}";
}
@ -50,7 +50,7 @@ service Query {
// Queries a list of GetChallenge items.
rpc GetChallenge (QueryGetChallengeRequest) returns (QueryGetChallengeResponse) {
option (google.api.http).get = "/planetmint/dao/get_challenge/{height}";
option (google.api.http).get = "/planetmint/dao/challenge/{height}";
}
@ -61,7 +61,7 @@ service Query {
// Queries a list of GetDistribution items.
rpc GetDistribution (QueryGetDistributionRequest) returns (QueryGetDistributionResponse) {
option (google.api.http).get = "/planetmint/dao/get_distribution/{height}";
option (google.api.http).get = "/planetmint/dao/distribution/{height}";
}
}

View File

@ -22,25 +22,25 @@ service Query {
// Queries a list of GetMachineByPublicKey items.
rpc GetMachineByPublicKey (QueryGetMachineByPublicKeyRequest) returns (QueryGetMachineByPublicKeyResponse) {
option (google.api.http).get = "/planetmint/machine/get_machine_by_public_key/{publicKey}";
option (google.api.http).get = "/planetmint/machine/public_key/{publicKey}";
}
// Queries a list of GetTrustAnchorStatus items.
rpc GetTrustAnchorStatus (QueryGetTrustAnchorStatusRequest) returns (QueryGetTrustAnchorStatusResponse) {
option (google.api.http).get = "/planetmint/machine/get_trust_anchor_status/{machineid}";
option (google.api.http).get = "/planetmint/machine/trust_anchor/status/{machineid}";
}
// Queries a list of GetMachineByAddress items.
rpc GetMachineByAddress (QueryGetMachineByAddressRequest) returns (QueryGetMachineByAddressResponse) {
option (google.api.http).get = "/planetmint/machine/get_machine_by_address/{address}";
option (google.api.http).get = "/planetmint/machine/address/{address}";
}
// Queries a list of GetLiquidAssetsByMachineid items.
rpc GetLiquidAssetsByMachineid (QueryGetLiquidAssetsByMachineidRequest) returns (QueryGetLiquidAssetsByMachineidResponse) {
option (google.api.http).get = "/planetmint/machine/get_liquid_assets_by_machineid/{machineID}";
option (google.api.http).get = "/planetmint/machine/liquid_assets/{machineID}";
}
}

View File

@ -13,8 +13,8 @@ var _ = strconv.Itoa(0)
func CmdGetNotarizedAsset() *cobra.Command {
cmd := &cobra.Command{
Use: "get-notarized-asset [cid]",
Short: "Query get_notarized_asset",
Use: "notarized [cid]",
Short: "Query for notarized assets by CID",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqCid := args[0]

View File

@ -11,7 +11,7 @@ import (
func CmdQueryParams() *cobra.Command {
cmd := &cobra.Command{
Use: "params",
Short: "shows the parameters of the module",
Short: "Query the current asset parameters information",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)

View File

@ -14,8 +14,8 @@ var _ = strconv.Itoa(0)
func CmdGetCIDsByAddress() *cobra.Command {
cmd := &cobra.Command{
Use: "get-assets-by-pub-key [ext-pub-key] [lookup-period-in-min]",
Short: "Query get_cids_by_address",
Use: "public-key [pub-key] [lookup-period-in-min]",
Short: "Query for assets by public key",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqAddress := args[0]

View File

@ -23,9 +23,7 @@ func GetQueryCmd(_ string) *cobra.Command {
cmd.AddCommand(CmdQueryParams())
cmd.AddCommand(CmdGetMintRequestsByHash())
cmd.AddCommand(CmdMintRequestsByAddress())
cmd.AddCommand(CmdGetMintRequests())
cmd.AddCommand(CmdGetReissuance())

View File

@ -14,8 +14,8 @@ var _ = strconv.Itoa(0)
func CmdGetChallenge() *cobra.Command {
cmd := &cobra.Command{
Use: "get-challenge [height]",
Short: "Query get_challenge",
Use: "challenge [height]",
Short: "Query for challenge by height",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqHeight, err := cast.ToInt64E(args[0])

View File

@ -14,7 +14,7 @@ var _ = strconv.Itoa(0)
func CmdChallenges() *cobra.Command {
cmd := &cobra.Command{
Use: "challenges",
Short: "Query challenges",
Short: "Query for challenges",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) (err error) {
clientCtx, err := client.GetClientQueryContext(cmd)

View File

@ -17,7 +17,7 @@ var _ = strconv.Itoa(0)
func CmdGetDistribution() *cobra.Command {
cmd := &cobra.Command{
Use: "get-distribution [height]",
Use: "distribution [height]",
Short: "Query for distributions by height",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {

View File

@ -1,46 +0,0 @@
package cli
import (
"strconv"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/planetmint/planetmint-go/x/dao/types"
"github.com/spf13/cobra"
)
var _ = strconv.Itoa(0)
func CmdGetMintRequestsByHash() *cobra.Command {
cmd := &cobra.Command{
Use: "get-mint-requests-by-hash [hash]",
Short: "Query get-mint-requests-by-hash",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqHash := args[0]
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
}
queryClient := types.NewQueryClient(clientCtx)
params := &types.QueryGetMintRequestsByHashRequest{
Hash: reqHash,
}
res, err := queryClient.GetMintRequestsByHash(cmd.Context(), params)
if err != nil {
return err
}
return clientCtx.PrintProto(res)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}

View File

@ -0,0 +1,96 @@
package cli
import (
"strconv"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/planetmint/planetmint-go/x/dao/types"
"github.com/spf13/cobra"
)
var _ = strconv.Itoa(0)
func CmdGetMintRequests() *cobra.Command {
// Group mint-requests queries under a subcommand
cmd := &cobra.Command{
Use: "mint-requests",
Short: "Query for mint requests subcommand",
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
}
cmd.AddCommand(CmdGetAddress())
cmd.AddCommand(CmdGetHash())
return cmd
}
func CmdGetAddress() *cobra.Command {
cmd := &cobra.Command{
Use: "address [address]",
Short: "Query for mint requests by address",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqAddress := args[0]
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
}
queryClient := types.NewQueryClient(clientCtx)
params := &types.QueryMintRequestsByAddressRequest{
Address: reqAddress,
}
res, err := queryClient.MintRequestsByAddress(cmd.Context(), params)
if err != nil {
return err
}
return clientCtx.PrintProto(res)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}
func CmdGetHash() *cobra.Command {
cmd := &cobra.Command{
Use: "hash [hash]",
Short: "Query for mint requests by hash",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqHash := args[0]
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
}
queryClient := types.NewQueryClient(clientCtx)
params := &types.QueryGetMintRequestsByHashRequest{
Hash: reqHash,
}
res, err := queryClient.GetMintRequestsByHash(cmd.Context(), params)
if err != nil {
return err
}
return clientCtx.PrintProto(res)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}

View File

@ -1,46 +0,0 @@
package cli
import (
"strconv"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/planetmint/planetmint-go/x/dao/types"
"github.com/spf13/cobra"
)
var _ = strconv.Itoa(0)
func CmdMintRequestsByAddress() *cobra.Command {
cmd := &cobra.Command{
Use: "mint-requests-by-address [address]",
Short: "Query mint-requests-by-address",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqAddress := args[0]
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
}
queryClient := types.NewQueryClient(clientCtx)
params := &types.QueryMintRequestsByAddressRequest{
Address: reqAddress,
}
res, err := queryClient.MintRequestsByAddress(cmd.Context(), params)
if err != nil {
return err
}
return clientCtx.PrintProto(res)
},
}
flags.AddQueryFlagsToCmd(cmd)
return cmd
}

View File

@ -11,7 +11,7 @@ import (
func CmdQueryParams() *cobra.Command {
cmd := &cobra.Command{
Use: "params",
Short: "shows the parameters of the module",
Short: "Query the current dao parameters information",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)

View File

@ -14,8 +14,8 @@ var _ = strconv.Itoa(0)
func CmdGetReissuance() *cobra.Command {
cmd := &cobra.Command{
Use: "get-reissuance [block-height]",
Short: "Query get_reissuance",
Use: "reissuance [height]",
Short: "Query for reissuance by height",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqBlockHeight, err := cast.ToInt64E(args[0])

View File

@ -14,7 +14,7 @@ var _ = strconv.Itoa(0)
func CmdGetReissuances() *cobra.Command {
cmd := &cobra.Command{
Use: "reissuances",
Short: "Query reissuances",
Short: "Query for reissuances",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) (err error) {
clientCtx, err := client.GetClientQueryContext(cmd)

View File

@ -768,68 +768,67 @@ func init() {
func init() { proto.RegisterFile("planetmintgo/dao/query.proto", fileDescriptor_07bad0eeb5b27724) }
var fileDescriptor_07bad0eeb5b27724 = []byte{
// 969 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x6f, 0x1b, 0x45,
0x14, 0xc7, 0xb3, 0x6d, 0x09, 0xca, 0x73, 0x10, 0x30, 0xb4, 0xc1, 0x6c, 0x1c, 0x93, 0x6e, 0x4a,
0xc9, 0x8f, 0x76, 0x87, 0xb8, 0xe1, 0xa7, 0xa8, 0x10, 0x06, 0x35, 0xed, 0xa1, 0xa2, 0xec, 0x81,
0x43, 0x2f, 0x66, 0x6c, 0x8f, 0x76, 0x57, 0xd8, 0x3b, 0xee, 0xce, 0x1a, 0x11, 0x45, 0xb9, 0x20,
0x71, 0xe0, 0x86, 0xc4, 0x81, 0x2b, 0x12, 0x17, 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x65, 0x6f, 0xfc, 0x17, 0x00, 0x00,
0xff, 0xff, 0x93, 0x15, 0x35, 0x23, 0x4a, 0x0c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -790,19 +790,19 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "dao", "params"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetMintRequestsByHash_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "get_mint_requests_by_hash", "hash"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetMintRequestsByHash_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "mint_requests", "hash"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_MintRequestsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "mint_requests_by_address", "address"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_MintRequestsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "mint_requests", "address"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetReissuance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "get_reissuance", "blockHeight"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetReissuance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "reissuance", "blockHeight"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_Reissuances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "dao", "reissuances"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetChallenge_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "get_challenge", "height"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetChallenge_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "challenge", "height"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_Challenges_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "dao", "challenges"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetDistribution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "get_distribution", "height"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetDistribution_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "dao", "distribution", "height"}, "", runtime.AssumeColonVerbOpt(true)))
)
var (

View File

@ -27,7 +27,7 @@ func GetQueryCmd(_ string) *cobra.Command {
cmd.AddCommand(CmdQueryParams())
cmd.AddCommand(CmdGetMachineByPublicKey())
cmd.AddCommand(CmdGetTrustAnchorStatus())
cmd.AddCommand(CmdGetTrustAnchor())
cmd.AddCommand(CmdGetMachineByAddress())
cmd.AddCommand(CmdGetLiquidAssetsByMachineid())

View File

@ -13,8 +13,8 @@ var _ = strconv.Itoa(0)
func CmdGetMachineByAddress() *cobra.Command {
cmd := &cobra.Command{
Use: "get-machine-by-address [address]",
Short: "Query get-machine-by-address",
Use: "address [address]",
Short: "Query for machines by address",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqAddress := args[0]

View File

@ -13,8 +13,8 @@ var _ = strconv.Itoa(0)
func CmdGetLiquidAssetsByMachineid() *cobra.Command {
cmd := &cobra.Command{
Use: "get-liquid-assets-by-machineid [machine-id]",
Short: "Query get_liquid_assets_by_machineid",
Use: "liquid-assets [machine-id]",
Short: "Query for liquid assets by machine ID",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqMachineID := args[0]

View File

@ -11,7 +11,7 @@ import (
func CmdQueryParams() *cobra.Command {
cmd := &cobra.Command{
Use: "params",
Short: "shows the parameters of the module",
Short: "Query the current machine parameters information",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)

View File

@ -13,8 +13,8 @@ var _ = strconv.Itoa(0)
func CmdGetMachineByPublicKey() *cobra.Command {
cmd := &cobra.Command{
Use: "get-machine-by-public-key [public-key]",
Short: "Query get-machine-by-public-key",
Use: "public-key [public-key]",
Short: "Query for machines by public key",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqPublicKey := args[0]

View File

@ -11,10 +11,25 @@ import (
var _ = strconv.Itoa(0)
func CmdGetTrustAnchorStatus() *cobra.Command {
func CmdGetTrustAnchor() *cobra.Command {
// Group trust-anchor queries under a subcommand
cmd := &cobra.Command{
Use: "get-trust-anchor-status [machineid]",
Short: "Query get_trust_anchor_status",
Use: "trust-anchor",
Short: "Query for trust anchor subcommand",
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
}
cmd.AddCommand(CmdGetStatus())
return cmd
}
func CmdGetStatus() *cobra.Command {
cmd := &cobra.Command{
Use: "status [machine-id]",
Short: "Query for trust anchor status by machine ID",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
reqMachineid := args[0]

View File

@ -493,51 +493,50 @@ func init() {
func init() { proto.RegisterFile("planetmintgo/machine/query.proto", fileDescriptor_bf7841d43d757203) }
var fileDescriptor_bf7841d43d757203 = []byte{
// 701 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x4f, 0x13, 0x41,
0x18, 0xed, 0x12, 0x05, 0x19, 0x2e, 0x66, 0xa8, 0x09, 0xd9, 0xd4, 0x52, 0xe6, 0x20, 0x68, 0x62,
0x27, 0x80, 0x52, 0x11, 0x54, 0xda, 0x20, 0x86, 0x68, 0x13, 0xa8, 0x9e, 0x34, 0x66, 0x33, 0xdd,
0x4e, 0x96, 0x8d, 0xed, 0xce, 0xb2, 0x33, 0x4b, 0xd8, 0x90, 0x1e, 0xf4, 0x17, 0x98, 0xf8, 0x8f,
0x3c, 0x71, 0x31, 0x92, 0x78, 0xf1, 0x64, 0x14, 0xfc, 0x21, 0xa6, 0xb3, 0xb3, 0xdb, 0x85, 0x6e,
0x57, 0xaa, 0xa7, 0x4e, 0xbf, 0xbe, 0xf7, 0x7d, 0xef, 0x7d, 0x3b, 0xaf, 0x0b, 0x4a, 0x6e, 0x9b,
0x38, 0x54, 0x74, 0x6c, 0x47, 0x58, 0x0c, 0x77, 0x88, 0xb9, 0x67, 0x3b, 0x14, 0xef, 0xfb, 0xd4,
0x0b, 0xca, 0xae, 0xc7, 0x04, 0x83, 0xf9, 0x24, 0xa2, 0xac, 0x10, 0x7a, 0xde, 0x62, 0x16, 0x93,
0x00, 0xdc, 0x3b, 0x85, 0x58, 0xbd, 0x60, 0x31, 0x66, 0xb5, 0x29, 0x26, 0xae, 0x8d, 0x89, 0xe3,
0x30, 0x41, 0x84, 0xcd, 0x1c, 0xae, 0x7e, 0xbd, 0x63, 0x32, 0xde, 0x61, 0x1c, 0x37, 0x09, 0x57,
0x23, 0xf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6c, 0x3a, 0xed, 0xd5, 0xab, 0xd2, 0xf4, 0x0c, 0x0b, 0x6a,
0x86, 0x59, 0x78, 0xcb, 0x34, 0x83, 0x0e, 0x38, 0x3e, 0xd4, 0x87, 0x1e, 0x3c, 0xb6, 0x80, 0x7d,
0x71, 0x82, 0xe0, 0x83, 0x7c, 0x17, 0xf9, 0x01, 0xb6, 0x1f, 0xfe, 0x25, 0x5b, 0x8f, 0xb2, 0xa2,
0x46, 0xc1, 0x70, 0xc1, 0x34, 0x4a, 0xf6, 0x2b, 0x95, 0xbe, 0x88, 0xcd, 0x8d, 0x5e, 0xbd, 0x71,
0x74, 0x52, 0xb6, 0x8e, 0x4f, 0xca, 0xd6, 0xcf, 0x93, 0xb2, 0xf5, 0xe1, 0xb4, 0x5c, 0x38, 0x3e,
0x2d, 0x17, 0xbe, 0x9f, 0x96, 0x0b, 0xaf, 0x96, 0x5d, 0x26, 0x77, 0xc3, 0x56, 0xd5, 0xe1, 0xdd,
0xac, 0x64, 0x7a, 0x5c, 0x70, 0x39, 0x3e, 0x48, 0xdf, 0x78, 0xe4, 0x53, 0xd1, 0x1a, 0x55, 0x9f,
0xc0, 0xe5, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x54, 0x57, 0xb2, 0xca, 0x0c, 0x08, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -535,13 +535,13 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
var (
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"planetmint", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetMachineByPublicKey_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "get_machine_by_public_key", "publicKey"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetMachineByPublicKey_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "public_key", "publicKey"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetTrustAnchorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "get_trust_anchor_status", "machineid"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetTrustAnchorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "machine", "trust_anchor", "status", "machineid"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetMachineByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "get_machine_by_address", "address"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetMachineByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 2}, []string{"planetmint", "machine", "address"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetLiquidAssetsByMachineid_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "get_liquid_assets_by_machineid", "machineID"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_GetLiquidAssetsByMachineid_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"planetmint", "machine", "liquid_assets", "machineID"}, "", runtime.AssumeColonVerbOpt(true)))
)
var (