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