mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
Fix broken API paths (#154)
* Fix broken API paths Partially revert d4eed021c8b16210e82dbaa7687fc671b6ea5a90 * Generate protobuf and openapi Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
c6909a3e4a
commit
283eeb7c9a
310
docs/static/openapi.yml
vendored
310
docs/static/openapi.yml
vendored
@ -46437,42 +46437,6 @@ paths:
|
||||
}
|
||||
tags:
|
||||
- Query
|
||||
/github.com/planetmint/planetmint-go/asset/params:
|
||||
get:
|
||||
summary: Parameters queries the parameters of the module.
|
||||
operationId: PlanetmintgoAssetParams
|
||||
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/planetmint-go/asset/get_cids_by_address/{address}/{lookupPeriodInMin}:
|
||||
get:
|
||||
summary: Queries a list of GetCIDsByAddress items.
|
||||
@ -46640,10 +46604,10 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
/github.com/planetmint/planetmint-go/dao/params:
|
||||
/planetmint/planetmint-go/asset/params:
|
||||
get:
|
||||
summary: Parameters queries the parameters of the module.
|
||||
operationId: PlanetmintgoDaoParams
|
||||
operationId: PlanetmintgoAssetParams
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
@ -46946,125 +46910,10 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
/github.com/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}:
|
||||
get:
|
||||
summary: Queries a list of GetMachineByPublicKey items.
|
||||
operationId: PlanetmintgoMachineGetMachineByPublicKey
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
machine:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
ticker:
|
||||
type: string
|
||||
domain:
|
||||
type: string
|
||||
reissue:
|
||||
type: boolean
|
||||
amount:
|
||||
type: string
|
||||
format: uint64
|
||||
precision:
|
||||
type: string
|
||||
format: uint64
|
||||
issuerPlanetmint:
|
||||
type: string
|
||||
issuerLiquid:
|
||||
type: string
|
||||
machineId:
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
properties:
|
||||
gps:
|
||||
type: string
|
||||
device:
|
||||
type: string
|
||||
assetDefinition:
|
||||
type: string
|
||||
additionalDataCID:
|
||||
type: string
|
||||
type:
|
||||
type: integer
|
||||
format: int64
|
||||
machineIdSignature:
|
||||
type: string
|
||||
address:
|
||||
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: publicKey
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
/github.com/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}:
|
||||
get:
|
||||
summary: Queries a list of GetTrustAnchorStatus items.
|
||||
operationId: PlanetmintgoMachineGetTrustAnchorStatus
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
machineid:
|
||||
type: string
|
||||
isactivated:
|
||||
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
|
||||
/github.com/planetmint/planetmint-go/machine/params:
|
||||
/planetmint/planetmint-go/dao/params:
|
||||
get:
|
||||
summary: Parameters queries the parameters of the module.
|
||||
operationId: PlanetmintgoMachineParams
|
||||
operationId: PlanetmintgoDaoParams
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
@ -47173,6 +47022,157 @@ paths:
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}:
|
||||
get:
|
||||
summary: Queries a list of GetMachineByPublicKey items.
|
||||
operationId: PlanetmintgoMachineGetMachineByPublicKey
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
machine:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
ticker:
|
||||
type: string
|
||||
domain:
|
||||
type: string
|
||||
reissue:
|
||||
type: boolean
|
||||
amount:
|
||||
type: string
|
||||
format: uint64
|
||||
precision:
|
||||
type: string
|
||||
format: uint64
|
||||
issuerPlanetmint:
|
||||
type: string
|
||||
issuerLiquid:
|
||||
type: string
|
||||
machineId:
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
properties:
|
||||
gps:
|
||||
type: string
|
||||
device:
|
||||
type: string
|
||||
assetDefinition:
|
||||
type: string
|
||||
additionalDataCID:
|
||||
type: string
|
||||
type:
|
||||
type: integer
|
||||
format: int64
|
||||
machineIdSignature:
|
||||
type: string
|
||||
address:
|
||||
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: publicKey
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}:
|
||||
get:
|
||||
summary: Queries a list of GetTrustAnchorStatus items.
|
||||
operationId: PlanetmintgoMachineGetTrustAnchorStatus
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
machineid:
|
||||
type: string
|
||||
isactivated:
|
||||
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/planetmint-go/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
|
||||
|
@ -14,7 +14,7 @@ service Query {
|
||||
|
||||
// Parameters queries the parameters of the module.
|
||||
rpc Params (QueryParamsRequest) returns (QueryParamsResponse) {
|
||||
option (google.api.http).get = "/github.com/planetmint/planetmint-go/asset/params";
|
||||
option (google.api.http).get = "/planetmint/planetmint-go/asset/params";
|
||||
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ service Query {
|
||||
|
||||
// Parameters queries the parameters of the module.
|
||||
rpc Params (QueryParamsRequest) returns (QueryParamsResponse) {
|
||||
option (google.api.http).get = "/github.com/planetmint/planetmint-go/dao/params";
|
||||
option (google.api.http).get = "/planetmint/planetmint-go/dao/params";
|
||||
|
||||
}
|
||||
|
||||
|
@ -15,19 +15,19 @@ service Query {
|
||||
|
||||
// Parameters queries the parameters of the module.
|
||||
rpc Params (QueryParamsRequest) returns (QueryParamsResponse) {
|
||||
option (google.api.http).get = "/github.com/planetmint/planetmint-go/machine/params";
|
||||
option (google.api.http).get = "/planetmint/planetmint-go/machine/params";
|
||||
|
||||
}
|
||||
|
||||
// Queries a list of GetMachineByPublicKey items.
|
||||
rpc GetMachineByPublicKey (QueryGetMachineByPublicKeyRequest) returns (QueryGetMachineByPublicKeyResponse) {
|
||||
option (google.api.http).get = "/github.com/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}";
|
||||
option (google.api.http).get = "/planetmint/planetmint-go/machine/get_machine_by_public_key/{publicKey}";
|
||||
|
||||
}
|
||||
|
||||
// Queries a list of GetTrustAnchorStatus items.
|
||||
rpc GetTrustAnchorStatus (QueryGetTrustAnchorStatusRequest) returns (QueryGetTrustAnchorStatusResponse) {
|
||||
option (google.api.http).get = "/github.com/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}";
|
||||
option (google.api.http).get = "/planetmint/planetmint-go/machine/get_trust_anchor_status/{machineid}";
|
||||
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ func (s *E2ETestSuite) TestAttestMachineREST() {
|
||||
s.Require().NoError(err)
|
||||
s.Require().Equal(uint32(0), txRes.TxResponse.Code)
|
||||
|
||||
queryMachineUrl := fmt.Sprintf("%s/github.com/planetmint/planetmint-go/machine/get_machine_by_public_key/%s", baseURL, pubKey)
|
||||
queryMachineUrl := fmt.Sprintf("%s/planetmint/planetmint-go/machine/get_machine_by_public_key/%s", baseURL, pubKey)
|
||||
queryMachineRes, err := testutil.GetRequest(queryMachineUrl)
|
||||
s.Require().NoError(err)
|
||||
|
||||
|
@ -333,43 +333,43 @@ func init() {
|
||||
func init() { proto.RegisterFile("planetmintgo/asset/query.proto", fileDescriptor_5832a953a81817c0) }
|
||||
|
||||
var fileDescriptor_5832a953a81817c0 = []byte{
|
||||
// 562 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xbf, 0x6f, 0xd3, 0x40,
|
||||
0x14, 0x8e, 0x93, 0x10, 0xd4, 0x63, 0x69, 0x8f, 0x0e, 0x91, 0x55, 0xdc, 0xca, 0x43, 0x1b, 0x21,
|
||||
0xf0, 0xe1, 0x74, 0xa1, 0x62, 0x4a, 0x40, 0x54, 0x15, 0xbf, 0x52, 0x33, 0xc1, 0x12, 0x5d, 0xe2,
|
||||
0x93, 0x39, 0x91, 0xdc, 0xb9, 0xbe, 0x0b, 0x22, 0x84, 0x2c, 0xfc, 0x05, 0x48, 0xf0, 0x77, 0xb0,
|
||||
0x30, 0xb3, 0x77, 0xac, 0x60, 0x61, 0x42, 0x28, 0xe1, 0x0f, 0x41, 0xbe, 0xbb, 0x28, 0x49, 0x9d,
|
||||
0x34, 0xed, 0xf6, 0x7c, 0xef, 0x7d, 0xef, 0xfb, 0xde, 0xf7, 0x9e, 0x0c, 0x9c, 0xb8, 0x83, 0x19,
|
||||
0x91, 0x5d, 0xca, 0x64, 0xc4, 0x11, 0x16, 0x82, 0x48, 0x74, 0xd2, 0x23, 0x49, 0xdf, 0x8b, 0x13,
|
||||
0x2e, 0x39, 0x84, 0xb3, 0x79, 0x4f, 0xe5, 0xed, 0xcd, 0x88, 0x47, 0x5c, 0xa5, 0x51, 0x1a, 0xe9,
|
||||
0x4a, 0x7b, 0x2b, 0xe2, 0x3c, 0xea, 0x10, 0x84, 0x63, 0x8a, 0x30, 0x63, 0x5c, 0x62, 0x49, 0x39,
|
||||
0x13, 0x26, 0x7b, 0xbb, 0xcd, 0x45, 0x97, 0x0b, 0xd4, 0xc2, 0x82, 0x68, 0x02, 0xf4, 0xce, 0x6f,
|
||||
0x11, 0x89, 0x7d, 0x14, 0xe3, 0x88, 0x32, 0x55, 0x6c, 0x6a, 0xb7, 0x17, 0x68, 0x8a, 0x71, 0x82,
|
||||
0xbb, 0xa6, 0x99, 0xbb, 0x09, 0xe0, 0x71, 0xda, 0xa2, 0xa1, 0x1e, 0x03, 0x72, 0xd2, 0x23, 0x42,
|
||||
0xba, 0x2f, 0xc0, 0xcd, 0xb9, 0x57, 0x11, 0x73, 0x26, 0x08, 0xbc, 0x0f, 0x4a, 0x1a, 0x5c, 0xb6,
|
||||
0x76, 0xac, 0xca, 0x8d, 0xaa, 0xed, 0x65, 0x47, 0xf2, 0x34, 0xa6, 0x5e, 0x3c, 0xfd, 0xb3, 0x9d,
|
||||
0x0b, 0x4c, 0xbd, 0xfb, 0xcd, 0x02, 0x5b, 0xaa, 0xe3, 0x21, 0x91, 0x0f, 0x8f, 0x1e, 0x89, 0x7a,
|
||||
0xbf, 0x16, 0x86, 0x09, 0x11, 0x13, 0x46, 0x58, 0x06, 0xd7, 0xb1, 0x7e, 0x51, 0xbd, 0xd7, 0x82,
|
||||
0xc9, 0x27, 0xbc, 0x03, 0x36, 0x3a, 0x9c, 0xbf, 0xed, 0xc5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 0x2f, 0x39, 0x3b, 0xdb, 0xbf, 0x02, 0xc2, 0x88, 0x7e,
|
||||
0xa5, 0x44, 0xbf, 0x84, 0xc7, 0xab, 0x94, 0x46, 0x44, 0x36, 0xd3, 0xb3, 0x68, 0xb6, 0xfa, 0x4d,
|
||||
0xe3, 0x2b, 0x1a, 0x98, 0x60, 0x88, 0x06, 0x99, 0xdb, 0x1d, 0xc2, 0x1f, 0x16, 0xd8, 0xc8, 0xec,
|
||||
0x0f, 0x5e, 0xa8, 0x71, 0xe1, 0x79, 0xd8, 0xd5, 0xab, 0x40, 0xcc, 0x5c, 0x35, 0x35, 0xd7, 0x03,
|
||||
0x78, 0x70, 0x99, 0xb9, 0xd8, 0xa4, 0x47, 0x53, 0xbf, 0x0d, 0xda, 0x34, 0x1c, 0xd6, 0x9f, 0x9c,
|
||||
0x8e, 0x1c, 0xeb, 0x6c, 0xe4, 0x58, 0x7f, 0x47, 0x8e, 0xf5, 0x79, 0xec, 0xe4, 0xce, 0xc6, 0x4e,
|
||||
0xee, 0xf7, 0xd8, 0xc9, 0xbd, 0xf6, 0x2f, 0xb3, 0xe0, 0xf7, 0x86, 0x40, 0xf6, 0x63, 0x22, 0x5a,
|
||||
0x25, 0xf5, 0x83, 0xda, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x21, 0x7d, 0xdb, 0xca, 0x57, 0x05,
|
||||
0x00, 0x00,
|
||||
// 561 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xbf, 0x6f, 0x13, 0x31,
|
||||
0x14, 0xce, 0xa5, 0x21, 0xa8, 0x66, 0x69, 0x4d, 0x87, 0xe8, 0x54, 0xae, 0xd5, 0x0d, 0x69, 0x84,
|
||||
0xc0, 0x26, 0x61, 0x01, 0x31, 0x25, 0x20, 0xaa, 0x8a, 0x5f, 0xe9, 0x31, 0xc1, 0x12, 0x39, 0x39,
|
||||
0xeb, 0xb0, 0x48, 0xec, 0xeb, 0xd9, 0x41, 0x84, 0x90, 0x85, 0x8d, 0x0d, 0x89, 0x7f, 0x82, 0x89,
|
||||
0xff, 0x80, 0xbd, 0x63, 0x05, 0x0b, 0x13, 0x42, 0x09, 0x7f, 0x08, 0x3a, 0xdb, 0x51, 0x92, 0x5e,
|
||||
0x42, 0xe8, 0xf6, 0xce, 0xef, 0xbd, 0xef, 0xfb, 0xde, 0xf7, 0x9e, 0x0e, 0x78, 0x71, 0x97, 0x70,
|
||||
0xaa, 0x7a, 0x8c, 0xab, 0x48, 0x60, 0x22, 0x25, 0x55, 0xf8, 0xa4, 0x4f, 0x93, 0x01, 0x8a, 0x13,
|
||||
0xa1, 0x04, 0x84, 0xf3, 0x79, 0xa4, 0xf3, 0xee, 0x4e, 0x24, 0x22, 0xa1, 0xd3, 0x38, 0x8d, 0x4c,
|
||||
0xa5, 0xbb, 0x1b, 0x09, 0x11, 0x75, 0x29, 0x26, 0x31, 0xc3, 0x84, 0x73, 0xa1, 0x88, 0x62, 0x82,
|
||||
0x4b, 0x9b, 0xbd, 0xde, 0x11, 0xb2, 0x27, 0x24, 0x6e, 0x13, 0x49, 0x0d, 0x01, 0x7e, 0x53, 0x6d,
|
||||
0x53, 0x45, 0xaa, 0x38, 0x26, 0x11, 0xe3, 0xba, 0xd8, 0xd6, 0xee, 0x2d, 0xd1, 0x14, 0x93, 0x84,
|
||||
0xf4, 0x2c, 0x98, 0xbf, 0x03, 0xe0, 0x71, 0x0a, 0xd1, 0xd4, 0x8f, 0x01, 0x3d, 0xe9, 0x53, 0xa9,
|
||||
0xfc, 0x67, 0xe0, 0xea, 0xc2, 0xab, 0x8c, 0x05, 0x97, 0x14, 0xde, 0x01, 0x45, 0xd3, 0x5c, 0x72,
|
||||
0xf6, 0x9d, 0xca, 0x95, 0x9a, 0x8b, 0xb2, 0x23, 0x21, 0xd3, 0xd3, 0x28, 0x9c, 0xfe, 0xda, 0xcb,
|
||||
0x05, 0xb6, 0xde, 0xff, 0xea, 0x80, 0x5d, 0x8d, 0x78, 0x48, 0xd5, 0xfd, 0xa3, 0x07, 0xb2, 0x31,
|
||||
0xa8, 0x87, 0x61, 0x42, 0xe5, 0x94, 0x11, 0x96, 0xc0, 0x65, 0x62, 0x5e, 0x34, 0xf6, 0x66, 0x30,
|
||||
0xfd, 0x84, 0x37, 0xc0, 0x76, 0x57, 0x88, 0xd7, 0xfd, 0xb8, 0x49, 0x13, 0x26, 0xc2, 0x23, 0xfe,
|
||||
0x84, 0xf1, 0x52, 0x7e, 0xdf, 0xa9, 0x14, 0x82, 0x6c, 0x02, 0x3e, 0x04, 0x60, 0x66, 0x42, 0x69,
|
||||
0x43, 0xcb, 0x2c, 0x23, 0xe3, 0x18, 0x4a, 0x1d, 0x43, 0x66, 0x25, 0xd6, 0x31, 0xd4, 0x24, 0x11,
|
||||
0xb5, 0x1a, 0x82, 0xb9, 0x4e, 0xff, 0x3d, 0xb8, 0xb6, 0x42, 0xaf, 0xf5, 0x02, 0x82, 0x42, 0x87,
|
||||
0x85, 0xa9, 0xda, 0x8d, 0xca, 0x66, 0xa0, 0x63, 0x78, 0xb8, 0x40, 0x9e, 0xd7, 0xe4, 0x07, 0x6b,
|
||||
0xc9, 0x0d, 0xe0, 0x02, 0x7b, 0x75, 0xc6, 0xfe, 0x54, 0x28, 0x92, 0xb0, 0x77, 0x34, 0xac, 0xa7,
|
||||
0xee, 0x4e, 0xed, 0xda, 0x02, 0x1b, 0x1d, 0x16, 0x5a, 0xab, 0xd2, 0xd0, 0x7f, 0x0c, 0xbc, 0x55,
|
||||
0x2d, 0x56, 0x71, 0xa6, 0x67, 0xde, 0xf4, 0xfc, 0x82, 0xe9, 0xb5, 0x2f, 0x05, 0x70, 0x49, 0xc3,
|
||||
0xc1, 0x8f, 0x0e, 0x28, 0x9a, 0x95, 0xc2, 0xf2, 0xb2, 0x75, 0x67, 0xaf, 0xc7, 0x3d, 0x58, 0x5b,
|
||||
0x67, 0x14, 0xf9, 0xe8, 0xc3, 0x8f, 0x3f, 0x9f, 0xf3, 0x15, 0x58, 0xc6, 0xb3, 0x86, 0xb9, 0xf0,
|
||||
0xe6, 0xb9, 0x93, 0x85, 0xdf, 0x1d, 0xb0, 0x75, 0x7e, 0x21, 0xf0, 0xd6, 0x4a, 0xb6, 0x15, 0xb7,
|
||||
0xe6, 0x56, 0x2f, 0xd0, 0x61, 0x95, 0xbe, 0xd0, 0x4a, 0x9f, 0xc3, 0xe3, 0x75, 0x4a, 0x23, 0xaa,
|
||||
0x5a, 0xe9, 0x2d, 0xb4, 0xda, 0x83, 0x96, 0x35, 0x13, 0x0f, 0x6d, 0x30, 0xc2, 0xc3, 0xcc, 0xc1,
|
||||
0x8e, 0xe0, 0x37, 0x07, 0x6c, 0x67, 0x96, 0x06, 0xff, 0xa9, 0x71, 0xe9, 0x4d, 0xb8, 0xb5, 0x8b,
|
||||
0xb4, 0xd8, 0xb9, 0xea, 0x7a, 0xae, 0x7b, 0xf0, 0xee, 0xff, 0xcc, 0xc5, 0xa7, 0x18, 0x2d, 0xf3,
|
||||
0x36, 0xec, 0xb0, 0x70, 0xd4, 0x78, 0x74, 0x3a, 0xf6, 0x9c, 0xb3, 0xb1, 0xe7, 0xfc, 0x1e, 0x7b,
|
||||
0xce, 0xa7, 0x89, 0x97, 0x3b, 0x9b, 0x78, 0xb9, 0x9f, 0x13, 0x2f, 0xf7, 0xb2, 0x1a, 0x31, 0xf5,
|
||||
0xaa, 0xdf, 0x46, 0x1d, 0xd1, 0x5b, 0x0d, 0xff, 0xd6, 0x12, 0xa8, 0x41, 0x4c, 0x65, 0xbb, 0xa8,
|
||||
0xff, 0x4a, 0xb7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xf6, 0xaf, 0x75, 0x4c, 0x05, 0x00,
|
||||
0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
@ -379,7 +379,7 @@ 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, 2, 3, 2, 4}, []string{"github.com", "planetmint", "planetmint-go", "asset", "params"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"planetmint", "planetmint-go", "asset", "params"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
pattern_Query_GetCIDsByAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"planetmint", "planetmint-go", "asset", "get_cids_by_address", "address", "lookupPeriodInMin"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
|
@ -489,51 +489,51 @@ func init() {
|
||||
func init() { proto.RegisterFile("planetmintgo/dao/query.proto", fileDescriptor_07bad0eeb5b27724) }
|
||||
|
||||
var fileDescriptor_07bad0eeb5b27724 = []byte{
|
||||
// 689 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcf, 0x4f, 0xd4, 0x40,
|
||||
0x14, 0xc7, 0xb7, 0x04, 0x21, 0x3e, 0xd4, 0x98, 0x11, 0x12, 0x5c, 0xa1, 0xc2, 0x88, 0x3f, 0xa2,
|
||||
0xd2, 0x09, 0xa0, 0x92, 0x18, 0x50, 0xdc, 0x03, 0xe0, 0x81, 0x04, 0x7b, 0xe4, 0xb2, 0x99, 0xdd,
|
||||
0x9d, 0x74, 0x1b, 0xd9, 0x4e, 0xe9, 0xcc, 0x1a, 0x37, 0x84, 0x8b, 0x67, 0x63, 0x4c, 0xfc, 0x17,
|
||||
0x38, 0xfb, 0x77, 0x10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 0x66, 0xac, 0x07, 0x63, 0x8b, 0x93, 0xce, 0xbf, 0xc3, 0x73, 0xb4, 0xa2, 0x32, 0x7c, 0xf4,
|
||||
0xeb, 0x76, 0xc9, 0x35, 0xd1, 0x78, 0x19, 0x66, 0x55, 0xba, 0x0d, 0x26, 0xb7, 0xfc, 0x40, 0x9a,
|
||||
0x2a, 0xa2, 0xd2, 0xd9, 0xa4, 0xa2, 0x69, 0x9e, 0x10, 0x82, 0xe1, 0x26, 0x15, 0x4d, 0x95, 0xfa,
|
||||
0xb2, 0xab, 0xd6, 0x98, 0x01, 0x2e, 0x12, 0x1a, 0xac, 0x97, 0x30, 0xd6, 0xea, 0x9e, 0x1a, 0xb6,
|
||||
0xe9, 0x3c, 0x5b, 0x2a, 0x85, 0x9b, 0x56, 0xe0, 0x55, 0xc3, 0x97, 0xad, 0xf1, 0xaa, 0xd1, 0x88,
|
||||
0x98, 0x48, 0x66, 0x82, 0x26, 0x61, 0x94, 0xea, 0x1d, 0x83, 0x98, 0x3c, 0xe2, 0xa6, 0xa1, 0xec,
|
||||
0x23, 0x37, 0x94, 0x15, 0xb8, 0x92, 0xaa, 0x99, 0x8c, 0xd0, 0x2e, 0xc4, 0x14, 0x6e, 0x46, 0x83,
|
||||
0x57, 0xe1, 0x66, 0x32, 0x0f, 0xf7, 0xec, 0x4d, 0x26, 0x80, 0x33, 0x30, 0x56, 0xdb, 0xe5, 0xf5,
|
||||
0xb7, 0x9b, 0xcc, 0xf7, 0x9a, 0x7a, 0x0c, 0xc3, 0x6e, 0x7a, 0x0b, 0xef, 0x40, 0xb9, 0x97, 0xdc,
|
||||
0x00, 0xae, 0x00, 0x74, 0x3f, 0x0f, 0x83, 0x37, 0x95, 0xc7, 0x4b, 0x29, 0x53, 0xf1, 0xb8, 0xd1,
|
||||
0x2b, 0xf7, 0xd9, 0xf0, 0xd6, 0x01, 0xba, 0x3e, 0x30, 0xb9, 0xef, 0x39, 0xda, 0x34, 0x4e, 0x6c,
|
||||
0x1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0x3c,
|
||||
0x58, 0xb0, 0xc1, 0xae, 0x28, 0xec, 0x15, 0xf4, 0xfc, 0xfc, 0x77, 0xd0, 0xb5, 0x08, 0xd9, 0x4f,
|
||||
0xdd, 0x27, 0x07, 0xe8, 0xd0, 0x82, 0x6b, 0x59, 0x27, 0xa2, 0x81, 0x20, 0xce, 0x26, 0x3e, 0x3f,
|
||||
0x60, 0xb4, 0x61, 0x7e, 0xaa, 0x98, 0x09, 0x9a, 0xbf, 0x08, 0xb3, 0xa8, 0xbc, 0x3e, 0x3a, 0xb1,
|
||||
0xad, 0xe3, 0x13, 0xdb, 0xfa, 0x7d, 0x62, 0x5b, 0x9f, 0x4f, 0xed, 0xd2, 0xf1, 0xa9, 0x5d, 0xfa,
|
||||
0x79, 0x6a, 0x97, 0x76, 0x06, 0x72, 0xcf, 0x7b, 0x95, 0x54, 0x76, 0x42, 0x26, 0x6a, 0x23, 0xea,
|
||||
0x6f, 0x73, 0xe9, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x73, 0x5c, 0x1c, 0x55, 0x08, 0x00,
|
||||
0x00,
|
||||
// 690 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x4f, 0x4f, 0xd4, 0x4e,
|
||||
0x18, 0xc7, 0xb7, 0x84, 0x1f, 0xe4, 0xf7, 0xa0, 0xc6, 0x8c, 0x90, 0xe0, 0x0a, 0x15, 0x46, 0x44,
|
||||
0xa3, 0xd0, 0x09, 0xe0, 0x9f, 0xc4, 0x80, 0xe2, 0x1e, 0x00, 0x0f, 0x24, 0xd8, 0x23, 0x97, 0xcd,
|
||||
0xec, 0xee, 0xa4, 0xdb, 0xc8, 0x76, 0xca, 0xce, 0xac, 0x71, 0x43, 0x38, 0xa8, 0x6f, 0xc0, 0xc4,
|
||||
0xb7, 0xc0, 0xd9, 0xd7, 0x41, 0x8c, 0x07, 0x12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, 0x17, 0xbf, 0x83, 0x9e, 0x2f, 0xc8, 0x41, 0xe2, 0x12, 0x39, 0x44, 0x47, 0x16, 0x5c,
|
||||
0x4b, 0xdb, 0x0f, 0x0d, 0x04, 0x71, 0x3e, 0xf1, 0xc5, 0x01, 0xd5, 0x86, 0xf9, 0xb1, 0x62, 0x26,
|
||||
0x68, 0xf1, 0x32, 0xcc, 0xa2, 0xf2, 0xea, 0xf8, 0xd4, 0xb6, 0x4e, 0x4e, 0x6d, 0xeb, 0xd7, 0xa9,
|
||||
0x6d, 0x7d, 0x3a, 0xb3, 0x4b, 0x27, 0x67, 0x76, 0xe9, 0xc7, 0x99, 0x5d, 0xda, 0x25, 0x9e, 0x2f,
|
||||
0x9b, 0x9d, 0x9a, 0x53, 0xe7, 0xad, 0xfc, 0x94, 0xef, 0x54, 0x52, 0xd9, 0x0d, 0x99, 0xa8, 0x8d,
|
||||
0xa8, 0xff, 0xca, 0x95, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x28, 0x60, 0x9e, 0x5a, 0x4a, 0x08,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
@ -515,7 +515,7 @@ 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, 2, 3, 2, 4}, []string{"github.com", "planetmint", "planetmint-go", "dao", "params"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"planetmint", "planetmint-go", "dao", "params"}, "", 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, 4}, []string{"planetmint", "planetmint-go", "dao", "get_mint_requests_by_hash", "hash"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
|
@ -400,43 +400,43 @@ func init() { proto.RegisterFile("planetmintgo/machine/query.proto", fileDescrip
|
||||
|
||||
var fileDescriptor_bf7841d43d757203 = []byte{
|
||||
// 593 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x41, 0x6b, 0x13, 0x41,
|
||||
0x18, 0xcd, 0x16, 0x4d, 0xed, 0xf4, 0x36, 0x8d, 0x10, 0x96, 0xb8, 0x4d, 0xe7, 0x14, 0x05, 0x33,
|
||||
0xb4, 0xa1, 0x8d, 0xda, 0x83, 0x26, 0x17, 0x0f, 0x52, 0x48, 0xd7, 0x1e, 0xa4, 0x22, 0xcb, 0xec,
|
||||
0x66, 0xd8, 0x2c, 0x26, 0x3b, 0xdb, 0x9d, 0xd9, 0xe2, 0x12, 0x72, 0xf1, 0x17, 0x08, 0xde, 0xfc,
|
||||
0x27, 0xfe, 0x00, 0xa1, 0xc7, 0x82, 0x17, 0x4f, 0xa2, 0x89, 0xf8, 0x3b, 0x24, 0xb3, 0xb3, 0x49,
|
||||
0x4a, 0xd6, 0x90, 0xa5, 0xa7, 0x4c, 0xbe, 0xbc, 0xf7, 0xbe, 0xf7, 0x66, 0xbe, 0x2f, 0xa0, 0x1a,
|
||||
0xf4, 0x89, 0x4f, 0xc5, 0xc0, 0xf3, 0x85, 0xcb, 0xf0, 0x80, 0x38, 0x3d, 0xcf, 0xa7, 0xf8, 0x22,
|
||||
0xa2, 0x61, 0x5c, 0x0f, 0x42, 0x26, 0x18, 0x2c, 0x2d, 0x22, 0xea, 0x0a, 0xa1, 0x97, 0x5c, 0xe6,
|
||||
0x32, 0x09, 0xc0, 0xd3, 0x53, 0x82, 0xd5, 0x2b, 0x2e, 0x63, 0x6e, 0x9f, 0x62, 0x12, 0x78, 0x98,
|
||||
0xf8, 0x3e, 0x13, 0x44, 0x78, 0xcc, 0xe7, 0xea, 0xd7, 0x47, 0x0e, 0xe3, 0x03, 0xc6, 0xb1, 0x4d,
|
||||
0xb8, 0x6a, 0x81, 0x2f, 0xf7, 0x6d, 0x2a, 0xc8, 0x3e, 0x0e, 0x88, 0xeb, 0xf9, 0x12, 0xac, 0xb0,
|
||||
0x7b, 0x99, 0xbe, 0x02, 0x12, 0x92, 0x41, 0x2a, 0x87, 0x32, 0x21, 0xea, 0x33, 0xc1, 0xa0, 0x12,
|
||||
0x80, 0xa7, 0xd3, 0x46, 0x1d, 0x49, 0x34, 0xe9, 0x45, 0x44, 0xb9, 0x40, 0xa7, 0x60, 0xe7, 0x46,
|
||||
0x95, 0x07, 0xcc, 0xe7, 0x14, 0x3e, 0x03, 0xc5, 0xa4, 0x41, 0x59, 0xab, 0x6a, 0xb5, 0xed, 0x83,
|
||||
0x4a, 0x3d, 0x2b, 0x7a, 0x3d, 0x61, 0xb5, 0xef, 0x5c, 0xfd, 0xdc, 0x2d, 0x98, 0x8a, 0x81, 0x5a,
|
||||
0x60, 0x4f, 0x4a, 0xbe, 0xa4, 0xe2, 0x24, 0xc1, 0xb5, 0xe3, 0x4e, 0x64, 0xf7, 0x3d, 0xe7, 0x15,
|
||||
0x8d, 0x55, 0x5f, 0x58, 0x01, 0x5b, 0x41, 0x5a, 0x93, 0x3d, 0xb6, 0xcc, 0x79, 0x01, 0xbd, 0x03,
|
||||
0x68, 0x95, 0x84, 0x32, 0xd9, 0x04, 0x9b, 0xca, 0x88, 0x72, 0xf9, 0x20, 0xdb, 0xa5, 0x92, 0x30,
|
||||
0x53, 0x34, 0x7a, 0x01, 0xaa, 0xa9, 0xfc, 0x59, 0x18, 0x71, 0xd1, 0xf2, 0x9d, 0x1e, 0x0b, 0x5f,
|
||||
0x0b, 0x22, 0x22, 0xbe, 0x60, 0x50, 0xc1, 0xbd, 0x6e, 0x6a, 0x70, 0x56, 0x40, 0xce, 0x3c, 0x63,
|
||||
0x86, 0x82, 0xf2, 0xb7, 0x52, 0x02, 0x56, 0xc1, 0xb6, 0xc7, 0x89, 0x23, 0xbc, 0x4b, 0x22, 0x68,
|
||||
0xb7, 0xbc, 0x51, 0xd5, 0x6a, 0xf7, 0xcc, 0xc5, 0x12, 0x3a, 0x06, 0xbb, 0x4b, 0xb7, 0xd0, 0xea,
|
||||
0x76, 0x43, 0xca, 0x67, 0x2e, 0xcb, 0x60, 0x93, 0x24, 0x15, 0xd5, 0x20, 0xfd, 0x8a, 0xde, 0xce,
|
||||
0x33, 0x2e, 0x93, 0x6f, 0x79, 0x81, 0x07, 0x5f, 0x8b, 0xe0, 0xae, 0x54, 0x87, 0x5f, 0x34, 0x50,
|
||||
0x4c, 0xa6, 0x00, 0xd6, 0xb2, 0xc9, 0xcb, 0x43, 0xa7, 0x3f, 0x5c, 0x03, 0x99, 0x58, 0x44, 0xc7,
|
||||
0x1f, 0xbf, 0xff, 0xf9, 0xbc, 0x71, 0x08, 0x1b, 0xd8, 0xf5, 0x44, 0x2f, 0xb2, 0xeb, 0x0e, 0x1b,
|
||||
0xe0, 0x39, 0x7b, 0xe1, 0xf8, 0x78, 0x69, 0x39, 0xe0, 0x5f, 0x0d, 0xdc, 0xcf, 0x1c, 0x21, 0xd8,
|
||||
0x5c, 0xe1, 0x60, 0xd5, 0xdc, 0xea, 0x4f, 0xf2, 0x13, 0x55, 0x92, 0x73, 0x99, 0xe4, 0x0c, 0x9a,
|
||||
0xb9, 0x92, 0xb8, 0x54, 0x58, 0xea, 0x6c, 0xd9, 0xb1, 0x95, 0xac, 0x88, 0xf5, 0x9e, 0xc6, 0x78,
|
||||
0x38, 0x5b, 0x97, 0x11, 0xfc, 0xad, 0x81, 0x52, 0xd6, 0x28, 0xc2, 0xa3, 0xd5, 0x76, 0xff, 0x37,
|
||||
0xfd, 0x7a, 0x33, 0x37, 0x4f, 0xa5, 0x7c, 0x23, 0x53, 0x9a, 0xb0, 0x93, 0x3b, 0xa5, 0x98, 0x6a,
|
||||
0x5a, 0x44, 0x8a, 0x5a, 0x5c, 0xaa, 0xe2, 0xe1, 0x6c, 0x5d, 0x46, 0xf0, 0x9b, 0x06, 0x76, 0x32,
|
||||
0x86, 0x19, 0x1e, 0xae, 0xf9, 0x22, 0x37, 0x37, 0x47, 0x3f, 0xca, 0x4b, 0x53, 0x01, 0x9f, 0xcb,
|
||||
0x80, 0x4f, 0x61, 0x73, 0xbd, 0x07, 0x53, 0xeb, 0x88, 0x87, 0xea, 0x30, 0x6a, 0x9f, 0x5c, 0x8d,
|
||||
0x0d, 0xed, 0x7a, 0x6c, 0x68, 0xbf, 0xc6, 0x86, 0xf6, 0x69, 0x62, 0x14, 0xae, 0x27, 0x46, 0xe1,
|
||||
0xc7, 0xc4, 0x28, 0x9c, 0x37, 0xd6, 0xb9, 0xb2, 0x0f, 0xb3, 0x4e, 0x22, 0x0e, 0x28, 0xb7, 0x8b,
|
||||
0xf2, 0xdf, 0xbd, 0xf1, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x26, 0xcc, 0xd3, 0xe4, 0xbe, 0x06, 0x00,
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6b, 0x13, 0x41,
|
||||
0x18, 0xcd, 0x16, 0x4d, 0xed, 0xf4, 0x36, 0x8d, 0x50, 0x96, 0xb8, 0x4d, 0xe7, 0x14, 0x0b, 0x66,
|
||||
0x6c, 0x8b, 0x8d, 0x3f, 0x0e, 0x9a, 0x80, 0x04, 0x91, 0x60, 0x1b, 0x3d, 0x29, 0xb2, 0xcc, 0x6e,
|
||||
0x86, 0xcd, 0x60, 0xb2, 0xb3, 0xdd, 0x99, 0x2d, 0x2e, 0x21, 0x17, 0xff, 0x01, 0x05, 0x2f, 0xfe,
|
||||
0x43, 0x42, 0x8f, 0x05, 0x41, 0x04, 0x41, 0x24, 0xf1, 0x0f, 0x91, 0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 0x5d, 0xe6, 0x3e, 0xa7, 0xb1, 0xee,
|
||||
0x0b, 0x8b, 0x60, 0x23, 0x48, 0x6b, 0xaa, 0xc7, 0x46, 0x6b, 0x5a, 0x40, 0x6f, 0x01, 0x5a, 0x24,
|
||||
0xa1, 0x4d, 0x56, 0xc1, 0xba, 0x36, 0xa2, 0x5d, 0xde, 0xca, 0x76, 0xa9, 0x25, 0x5a, 0x29, 0x1a,
|
||||
0x3d, 0x01, 0xa5, 0x54, 0xfe, 0x55, 0x18, 0x09, 0x59, 0xf3, 0xdd, 0x0e, 0x0f, 0x5f, 0x4a, 0x22,
|
||||
0x23, 0x31, 0x63, 0x50, 0xc3, 0x59, 0x3b, 0x35, 0x38, 0x29, 0x20, 0x77, 0x9a, 0x31, 0x43, 0x41,
|
||||
0xfb, 0x5b, 0x28, 0x01, 0x4b, 0x60, 0x93, 0x09, 0xe2, 0x4a, 0x76, 0x46, 0x24, 0x6d, 0x6f, 0xaf,
|
||||
0x95, 0x8c, 0xf2, 0x8d, 0xd6, 0x6c, 0x09, 0x3d, 0x02, 0x3b, 0x73, 0xb7, 0x50, 0x6b, 0xb7, 0x43,
|
||||
0x2a, 0x26, 0x2e, 0xb7, 0xc1, 0x3a, 0x49, 0x2a, 0xba, 0x41, 0xfa, 0x17, 0xbd, 0x99, 0x66, 0x9c,
|
||||
0x27, 0xff, 0xe7, 0x05, 0x1e, 0x7c, 0xc9, 0x83, 0xeb, 0x4a, 0x1d, 0x7e, 0x34, 0x40, 0x3e, 0x99,
|
||||
0x02, 0x58, 0xce, 0x26, 0xcf, 0x0f, 0x9d, 0x79, 0x7b, 0x09, 0x64, 0x62, 0x11, 0xdd, 0xfd, 0xf0,
|
||||
0xed, 0xcf, 0xe7, 0xb5, 0x3d, 0x58, 0xc6, 0x53, 0xca, 0xcc, 0xf1, 0xce, 0xdc, 0x46, 0xc0, 0x9f,
|
||||
0x06, 0xb8, 0x99, 0x39, 0x37, 0xb0, 0xba, 0xa0, 0xed, 0xa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@@ 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, 2, 3, 2, 4}, []string{"github.com", "planetmint", "planetmint-go", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"planetmint", "planetmint-go", "machine", "params"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
pattern_Query_GetMachineByPublicKey_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"github.com", "planetmint", "planetmint-go", "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, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"planetmint", "planetmint-go", "machine", "get_machine_by_public_key", "publicKey"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
|
||||
pattern_Query_GetTrustAnchorStatus_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"github.com", "planetmint", "planetmint-go", "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", "planetmint-go", "machine", "get_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-go", "machine", "get_machine_by_address", "address"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user