import { MsgSafetyFundSpend } from "./tx";
export const registry = [["/mars.safety.v1beta1.MsgSafetyFundSpend", MsgSafetyFundSpend]];
export const load = protoRegistry => {
  registry.forEach(([typeUrl, mod]) => {
    protoRegistry.register(typeUrl, mod);
  });
};
export const MessageComposer = {
  encoded: {
    safetyFundSpend(value) {
      return {
        typeUrl: "/mars.safety.v1beta1.MsgSafetyFundSpend",
        value: MsgSafetyFundSpend.encode(value).finish()
      };
    }
  },
  withTypeUrl: {
    safetyFundSpend(value) {
      return {
        typeUrl: "/mars.safety.v1beta1.MsgSafetyFundSpend",
        value
      };
    }
  },
  fromPartial: {
    safetyFundSpend(value) {
      return {
        typeUrl: "/mars.safety.v1beta1.MsgSafetyFundSpend",
        value: MsgSafetyFundSpend.fromPartial(value)
      };
    }
  }
};