protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v3,
    options: [
      ProtoOptionBool(name: "cosmos.query.v1.module_query_safe", value: true),
      ProtoOptionHttp(
        name: "google.api.http.get",
        method: RequestMethod.get,
        path: "/cosmos/bank/v1beta1/send_enabled",
      ),
    ],
    fields: [
      ProtoFieldConfig.repeated(
        fieldNumber: 1,
        elementType: ProtoFieldType.string,
      ),
      ProtoFieldConfig.message(99),
    ],
  );
}