protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v3,
    options: [
      ProtoOptionString(name: "cosmos.msg.v1.signer", value: "authority"),
      ProtoOptionString(name: "amino.name", value: "move/MsgGovScript"),
    ],
    fields: [
      ProtoFieldConfig.string(1, options: const []),
      ProtoFieldConfig.string(2, options: const []),
      ProtoFieldConfig.bytes(3),
      ProtoFieldConfig.repeated(
        fieldNumber: 4,
        elementType: ProtoFieldType.string,
      ),
      ProtoFieldConfig.repeated(
        fieldNumber: 5,
        elementType: ProtoFieldType.bytes,
      ),
    ],
  );
}