protoConfigStatic static method
ProtoMessageConfig
protoConfigStatic()
Implementation
static ProtoMessageConfig protoConfigStatic() {
return ProtoMessageConfig(
syntax: ProtoSyntax.v3,
options: [
ProtoOptionString(
name: "cosmos.msg.v1.signer",
value: "reporter_owner",
),
ProtoOptionString(
name: "amino.name",
value: "stratos/MsgSlashingResourceNode",
),
],
fields: [
ProtoFieldConfig.repeated(
fieldNumber: 1,
elementType: ProtoFieldType.string,
options: const [],
),
ProtoFieldConfig.repeated(
fieldNumber: 2,
elementType: ProtoFieldType.string,
options: const [],
),
ProtoFieldConfig.string(3, options: const []),
ProtoFieldConfig.string(4, options: const []),
ProtoFieldConfig.string(
5,
options: [ProtoOptionBool(name: "amino.dont_omitempty", value: true)],
),
ProtoFieldConfig.bool(6, options: const []),
],
);
}