"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessageComposer = exports.registry = void 0;
const tx_1 = require("./tx");
exports.registry = [["/cosmos.evidence.v1beta1.MsgSubmitEvidence", tx_1.MsgSubmitEvidence]];
exports.MessageComposer = {
    encoded: {
        submitEvidence(value) {
            return {
                typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence",
                value: tx_1.MsgSubmitEvidence.encode(value).finish()
            };
        }
    },
    withTypeUrl: {
        submitEvidence(value) {
            return {
                typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence",
                value
            };
        }
    },
    fromPartial: {
        submitEvidence(value) {
            return {
                typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence",
                value: tx_1.MsgSubmitEvidence.fromPartial(value)
            };
        }
    }
};
