"use strict";
/* eslint-disable-next-line no-unused-vars */
function __export(m) {
/* eslint-disable-next-line no-prototype-builtins */
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable-next-line no-unused-vars */
var jtv = require('@mojotech/json-type-validation');
/* eslint-disable-next-line no-unused-vars */
var damlTypes = require('@daml/types');
/* eslint-disable-next-line no-unused-vars */
var damlLedger = require('@daml/ledger');

var pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../../..');

var CantonPayments_PaymentStream_Types_PaymentContext = require('../../../../CantonPayments/PaymentStream/Types/PaymentContext/module');


exports.LockFundsInput = {
  decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, amountToLock: damlTypes.Numeric(10).decoder, paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.decoder, }); }),
  encode: function (__typed__) {
  return {
    amuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__.amuletInputs),
    amountToLock: damlTypes.Numeric(10).encode(__typed__.amountToLock),
    paymentContext: CantonPayments_PaymentStream_Types_PaymentContext.PaymentContext.encode(__typed__.paymentContext),
  };
}
,
};

