"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.AminoConverter = void 0;
var AminoConverter = {
  "/mars.safety.v1beta1.MsgSafetyFundSpend": {
    aminoType: "/mars.safety.v1beta1.MsgSafetyFundSpend",
    toAmino: function toAmino(_ref) {
      var authority = _ref.authority,
        recipient = _ref.recipient,
        amount = _ref.amount;
      return {
        authority: authority,
        recipient: recipient,
        amount: amount.map(function (el0) {
          return {
            denom: el0.denom,
            amount: el0.amount
          };
        })
      };
    },
    fromAmino: function fromAmino(_ref2) {
      var authority = _ref2.authority,
        recipient = _ref2.recipient,
        amount = _ref2.amount;
      return {
        authority: authority,
        recipient: recipient,
        amount: amount.map(function (el0) {
          return {
            denom: el0.denom,
            amount: el0.amount
          };
        })
      };
    }
  }
};
exports.AminoConverter = AminoConverter;