Skip to main content
Version: v3.0.0

Protobuf Documentation

Table of Contents

Top

logic/v1beta/params.proto

Params

Params defines the parameters for the module.

FieldTypeLabelDescription
foostringfoo represents a metasyntactic variable for testing purposes.

Top

logic/v1beta/genesis.proto

GenesisState

GenesisState defines the logic module's genesis state.

FieldTypeLabelDescription
paramsParamsThe state parameters for the logic module.

Top

logic/v1beta/query.proto

QueryServiceParamsRequest

QueryServiceParamsRequest is request type for the QueryService/Params RPC method.

QueryServiceParamsResponse

QueryServiceParamsResponse is response type for the QueryService/Params RPC method.

FieldTypeLabelDescription
paramsParamsparams holds all the parameters of this module.

QueryService

QueryService defines the gRPC querier service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryServiceParamsRequestQueryServiceParamsResponseParameters queries the parameters of the module.GET/okp4/okp4d/logic/params

Top

logic/v1beta/tx.proto

MsgService

Msg defines the Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)