@canton-network/core-token-standard 0.13.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -95,6 +95,9 @@ const METADATA_INTERFACE_ID = '#splice-api-token-metadata-v1:Splice.Api.Token.Me
95
95
  const TRANSFER_FACTORY_INTERFACE_ID = '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory';
96
96
  const TRANSFER_INSTRUCTION_INTERFACE_ID = '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction';
97
97
  const FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID = '#splice-util-featured-app-proxies:Splice.Util.FeaturedApp.DelegateProxy:DelegateProxy';
98
+ const MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID = '#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegationProposal';
99
+ const MERGE_DELEGATION_TEMPLATE_ID = '#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegation';
100
+ const MERGE_DELEGATION_BATCH_MERGE_UTILITY = '#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:BatchMergeUtility';
98
101
 
99
102
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
100
103
 
@@ -160,7 +163,7 @@ var hasRequiredLodash_isequal;
160
163
  function requireLodash_isequal () {
161
164
  if (hasRequiredLodash_isequal) return lodash_isequal.exports;
162
165
  hasRequiredLodash_isequal = 1;
163
- (function (module, exports) {
166
+ (function (module, exports$1) {
164
167
  /** Used as the size to enable large array optimizations. */
165
168
  var LARGE_ARRAY_SIZE = 200;
166
169
 
@@ -246,7 +249,7 @@ function requireLodash_isequal () {
246
249
  var root = freeGlobal || freeSelf || Function('return this')();
247
250
 
248
251
  /** Detect free variable `exports`. */
249
- var freeExports = exports && !exports.nodeType && exports;
252
+ var freeExports = exports$1 && !exports$1.nodeType && exports$1;
250
253
 
251
254
  /** Detect free variable `module`. */
252
255
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -2817,7 +2820,7 @@ var hasRequiredTypes$1;
2817
2820
  function requireTypes$1 () {
2818
2821
  if (hasRequiredTypes$1) return types;
2819
2822
  hasRequiredTypes$1 = 1;
2820
- (function (exports) {
2823
+ (function (exports$1) {
2821
2824
  var __assign = (types && types.__assign) || function () {
2822
2825
  __assign = Object.assign || function(t) {
2823
2826
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -2892,12 +2895,12 @@ function requireTypes$1 () {
2892
2895
  var __importDefault = (types && types.__importDefault) || function (mod) {
2893
2896
  return (mod && mod.__esModule) ? mod : { "default": mod };
2894
2897
  };
2895
- Object.defineProperty(exports, "__esModule", { value: true });
2896
- exports.Map = exports.emptyMap = exports.TextMap = exports.Optional = exports.ContractId = exports.Date = exports.List = exports.Party = exports.Time = exports.Text = exports.Decimal = exports.Numeric = exports.Int = exports.Bool = exports.Unit = exports.lookupTemplate = exports.templateIdWithPackageId = exports.registerTemplate = void 0;
2897
- exports.assembleTemplate = assembleTemplate;
2898
- exports.assembleInterface = assembleInterface;
2899
- exports.memo = memo;
2900
- exports.lazyMemo = lazyMemo;
2898
+ Object.defineProperty(exports$1, "__esModule", { value: true });
2899
+ exports$1.Map = exports$1.emptyMap = exports$1.TextMap = exports$1.Optional = exports$1.ContractId = exports$1.Date = exports$1.List = exports$1.Party = exports$1.Time = exports$1.Text = exports$1.Decimal = exports$1.Numeric = exports$1.Int = exports$1.Bool = exports$1.Unit = exports$1.lookupTemplate = exports$1.templateIdWithPackageId = exports$1.registerTemplate = void 0;
2900
+ exports$1.assembleTemplate = assembleTemplate;
2901
+ exports$1.assembleInterface = assembleInterface;
2902
+ exports$1.memo = memo;
2903
+ exports$1.lazyMemo = lazyMemo;
2901
2904
  // Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
2902
2905
  // SPDX-License-Identifier: Apache-2.0
2903
2906
  var jtv = __importStar(require$$0$1);
@@ -2935,7 +2938,7 @@ function requireTypes$1 () {
2935
2938
  */
2936
2939
  var registerTemplate = function (template, packageSpecifiers) {
2937
2940
  if (packageSpecifiers === void 0) { packageSpecifiers = []; }
2938
- var aliases = packageSpecifiers.map((0, exports.templateIdWithPackageId)(template));
2941
+ var aliases = packageSpecifiers.map((0, exports$1.templateIdWithPackageId)(template));
2939
2942
  new Set([template.templateId].concat(aliases)).forEach(function (templateId) {
2940
2943
  if (templateId in registeredTemplates) {
2941
2944
  console.warn("Trying to re-register template ".concat(templateId, "."));
@@ -2946,7 +2949,7 @@ function requireTypes$1 () {
2946
2949
  }
2947
2950
  });
2948
2951
  };
2949
- exports.registerTemplate = registerTemplate;
2952
+ exports$1.registerTemplate = registerTemplate;
2950
2953
  /**
2951
2954
  * @internal
2952
2955
  */
@@ -2955,7 +2958,7 @@ function requireTypes$1 () {
2955
2958
  return [pkgId].concat(t.templateId.split(":").slice(1)).join(":");
2956
2959
  };
2957
2960
  };
2958
- exports.templateIdWithPackageId = templateIdWithPackageId;
2961
+ exports$1.templateIdWithPackageId = templateIdWithPackageId;
2959
2962
  /**
2960
2963
  * @internal
2961
2964
  */
@@ -2966,7 +2969,7 @@ function requireTypes$1 () {
2966
2969
  }
2967
2970
  return template;
2968
2971
  };
2969
- exports.lookupTemplate = lookupTemplate;
2972
+ exports$1.lookupTemplate = lookupTemplate;
2970
2973
  /**
2971
2974
  * @internal Turn a thunk into a memoized version of itself. The memoized thunk
2972
2975
  * invokes the original thunk only on its first invocation and caches the result
@@ -2994,21 +2997,21 @@ function requireTypes$1 () {
2994
2997
  /**
2995
2998
  * Companion object of the [[Unit]] type.
2996
2999
  */
2997
- exports.Unit = {
3000
+ exports$1.Unit = {
2998
3001
  decoder: jtv.object({}),
2999
3002
  encode: function (t) { return t; },
3000
3003
  };
3001
3004
  /**
3002
3005
  * Companion object of the [[Bool]] type.
3003
3006
  */
3004
- exports.Bool = {
3007
+ exports$1.Bool = {
3005
3008
  decoder: jtv.boolean(),
3006
3009
  encode: function (b) { return b; },
3007
3010
  };
3008
3011
  /**
3009
3012
  * Companion object of the [[Int]] type.
3010
3013
  */
3011
- exports.Int = {
3014
+ exports$1.Int = {
3012
3015
  decoder: jtv.string(),
3013
3016
  encode: function (i) { return i; },
3014
3017
  };
@@ -3020,29 +3023,29 @@ function requireTypes$1 () {
3020
3023
  decoder: jtv.string(),
3021
3024
  encode: function (n) { return n; },
3022
3025
  }); };
3023
- exports.Numeric = Numeric;
3026
+ exports$1.Numeric = Numeric;
3024
3027
  /**
3025
3028
  * Companion object of the [[Decimal]] type.
3026
3029
  */
3027
- exports.Decimal = (0, exports.Numeric)(10);
3030
+ exports$1.Decimal = (0, exports$1.Numeric)(10);
3028
3031
  /**
3029
3032
  * Companion object of the [[Text]] type.
3030
3033
  */
3031
- exports.Text = {
3034
+ exports$1.Text = {
3032
3035
  decoder: jtv.string(),
3033
3036
  encode: function (t) { return t; },
3034
3037
  };
3035
3038
  /**
3036
3039
  * Companion object of the [[Time]] type.
3037
3040
  */
3038
- exports.Time = {
3041
+ exports$1.Time = {
3039
3042
  decoder: jtv.string(),
3040
3043
  encode: function (t) { return t; },
3041
3044
  };
3042
3045
  /**
3043
3046
  * Companion object of the [[Party]] type.
3044
3047
  */
3045
- exports.Party = {
3048
+ exports$1.Party = {
3046
3049
  decoder: jtv.string(),
3047
3050
  encode: function (p) { return p; },
3048
3051
  };
@@ -3053,11 +3056,11 @@ function requireTypes$1 () {
3053
3056
  decoder: jtv.array(t.decoder),
3054
3057
  encode: function (l) { return l.map(function (element) { return t.encode(element); }); },
3055
3058
  }); };
3056
- exports.List = List;
3059
+ exports$1.List = List;
3057
3060
  /**
3058
3061
  * Companion object of the [[Date]] type.
3059
3062
  */
3060
- exports.Date = {
3063
+ exports$1.Date = {
3061
3064
  decoder: jtv.string(),
3062
3065
  encode: function (d) { return d; },
3063
3066
  };
@@ -3068,7 +3071,7 @@ function requireTypes$1 () {
3068
3071
  decoder: jtv.string(),
3069
3072
  encode: function (c) { return c; },
3070
3073
  }); };
3071
- exports.ContractId = ContractId;
3074
+ exports$1.ContractId = ContractId;
3072
3075
  /**
3073
3076
  * This class does the actual work behind the [[Optional]] companion function. In addition to
3074
3077
  * implementing the [[Serializable]] interface it also stores the [[Serializable]] instance of the
@@ -3126,7 +3129,7 @@ function requireTypes$1 () {
3126
3129
  var Optional = function (t) {
3127
3130
  return new OptionalWorker(t);
3128
3131
  };
3129
- exports.Optional = Optional;
3132
+ exports$1.Optional = Optional;
3130
3133
  /**
3131
3134
  * Companion object of the [[TextMap]] type.
3132
3135
  */
@@ -3140,7 +3143,7 @@ function requireTypes$1 () {
3140
3143
  return out;
3141
3144
  },
3142
3145
  }); };
3143
- exports.TextMap = TextMap;
3146
+ exports$1.TextMap = TextMap;
3144
3147
  function it(arr) {
3145
3148
  var i;
3146
3149
  return __generator(this, function (_a) {
@@ -3228,7 +3231,7 @@ function requireTypes$1 () {
3228
3231
  return MapImpl;
3229
3232
  }());
3230
3233
  var emptyMap = function () { return new MapImpl([]); };
3231
- exports.emptyMap = emptyMap;
3234
+ exports$1.emptyMap = emptyMap;
3232
3235
  /**
3233
3236
  * Companion function of the [[GenMap]] type.
3234
3237
  */
@@ -3240,7 +3243,7 @@ function requireTypes$1 () {
3240
3243
  return m.entriesArray().map(function (e) { return [kd.encode(e[0]), vd.encode(e[1])]; });
3241
3244
  },
3242
3245
  }); };
3243
- exports.Map = Map;
3246
+ exports$1.Map = Map;
3244
3247
 
3245
3248
  } (types));
3246
3249
  return types;
@@ -84858,7 +84861,7 @@ var hasRequiredNodePonyfill;
84858
84861
  function requireNodePonyfill () {
84859
84862
  if (hasRequiredNodePonyfill) return nodePonyfill.exports;
84860
84863
  hasRequiredNodePonyfill = 1;
84861
- (function (module, exports) {
84864
+ (function (module, exports$1) {
84862
84865
  const nodeFetch = require$$0;
84863
84866
  const realFetch = nodeFetch.default || nodeFetch;
84864
84867
 
@@ -84873,14 +84876,14 @@ function requireNodePonyfill () {
84873
84876
 
84874
84877
  fetch.ponyfill = true;
84875
84878
 
84876
- module.exports = exports = fetch;
84877
- exports.fetch = fetch;
84878
- exports.Headers = nodeFetch.Headers;
84879
- exports.Request = nodeFetch.Request;
84880
- exports.Response = nodeFetch.Response;
84879
+ module.exports = exports$1 = fetch;
84880
+ exports$1.fetch = fetch;
84881
+ exports$1.Headers = nodeFetch.Headers;
84882
+ exports$1.Request = nodeFetch.Request;
84883
+ exports$1.Response = nodeFetch.Response;
84881
84884
 
84882
84885
  // Needed for TypeScript consumers without esModuleInterop.
84883
- exports.default = fetch;
84886
+ exports$1.default = fetch;
84884
84887
  } (nodePonyfill, nodePonyfill.exports));
84885
84888
  return nodePonyfill.exports;
84886
84889
  }
@@ -90878,8 +90881,8 @@ var hasRequiredModule$7;
90878
90881
  function requireModule$7 () {
90879
90882
  if (hasRequiredModule$7) return module$7;
90880
90883
  hasRequiredModule$7 = 1;
90881
- (function (exports) {
90882
- Object.defineProperty(exports, '__esModule', { value: true });
90884
+ (function (exports$1) {
90885
+ Object.defineProperty(exports$1, '__esModule', { value: true });
90883
90886
  /* eslint-disable-next-line no-unused-vars */
90884
90887
  var jtv = require$$0$1;
90885
90888
  /* eslint-disable-next-line no-unused-vars */
@@ -90887,7 +90890,7 @@ function requireModule$7 () {
90887
90890
  /* eslint-disable-next-line no-unused-vars */
90888
90891
  requireLedger();
90889
90892
 
90890
- exports.Archive = {
90893
+ exports$1.Archive = {
90891
90894
  decoder: damlTypes.lazyMemo(function () {
90892
90895
  return jtv.object({})
90893
90896
  }),
@@ -90904,13 +90907,13 @@ var hasRequiredTemplate;
90904
90907
  function requireTemplate () {
90905
90908
  if (hasRequiredTemplate) return Template;
90906
90909
  hasRequiredTemplate = 1;
90907
- (function (exports) {
90910
+ (function (exports$1) {
90908
90911
  /* eslint-disable-next-line no-unused-vars */
90909
90912
  function __export(m) {
90910
90913
  /* eslint-disable-next-line no-prototype-builtins */
90911
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
90914
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
90912
90915
  }
90913
- Object.defineProperty(exports, '__esModule', { value: true });
90916
+ Object.defineProperty(exports$1, '__esModule', { value: true });
90914
90917
  __export(requireModule$7());
90915
90918
  } (Template));
90916
90919
  return Template;
@@ -90921,10 +90924,10 @@ var hasRequiredInternal;
90921
90924
  function requireInternal () {
90922
90925
  if (hasRequiredInternal) return Internal;
90923
90926
  hasRequiredInternal = 1;
90924
- (function (exports) {
90925
- Object.defineProperty(exports, '__esModule', { value: true });
90927
+ (function (exports$1) {
90928
+ Object.defineProperty(exports$1, '__esModule', { value: true });
90926
90929
  var Template = requireTemplate();
90927
- exports.Template = Template;
90930
+ exports$1.Template = Template;
90928
90931
  } (Internal));
90929
90932
  return Internal;
90930
90933
  }
@@ -90934,10 +90937,10 @@ var hasRequiredDA$1;
90934
90937
  function requireDA$1 () {
90935
90938
  if (hasRequiredDA$1) return DA$1;
90936
90939
  hasRequiredDA$1 = 1;
90937
- (function (exports) {
90938
- Object.defineProperty(exports, '__esModule', { value: true });
90940
+ (function (exports$1) {
90941
+ Object.defineProperty(exports$1, '__esModule', { value: true });
90939
90942
  var Internal = requireInternal();
90940
- exports.Internal = Internal;
90943
+ exports$1.Internal = Internal;
90941
90944
  } (DA$1));
90942
90945
  return DA$1;
90943
90946
  }
@@ -90947,11 +90950,11 @@ var hasRequiredLib$2;
90947
90950
  function requireLib$2 () {
90948
90951
  if (hasRequiredLib$2) return lib$1;
90949
90952
  hasRequiredLib$2 = 1;
90950
- (function (exports) {
90951
- Object.defineProperty(exports, '__esModule', { value: true });
90953
+ (function (exports$1) {
90954
+ Object.defineProperty(exports$1, '__esModule', { value: true });
90952
90955
  var DA = requireDA$1();
90953
- exports.DA = DA;
90954
- exports.packageId =
90956
+ exports$1.DA = DA;
90957
+ exports$1.packageId =
90955
90958
  '9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69';
90956
90959
  } (lib$1));
90957
90960
  return lib$1;
@@ -90976,8 +90979,8 @@ var hasRequiredModule$6;
90976
90979
  function requireModule$6 () {
90977
90980
  if (hasRequiredModule$6) return module$4;
90978
90981
  hasRequiredModule$6 = 1;
90979
- (function (exports) {
90980
- Object.defineProperty(exports, '__esModule', { value: true });
90982
+ (function (exports$1) {
90983
+ Object.defineProperty(exports$1, '__esModule', { value: true });
90981
90984
  /* eslint-disable-next-line no-unused-vars */
90982
90985
  var jtv = require$$0$1;
90983
90986
  /* eslint-disable-next-line no-unused-vars */
@@ -90985,7 +90988,7 @@ function requireModule$6 () {
90985
90988
  /* eslint-disable-next-line no-unused-vars */
90986
90989
  requireLedger();
90987
90990
 
90988
- exports.RelTime = {
90991
+ exports$1.RelTime = {
90989
90992
  decoder: damlTypes.lazyMemo(function () {
90990
90993
  return jtv.object({ microseconds: damlTypes.Int.decoder })
90991
90994
  }),
@@ -91004,13 +91007,13 @@ var hasRequiredTypes;
91004
91007
  function requireTypes () {
91005
91008
  if (hasRequiredTypes) return Types;
91006
91009
  hasRequiredTypes = 1;
91007
- (function (exports) {
91010
+ (function (exports$1) {
91008
91011
  /* eslint-disable-next-line no-unused-vars */
91009
91012
  function __export(m) {
91010
91013
  /* eslint-disable-next-line no-prototype-builtins */
91011
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
91014
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
91012
91015
  }
91013
- Object.defineProperty(exports, '__esModule', { value: true });
91016
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91014
91017
  __export(requireModule$6());
91015
91018
  } (Types));
91016
91019
  return Types;
@@ -91021,10 +91024,10 @@ var hasRequiredTime;
91021
91024
  function requireTime () {
91022
91025
  if (hasRequiredTime) return Time;
91023
91026
  hasRequiredTime = 1;
91024
- (function (exports) {
91025
- Object.defineProperty(exports, '__esModule', { value: true });
91027
+ (function (exports$1) {
91028
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91026
91029
  var Types = requireTypes();
91027
- exports.Types = Types;
91030
+ exports$1.Types = Types;
91028
91031
  } (Time));
91029
91032
  return Time;
91030
91033
  }
@@ -91034,10 +91037,10 @@ var hasRequiredDA;
91034
91037
  function requireDA () {
91035
91038
  if (hasRequiredDA) return DA;
91036
91039
  hasRequiredDA = 1;
91037
- (function (exports) {
91038
- Object.defineProperty(exports, '__esModule', { value: true });
91040
+ (function (exports$1) {
91041
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91039
91042
  var Time = requireTime();
91040
- exports.Time = Time;
91043
+ exports$1.Time = Time;
91041
91044
  } (DA));
91042
91045
  return DA;
91043
91046
  }
@@ -91047,11 +91050,11 @@ var hasRequiredLib$1;
91047
91050
  function requireLib$1 () {
91048
91051
  if (hasRequiredLib$1) return lib;
91049
91052
  hasRequiredLib$1 = 1;
91050
- (function (exports) {
91051
- Object.defineProperty(exports, '__esModule', { value: true });
91053
+ (function (exports$1) {
91054
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91052
91055
  var DA = requireDA();
91053
- exports.DA = DA;
91054
- exports.packageId =
91056
+ exports$1.DA = DA;
91057
+ exports$1.packageId =
91055
91058
  'b70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946';
91056
91059
  } (lib));
91057
91060
  return lib;
@@ -91064,8 +91067,8 @@ var hasRequiredModule$5;
91064
91067
  function requireModule$5 () {
91065
91068
  if (hasRequiredModule$5) return module$3;
91066
91069
  hasRequiredModule$5 = 1;
91067
- (function (exports) {
91068
- Object.defineProperty(exports, '__esModule', { value: true });
91070
+ (function (exports$1) {
91071
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91069
91072
  /* eslint-disable-next-line no-unused-vars */
91070
91073
  var jtv = require$$0$1;
91071
91074
  /* eslint-disable-next-line no-unused-vars */
@@ -91076,15 +91079,15 @@ function requireModule$5 () {
91076
91079
  var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requireLib$2();
91077
91080
  var pkgb70db8369e1c461d5c70f1c86f526a29e9776c655e6ffc2560f95b05ccb8b946 = requireLib$1();
91078
91081
 
91079
- exports.AnyContract = damlTypes.assembleInterface(
91082
+ exports$1.AnyContract = damlTypes.assembleInterface(
91080
91083
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.MetadataV1:AnyContract',
91081
91084
  function () {
91082
- return exports.AnyContractView
91085
+ return exports$1.AnyContractView
91083
91086
  },
91084
91087
  {
91085
91088
  Archive: {
91086
91089
  template: function () {
91087
- return exports.AnyContract
91090
+ return exports$1.AnyContract
91088
91091
  },
91089
91092
  choiceName: 'Archive',
91090
91093
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -91106,33 +91109,33 @@ function requireModule$5 () {
91106
91109
  }
91107
91110
  );
91108
91111
 
91109
- exports.ChoiceExecutionMetadata = {
91112
+ exports$1.ChoiceExecutionMetadata = {
91110
91113
  decoder: damlTypes.lazyMemo(function () {
91111
- return jtv.object({ meta: exports.Metadata.decoder })
91114
+ return jtv.object({ meta: exports$1.Metadata.decoder })
91112
91115
  }),
91113
91116
  encode: function (__typed__) {
91114
91117
  return {
91115
- meta: exports.Metadata.encode(__typed__.meta),
91118
+ meta: exports$1.Metadata.encode(__typed__.meta),
91116
91119
  }
91117
91120
  },
91118
91121
  };
91119
91122
 
91120
- exports.ExtraArgs = {
91123
+ exports$1.ExtraArgs = {
91121
91124
  decoder: damlTypes.lazyMemo(function () {
91122
91125
  return jtv.object({
91123
- context: exports.ChoiceContext.decoder,
91124
- meta: exports.Metadata.decoder,
91126
+ context: exports$1.ChoiceContext.decoder,
91127
+ meta: exports$1.Metadata.decoder,
91125
91128
  })
91126
91129
  }),
91127
91130
  encode: function (__typed__) {
91128
91131
  return {
91129
- context: exports.ChoiceContext.encode(__typed__.context),
91130
- meta: exports.Metadata.encode(__typed__.meta),
91132
+ context: exports$1.ChoiceContext.encode(__typed__.context),
91133
+ meta: exports$1.Metadata.encode(__typed__.meta),
91131
91134
  }
91132
91135
  },
91133
91136
  };
91134
91137
 
91135
- exports.Metadata = {
91138
+ exports$1.Metadata = {
91136
91139
  decoder: damlTypes.lazyMemo(function () {
91137
91140
  return jtv.object({ values: damlTypes.TextMap(damlTypes.Text).decoder })
91138
91141
  }),
@@ -91143,22 +91146,22 @@ function requireModule$5 () {
91143
91146
  },
91144
91147
  };
91145
91148
 
91146
- exports.ChoiceContext = {
91149
+ exports$1.ChoiceContext = {
91147
91150
  decoder: damlTypes.lazyMemo(function () {
91148
91151
  return jtv.object({
91149
- values: damlTypes.TextMap(exports.AnyValue).decoder,
91152
+ values: damlTypes.TextMap(exports$1.AnyValue).decoder,
91150
91153
  })
91151
91154
  }),
91152
91155
  encode: function (__typed__) {
91153
91156
  return {
91154
91157
  values: damlTypes
91155
- .TextMap(exports.AnyValue)
91158
+ .TextMap(exports$1.AnyValue)
91156
91159
  .encode(__typed__.values),
91157
91160
  }
91158
91161
  },
91159
91162
  };
91160
91163
 
91161
- exports.AnyContractView = {
91164
+ exports$1.AnyContractView = {
91162
91165
  decoder: damlTypes.lazyMemo(function () {
91163
91166
  return jtv.object({})
91164
91167
  }),
@@ -91167,7 +91170,7 @@ function requireModule$5 () {
91167
91170
  },
91168
91171
  };
91169
91172
 
91170
- exports.AnyValue = {
91173
+ exports$1.AnyValue = {
91171
91174
  decoder: damlTypes.lazyMemo(function () {
91172
91175
  return jtv.oneOf(
91173
91176
  jtv.object({
@@ -91205,15 +91208,15 @@ function requireModule$5 () {
91205
91208
  }),
91206
91209
  jtv.object({
91207
91210
  tag: jtv.constant('AV_ContractId'),
91208
- value: damlTypes.ContractId(exports.AnyContract).decoder,
91211
+ value: damlTypes.ContractId(exports$1.AnyContract).decoder,
91209
91212
  }),
91210
91213
  jtv.object({
91211
91214
  tag: jtv.constant('AV_List'),
91212
- value: damlTypes.List(exports.AnyValue).decoder,
91215
+ value: damlTypes.List(exports$1.AnyValue).decoder,
91213
91216
  }),
91214
91217
  jtv.object({
91215
91218
  tag: jtv.constant('AV_Map'),
91216
- value: damlTypes.TextMap(exports.AnyValue).decoder,
91219
+ value: damlTypes.TextMap(exports$1.AnyValue).decoder,
91217
91220
  })
91218
91221
  )
91219
91222
  }),
@@ -91265,21 +91268,21 @@ function requireModule$5 () {
91265
91268
  return {
91266
91269
  tag: __typed__.tag,
91267
91270
  value: damlTypes
91268
- .ContractId(exports.AnyContract)
91271
+ .ContractId(exports$1.AnyContract)
91269
91272
  .encode(__typed__.value),
91270
91273
  }
91271
91274
  case 'AV_List':
91272
91275
  return {
91273
91276
  tag: __typed__.tag,
91274
91277
  value: damlTypes
91275
- .List(exports.AnyValue)
91278
+ .List(exports$1.AnyValue)
91276
91279
  .encode(__typed__.value),
91277
91280
  }
91278
91281
  case 'AV_Map':
91279
91282
  return {
91280
91283
  tag: __typed__.tag,
91281
91284
  value: damlTypes
91282
- .TextMap(exports.AnyValue)
91285
+ .TextMap(exports$1.AnyValue)
91283
91286
  .encode(__typed__.value),
91284
91287
  }
91285
91288
  default:
@@ -91300,8 +91303,8 @@ var hasRequiredModule$4;
91300
91303
  function requireModule$4 () {
91301
91304
  if (hasRequiredModule$4) return module$5;
91302
91305
  hasRequiredModule$4 = 1;
91303
- (function (exports) {
91304
- Object.defineProperty(exports, '__esModule', { value: true });
91306
+ (function (exports$1) {
91307
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91305
91308
  /* eslint-disable-next-line no-unused-vars */
91306
91309
  var jtv = require$$0$1;
91307
91310
  /* eslint-disable-next-line no-unused-vars */
@@ -91314,15 +91317,15 @@ function requireModule$4 () {
91314
91317
 
91315
91318
  var Splice_Api_Token_MetadataV1 = requireModule$5();
91316
91319
 
91317
- exports.Holding = damlTypes.assembleInterface(
91320
+ exports$1.Holding = damlTypes.assembleInterface(
91318
91321
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.HoldingV1:Holding',
91319
91322
  function () {
91320
- return exports.HoldingView
91323
+ return exports$1.HoldingView
91321
91324
  },
91322
91325
  {
91323
91326
  Archive: {
91324
91327
  template: function () {
91325
- return exports.Holding
91328
+ return exports$1.Holding
91326
91329
  },
91327
91330
  choiceName: 'Archive',
91328
91331
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -91344,15 +91347,15 @@ function requireModule$4 () {
91344
91347
  }
91345
91348
  );
91346
91349
 
91347
- exports.HoldingView = {
91350
+ exports$1.HoldingView = {
91348
91351
  decoder: damlTypes.lazyMemo(function () {
91349
91352
  return jtv.object({
91350
91353
  owner: damlTypes.Party.decoder,
91351
- instrumentId: exports.InstrumentId.decoder,
91354
+ instrumentId: exports$1.InstrumentId.decoder,
91352
91355
  amount: damlTypes.Numeric(10).decoder,
91353
91356
  lock: jtv.Decoder.withDefault(
91354
91357
  null,
91355
- damlTypes.Optional(exports.Lock).decoder
91358
+ damlTypes.Optional(exports$1.Lock).decoder
91356
91359
  ),
91357
91360
  meta: Splice_Api_Token_MetadataV1.Metadata.decoder,
91358
91361
  })
@@ -91360,15 +91363,15 @@ function requireModule$4 () {
91360
91363
  encode: function (__typed__) {
91361
91364
  return {
91362
91365
  owner: damlTypes.Party.encode(__typed__.owner),
91363
- instrumentId: exports.InstrumentId.encode(__typed__.instrumentId),
91366
+ instrumentId: exports$1.InstrumentId.encode(__typed__.instrumentId),
91364
91367
  amount: damlTypes.Numeric(10).encode(__typed__.amount),
91365
- lock: damlTypes.Optional(exports.Lock).encode(__typed__.lock),
91368
+ lock: damlTypes.Optional(exports$1.Lock).encode(__typed__.lock),
91366
91369
  meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
91367
91370
  }
91368
91371
  },
91369
91372
  };
91370
91373
 
91371
- exports.Lock = {
91374
+ exports$1.Lock = {
91372
91375
  decoder: damlTypes.lazyMemo(function () {
91373
91376
  return jtv.object({
91374
91377
  holders: damlTypes.List(damlTypes.Party).decoder,
@@ -91408,7 +91411,7 @@ function requireModule$4 () {
91408
91411
  },
91409
91412
  };
91410
91413
 
91411
- exports.InstrumentId = {
91414
+ exports$1.InstrumentId = {
91412
91415
  decoder: damlTypes.lazyMemo(function () {
91413
91416
  return jtv.object({
91414
91417
  admin: damlTypes.Party.decoder,
@@ -91431,8 +91434,8 @@ var hasRequiredModule$3;
91431
91434
  function requireModule$3 () {
91432
91435
  if (hasRequiredModule$3) return module$6;
91433
91436
  hasRequiredModule$3 = 1;
91434
- (function (exports) {
91435
- Object.defineProperty(exports, '__esModule', { value: true });
91437
+ (function (exports$1) {
91438
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91436
91439
  /* eslint-disable-next-line no-unused-vars */
91437
91440
  var jtv = require$$0$1;
91438
91441
  /* eslint-disable-next-line no-unused-vars */
@@ -91445,15 +91448,15 @@ function requireModule$3 () {
91445
91448
  var Splice_Api_Token_HoldingV1 = requireModule$4();
91446
91449
  var Splice_Api_Token_MetadataV1 = requireModule$5();
91447
91450
 
91448
- exports.Allocation = damlTypes.assembleInterface(
91451
+ exports$1.Allocation = damlTypes.assembleInterface(
91449
91452
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationV1:Allocation',
91450
91453
  function () {
91451
- return exports.AllocationView
91454
+ return exports$1.AllocationView
91452
91455
  },
91453
91456
  {
91454
91457
  Archive: {
91455
91458
  template: function () {
91456
- return exports.Allocation
91459
+ return exports$1.Allocation
91457
91460
  },
91458
91461
  choiceName: 'Archive',
91459
91462
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -91474,56 +91477,56 @@ function requireModule$3 () {
91474
91477
  },
91475
91478
  Allocation_Withdraw: {
91476
91479
  template: function () {
91477
- return exports.Allocation
91480
+ return exports$1.Allocation
91478
91481
  },
91479
91482
  choiceName: 'Allocation_Withdraw',
91480
91483
  argumentDecoder: damlTypes.lazyMemo(function () {
91481
- return exports.Allocation_Withdraw.decoder
91484
+ return exports$1.Allocation_Withdraw.decoder
91482
91485
  }),
91483
91486
  argumentEncode: function (__typed__) {
91484
- return exports.Allocation_Withdraw.encode(__typed__)
91487
+ return exports$1.Allocation_Withdraw.encode(__typed__)
91485
91488
  },
91486
91489
  resultDecoder: damlTypes.lazyMemo(function () {
91487
- return exports.Allocation_WithdrawResult.decoder
91490
+ return exports$1.Allocation_WithdrawResult.decoder
91488
91491
  }),
91489
91492
  resultEncode: function (__typed__) {
91490
- return exports.Allocation_WithdrawResult.encode(__typed__)
91493
+ return exports$1.Allocation_WithdrawResult.encode(__typed__)
91491
91494
  },
91492
91495
  },
91493
91496
  Allocation_Cancel: {
91494
91497
  template: function () {
91495
- return exports.Allocation
91498
+ return exports$1.Allocation
91496
91499
  },
91497
91500
  choiceName: 'Allocation_Cancel',
91498
91501
  argumentDecoder: damlTypes.lazyMemo(function () {
91499
- return exports.Allocation_Cancel.decoder
91502
+ return exports$1.Allocation_Cancel.decoder
91500
91503
  }),
91501
91504
  argumentEncode: function (__typed__) {
91502
- return exports.Allocation_Cancel.encode(__typed__)
91505
+ return exports$1.Allocation_Cancel.encode(__typed__)
91503
91506
  },
91504
91507
  resultDecoder: damlTypes.lazyMemo(function () {
91505
- return exports.Allocation_CancelResult.decoder
91508
+ return exports$1.Allocation_CancelResult.decoder
91506
91509
  }),
91507
91510
  resultEncode: function (__typed__) {
91508
- return exports.Allocation_CancelResult.encode(__typed__)
91511
+ return exports$1.Allocation_CancelResult.encode(__typed__)
91509
91512
  },
91510
91513
  },
91511
91514
  Allocation_ExecuteTransfer: {
91512
91515
  template: function () {
91513
- return exports.Allocation
91516
+ return exports$1.Allocation
91514
91517
  },
91515
91518
  choiceName: 'Allocation_ExecuteTransfer',
91516
91519
  argumentDecoder: damlTypes.lazyMemo(function () {
91517
- return exports.Allocation_ExecuteTransfer.decoder
91520
+ return exports$1.Allocation_ExecuteTransfer.decoder
91518
91521
  }),
91519
91522
  argumentEncode: function (__typed__) {
91520
- return exports.Allocation_ExecuteTransfer.encode(__typed__)
91523
+ return exports$1.Allocation_ExecuteTransfer.encode(__typed__)
91521
91524
  },
91522
91525
  resultDecoder: damlTypes.lazyMemo(function () {
91523
- return exports.Allocation_ExecuteTransferResult.decoder
91526
+ return exports$1.Allocation_ExecuteTransferResult.decoder
91524
91527
  }),
91525
91528
  resultEncode: function (__typed__) {
91526
- return exports.Allocation_ExecuteTransferResult.encode(
91529
+ return exports$1.Allocation_ExecuteTransferResult.encode(
91527
91530
  __typed__
91528
91531
  )
91529
91532
  },
@@ -91531,7 +91534,7 @@ function requireModule$3 () {
91531
91534
  }
91532
91535
  );
91533
91536
 
91534
- exports.Allocation_WithdrawResult = {
91537
+ exports$1.Allocation_WithdrawResult = {
91535
91538
  decoder: damlTypes.lazyMemo(function () {
91536
91539
  return jtv.object({
91537
91540
  senderHoldingCids: damlTypes.List(
@@ -91550,7 +91553,7 @@ function requireModule$3 () {
91550
91553
  },
91551
91554
  };
91552
91555
 
91553
- exports.Allocation_CancelResult = {
91556
+ exports$1.Allocation_CancelResult = {
91554
91557
  decoder: damlTypes.lazyMemo(function () {
91555
91558
  return jtv.object({
91556
91559
  senderHoldingCids: damlTypes.List(
@@ -91569,7 +91572,7 @@ function requireModule$3 () {
91569
91572
  },
91570
91573
  };
91571
91574
 
91572
- exports.Allocation_ExecuteTransferResult = {
91575
+ exports$1.Allocation_ExecuteTransferResult = {
91573
91576
  decoder: damlTypes.lazyMemo(function () {
91574
91577
  return jtv.object({
91575
91578
  senderHoldingCids: damlTypes.List(
@@ -91594,7 +91597,7 @@ function requireModule$3 () {
91594
91597
  },
91595
91598
  };
91596
91599
 
91597
- exports.Allocation_Withdraw = {
91600
+ exports$1.Allocation_Withdraw = {
91598
91601
  decoder: damlTypes.lazyMemo(function () {
91599
91602
  return jtv.object({
91600
91603
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -91609,7 +91612,7 @@ function requireModule$3 () {
91609
91612
  },
91610
91613
  };
91611
91614
 
91612
- exports.Allocation_Cancel = {
91615
+ exports$1.Allocation_Cancel = {
91613
91616
  decoder: damlTypes.lazyMemo(function () {
91614
91617
  return jtv.object({
91615
91618
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -91624,7 +91627,7 @@ function requireModule$3 () {
91624
91627
  },
91625
91628
  };
91626
91629
 
91627
- exports.Allocation_ExecuteTransfer = {
91630
+ exports$1.Allocation_ExecuteTransfer = {
91628
91631
  decoder: damlTypes.lazyMemo(function () {
91629
91632
  return jtv.object({
91630
91633
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -91639,10 +91642,10 @@ function requireModule$3 () {
91639
91642
  },
91640
91643
  };
91641
91644
 
91642
- exports.AllocationView = {
91645
+ exports$1.AllocationView = {
91643
91646
  decoder: damlTypes.lazyMemo(function () {
91644
91647
  return jtv.object({
91645
- allocation: exports.AllocationSpecification.decoder,
91648
+ allocation: exports$1.AllocationSpecification.decoder,
91646
91649
  holdingCids: damlTypes.List(
91647
91650
  damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)
91648
91651
  ).decoder,
@@ -91651,7 +91654,7 @@ function requireModule$3 () {
91651
91654
  }),
91652
91655
  encode: function (__typed__) {
91653
91656
  return {
91654
- allocation: exports.AllocationSpecification.encode(
91657
+ allocation: exports$1.AllocationSpecification.encode(
91655
91658
  __typed__.allocation
91656
91659
  ),
91657
91660
  holdingCids: damlTypes
@@ -91662,24 +91665,24 @@ function requireModule$3 () {
91662
91665
  },
91663
91666
  };
91664
91667
 
91665
- exports.AllocationSpecification = {
91668
+ exports$1.AllocationSpecification = {
91666
91669
  decoder: damlTypes.lazyMemo(function () {
91667
91670
  return jtv.object({
91668
- settlement: exports.SettlementInfo.decoder,
91671
+ settlement: exports$1.SettlementInfo.decoder,
91669
91672
  transferLegId: damlTypes.Text.decoder,
91670
- transferLeg: exports.TransferLeg.decoder,
91673
+ transferLeg: exports$1.TransferLeg.decoder,
91671
91674
  })
91672
91675
  }),
91673
91676
  encode: function (__typed__) {
91674
91677
  return {
91675
- settlement: exports.SettlementInfo.encode(__typed__.settlement),
91678
+ settlement: exports$1.SettlementInfo.encode(__typed__.settlement),
91676
91679
  transferLegId: damlTypes.Text.encode(__typed__.transferLegId),
91677
- transferLeg: exports.TransferLeg.encode(__typed__.transferLeg),
91680
+ transferLeg: exports$1.TransferLeg.encode(__typed__.transferLeg),
91678
91681
  }
91679
91682
  },
91680
91683
  };
91681
91684
 
91682
- exports.TransferLeg = {
91685
+ exports$1.TransferLeg = {
91683
91686
  decoder: damlTypes.lazyMemo(function () {
91684
91687
  return jtv.object({
91685
91688
  sender: damlTypes.Party.decoder,
@@ -91702,11 +91705,11 @@ function requireModule$3 () {
91702
91705
  },
91703
91706
  };
91704
91707
 
91705
- exports.SettlementInfo = {
91708
+ exports$1.SettlementInfo = {
91706
91709
  decoder: damlTypes.lazyMemo(function () {
91707
91710
  return jtv.object({
91708
91711
  executor: damlTypes.Party.decoder,
91709
- settlementRef: exports.Reference.decoder,
91712
+ settlementRef: exports$1.Reference.decoder,
91710
91713
  requestedAt: damlTypes.Time.decoder,
91711
91714
  allocateBefore: damlTypes.Time.decoder,
91712
91715
  settleBefore: damlTypes.Time.decoder,
@@ -91716,7 +91719,7 @@ function requireModule$3 () {
91716
91719
  encode: function (__typed__) {
91717
91720
  return {
91718
91721
  executor: damlTypes.Party.encode(__typed__.executor),
91719
- settlementRef: exports.Reference.encode(__typed__.settlementRef),
91722
+ settlementRef: exports$1.Reference.encode(__typed__.settlementRef),
91720
91723
  requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
91721
91724
  allocateBefore: damlTypes.Time.encode(__typed__.allocateBefore),
91722
91725
  settleBefore: damlTypes.Time.encode(__typed__.settleBefore),
@@ -91725,7 +91728,7 @@ function requireModule$3 () {
91725
91728
  },
91726
91729
  };
91727
91730
 
91728
- exports.Reference = {
91731
+ exports$1.Reference = {
91729
91732
  decoder: damlTypes.lazyMemo(function () {
91730
91733
  return jtv.object({
91731
91734
  id: damlTypes.Text.decoder,
@@ -91761,8 +91764,8 @@ var hasRequiredModule$2;
91761
91764
  function requireModule$2 () {
91762
91765
  if (hasRequiredModule$2) return module$8;
91763
91766
  hasRequiredModule$2 = 1;
91764
- (function (exports) {
91765
- Object.defineProperty(exports, '__esModule', { value: true });
91767
+ (function (exports$1) {
91768
+ Object.defineProperty(exports$1, '__esModule', { value: true });
91766
91769
  /* eslint-disable-next-line no-unused-vars */
91767
91770
  var jtv = require$$0$1;
91768
91771
  /* eslint-disable-next-line no-unused-vars */
@@ -91776,15 +91779,15 @@ function requireModule$2 () {
91776
91779
  var Splice_Api_Token_HoldingV1 = requireModule$4();
91777
91780
  var Splice_Api_Token_MetadataV1 = requireModule$5();
91778
91781
 
91779
- exports.AllocationFactory = damlTypes.assembleInterface(
91782
+ exports$1.AllocationFactory = damlTypes.assembleInterface(
91780
91783
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
91781
91784
  function () {
91782
- return exports.AllocationFactoryView
91785
+ return exports$1.AllocationFactoryView
91783
91786
  },
91784
91787
  {
91785
91788
  Archive: {
91786
91789
  template: function () {
91787
- return exports.AllocationFactory
91790
+ return exports$1.AllocationFactory
91788
91791
  },
91789
91792
  choiceName: 'Archive',
91790
91793
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -91805,52 +91808,52 @@ function requireModule$2 () {
91805
91808
  },
91806
91809
  AllocationFactory_Allocate: {
91807
91810
  template: function () {
91808
- return exports.AllocationFactory
91811
+ return exports$1.AllocationFactory
91809
91812
  },
91810
91813
  choiceName: 'AllocationFactory_Allocate',
91811
91814
  argumentDecoder: damlTypes.lazyMemo(function () {
91812
- return exports.AllocationFactory_Allocate.decoder
91815
+ return exports$1.AllocationFactory_Allocate.decoder
91813
91816
  }),
91814
91817
  argumentEncode: function (__typed__) {
91815
- return exports.AllocationFactory_Allocate.encode(__typed__)
91818
+ return exports$1.AllocationFactory_Allocate.encode(__typed__)
91816
91819
  },
91817
91820
  resultDecoder: damlTypes.lazyMemo(function () {
91818
- return exports.AllocationInstructionResult.decoder
91821
+ return exports$1.AllocationInstructionResult.decoder
91819
91822
  }),
91820
91823
  resultEncode: function (__typed__) {
91821
- return exports.AllocationInstructionResult.encode(__typed__)
91824
+ return exports$1.AllocationInstructionResult.encode(__typed__)
91822
91825
  },
91823
91826
  },
91824
91827
  AllocationFactory_PublicFetch: {
91825
91828
  template: function () {
91826
- return exports.AllocationFactory
91829
+ return exports$1.AllocationFactory
91827
91830
  },
91828
91831
  choiceName: 'AllocationFactory_PublicFetch',
91829
91832
  argumentDecoder: damlTypes.lazyMemo(function () {
91830
- return exports.AllocationFactory_PublicFetch.decoder
91833
+ return exports$1.AllocationFactory_PublicFetch.decoder
91831
91834
  }),
91832
91835
  argumentEncode: function (__typed__) {
91833
- return exports.AllocationFactory_PublicFetch.encode(__typed__)
91836
+ return exports$1.AllocationFactory_PublicFetch.encode(__typed__)
91834
91837
  },
91835
91838
  resultDecoder: damlTypes.lazyMemo(function () {
91836
- return exports.AllocationFactoryView.decoder
91839
+ return exports$1.AllocationFactoryView.decoder
91837
91840
  }),
91838
91841
  resultEncode: function (__typed__) {
91839
- return exports.AllocationFactoryView.encode(__typed__)
91842
+ return exports$1.AllocationFactoryView.encode(__typed__)
91840
91843
  },
91841
91844
  },
91842
91845
  }
91843
91846
  );
91844
91847
 
91845
- exports.AllocationInstruction = damlTypes.assembleInterface(
91848
+ exports$1.AllocationInstruction = damlTypes.assembleInterface(
91846
91849
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
91847
91850
  function () {
91848
- return exports.AllocationInstructionView
91851
+ return exports$1.AllocationInstructionView
91849
91852
  },
91850
91853
  {
91851
91854
  Archive: {
91852
91855
  template: function () {
91853
- return exports.AllocationInstruction
91856
+ return exports$1.AllocationInstruction
91854
91857
  },
91855
91858
  choiceName: 'Archive',
91856
91859
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -91871,54 +91874,54 @@ function requireModule$2 () {
91871
91874
  },
91872
91875
  AllocationInstruction_Withdraw: {
91873
91876
  template: function () {
91874
- return exports.AllocationInstruction
91877
+ return exports$1.AllocationInstruction
91875
91878
  },
91876
91879
  choiceName: 'AllocationInstruction_Withdraw',
91877
91880
  argumentDecoder: damlTypes.lazyMemo(function () {
91878
- return exports.AllocationInstruction_Withdraw.decoder
91881
+ return exports$1.AllocationInstruction_Withdraw.decoder
91879
91882
  }),
91880
91883
  argumentEncode: function (__typed__) {
91881
- return exports.AllocationInstruction_Withdraw.encode(__typed__)
91884
+ return exports$1.AllocationInstruction_Withdraw.encode(__typed__)
91882
91885
  },
91883
91886
  resultDecoder: damlTypes.lazyMemo(function () {
91884
- return exports.AllocationInstructionResult.decoder
91887
+ return exports$1.AllocationInstructionResult.decoder
91885
91888
  }),
91886
91889
  resultEncode: function (__typed__) {
91887
- return exports.AllocationInstructionResult.encode(__typed__)
91890
+ return exports$1.AllocationInstructionResult.encode(__typed__)
91888
91891
  },
91889
91892
  },
91890
91893
  AllocationInstruction_Update: {
91891
91894
  template: function () {
91892
- return exports.AllocationInstruction
91895
+ return exports$1.AllocationInstruction
91893
91896
  },
91894
91897
  choiceName: 'AllocationInstruction_Update',
91895
91898
  argumentDecoder: damlTypes.lazyMemo(function () {
91896
- return exports.AllocationInstruction_Update.decoder
91899
+ return exports$1.AllocationInstruction_Update.decoder
91897
91900
  }),
91898
91901
  argumentEncode: function (__typed__) {
91899
- return exports.AllocationInstruction_Update.encode(__typed__)
91902
+ return exports$1.AllocationInstruction_Update.encode(__typed__)
91900
91903
  },
91901
91904
  resultDecoder: damlTypes.lazyMemo(function () {
91902
- return exports.AllocationInstructionResult.decoder
91905
+ return exports$1.AllocationInstructionResult.decoder
91903
91906
  }),
91904
91907
  resultEncode: function (__typed__) {
91905
- return exports.AllocationInstructionResult.encode(__typed__)
91908
+ return exports$1.AllocationInstructionResult.encode(__typed__)
91906
91909
  },
91907
91910
  },
91908
91911
  }
91909
91912
  );
91910
91913
 
91911
- exports.AllocationInstructionResult_Output = {
91914
+ exports$1.AllocationInstructionResult_Output = {
91912
91915
  decoder: damlTypes.lazyMemo(function () {
91913
91916
  return jtv.oneOf(
91914
91917
  jtv.object({
91915
91918
  tag: jtv.constant('AllocationInstructionResult_Pending'),
91916
- value: exports.AllocationInstructionResult_Output
91919
+ value: exports$1.AllocationInstructionResult_Output
91917
91920
  .AllocationInstructionResult_Pending.decoder,
91918
91921
  }),
91919
91922
  jtv.object({
91920
91923
  tag: jtv.constant('AllocationInstructionResult_Completed'),
91921
- value: exports.AllocationInstructionResult_Output
91924
+ value: exports$1.AllocationInstructionResult_Output
91922
91925
  .AllocationInstructionResult_Completed.decoder,
91923
91926
  }),
91924
91927
  jtv.object({
@@ -91932,14 +91935,14 @@ function requireModule$2 () {
91932
91935
  case 'AllocationInstructionResult_Pending':
91933
91936
  return {
91934
91937
  tag: __typed__.tag,
91935
- value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(
91938
+ value: exports$1.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(
91936
91939
  __typed__.value
91937
91940
  ),
91938
91941
  }
91939
91942
  case 'AllocationInstructionResult_Completed':
91940
91943
  return {
91941
91944
  tag: __typed__.tag,
91942
- value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(
91945
+ value: exports$1.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(
91943
91946
  __typed__.value
91944
91947
  ),
91945
91948
  }
@@ -91960,14 +91963,14 @@ function requireModule$2 () {
91960
91963
  decoder: damlTypes.lazyMemo(function () {
91961
91964
  return jtv.object({
91962
91965
  allocationInstructionCid: damlTypes.ContractId(
91963
- exports.AllocationInstruction
91966
+ exports$1.AllocationInstruction
91964
91967
  ).decoder,
91965
91968
  })
91966
91969
  }),
91967
91970
  encode: function (__typed__) {
91968
91971
  return {
91969
91972
  allocationInstructionCid: damlTypes
91970
- .ContractId(exports.AllocationInstruction)
91973
+ .ContractId(exports$1.AllocationInstruction)
91971
91974
  .encode(__typed__.allocationInstructionCid),
91972
91975
  }
91973
91976
  },
@@ -91990,10 +91993,10 @@ function requireModule$2 () {
91990
91993
  },
91991
91994
  };
91992
91995
 
91993
- exports.AllocationInstructionResult = {
91996
+ exports$1.AllocationInstructionResult = {
91994
91997
  decoder: damlTypes.lazyMemo(function () {
91995
91998
  return jtv.object({
91996
- output: exports.AllocationInstructionResult_Output.decoder,
91999
+ output: exports$1.AllocationInstructionResult_Output.decoder,
91997
92000
  senderChangeCids: damlTypes.List(
91998
92001
  damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)
91999
92002
  ).decoder,
@@ -92002,7 +92005,7 @@ function requireModule$2 () {
92002
92005
  }),
92003
92006
  encode: function (__typed__) {
92004
92007
  return {
92005
- output: exports.AllocationInstructionResult_Output.encode(
92008
+ output: exports$1.AllocationInstructionResult_Output.encode(
92006
92009
  __typed__.output
92007
92010
  ),
92008
92011
  senderChangeCids: damlTypes
@@ -92013,7 +92016,7 @@ function requireModule$2 () {
92013
92016
  },
92014
92017
  };
92015
92018
 
92016
- exports.AllocationFactory_PublicFetch = {
92019
+ exports$1.AllocationFactory_PublicFetch = {
92017
92020
  decoder: damlTypes.lazyMemo(function () {
92018
92021
  return jtv.object({
92019
92022
  expectedAdmin: damlTypes.Party.decoder,
@@ -92028,7 +92031,7 @@ function requireModule$2 () {
92028
92031
  },
92029
92032
  };
92030
92033
 
92031
- exports.AllocationFactory_Allocate = {
92034
+ exports$1.AllocationFactory_Allocate = {
92032
92035
  decoder: damlTypes.lazyMemo(function () {
92033
92036
  return jtv.object({
92034
92037
  expectedAdmin: damlTypes.Party.decoder,
@@ -92059,7 +92062,7 @@ function requireModule$2 () {
92059
92062
  },
92060
92063
  };
92061
92064
 
92062
- exports.AllocationFactoryView = {
92065
+ exports$1.AllocationFactoryView = {
92063
92066
  decoder: damlTypes.lazyMemo(function () {
92064
92067
  return jtv.object({
92065
92068
  admin: damlTypes.Party.decoder,
@@ -92074,7 +92077,7 @@ function requireModule$2 () {
92074
92077
  },
92075
92078
  };
92076
92079
 
92077
- exports.AllocationInstruction_Update = {
92080
+ exports$1.AllocationInstruction_Update = {
92078
92081
  decoder: damlTypes.lazyMemo(function () {
92079
92082
  return jtv.object({
92080
92083
  extraActors: damlTypes.List(damlTypes.Party).decoder,
@@ -92093,7 +92096,7 @@ function requireModule$2 () {
92093
92096
  },
92094
92097
  };
92095
92098
 
92096
- exports.AllocationInstruction_Withdraw = {
92099
+ exports$1.AllocationInstruction_Withdraw = {
92097
92100
  decoder: damlTypes.lazyMemo(function () {
92098
92101
  return jtv.object({
92099
92102
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -92108,13 +92111,13 @@ function requireModule$2 () {
92108
92111
  },
92109
92112
  };
92110
92113
 
92111
- exports.AllocationInstructionView = {
92114
+ exports$1.AllocationInstructionView = {
92112
92115
  decoder: damlTypes.lazyMemo(function () {
92113
92116
  return jtv.object({
92114
92117
  originalInstructionCid: jtv.Decoder.withDefault(
92115
92118
  null,
92116
92119
  damlTypes.Optional(
92117
- damlTypes.ContractId(exports.AllocationInstruction)
92120
+ damlTypes.ContractId(exports$1.AllocationInstruction)
92118
92121
  ).decoder
92119
92122
  ),
92120
92123
  allocation:
@@ -92131,7 +92134,7 @@ function requireModule$2 () {
92131
92134
  encode: function (__typed__) {
92132
92135
  return {
92133
92136
  originalInstructionCid: damlTypes
92134
- .Optional(damlTypes.ContractId(exports.AllocationInstruction))
92137
+ .Optional(damlTypes.ContractId(exports$1.AllocationInstruction))
92135
92138
  .encode(__typed__.originalInstructionCid),
92136
92139
  allocation:
92137
92140
  Splice_Api_Token_AllocationV1.AllocationSpecification.encode(
@@ -92157,13 +92160,13 @@ var hasRequiredAllocationInstructionV1;
92157
92160
  function requireAllocationInstructionV1 () {
92158
92161
  if (hasRequiredAllocationInstructionV1) return AllocationInstructionV1$1;
92159
92162
  hasRequiredAllocationInstructionV1 = 1;
92160
- (function (exports) {
92163
+ (function (exports$1) {
92161
92164
  /* eslint-disable-next-line no-unused-vars */
92162
92165
  function __export(m) {
92163
92166
  /* eslint-disable-next-line no-prototype-builtins */
92164
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
92167
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
92165
92168
  }
92166
- Object.defineProperty(exports, '__esModule', { value: true });
92169
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92167
92170
  __export(requireModule$2());
92168
92171
  } (AllocationInstructionV1$1));
92169
92172
  return AllocationInstructionV1$1;
@@ -92178,8 +92181,8 @@ var hasRequiredModule$1;
92178
92181
  function requireModule$1 () {
92179
92182
  if (hasRequiredModule$1) return module$2;
92180
92183
  hasRequiredModule$1 = 1;
92181
- (function (exports) {
92182
- Object.defineProperty(exports, '__esModule', { value: true });
92184
+ (function (exports$1) {
92185
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92183
92186
  /* eslint-disable-next-line no-unused-vars */
92184
92187
  var jtv = require$$0$1;
92185
92188
  /* eslint-disable-next-line no-unused-vars */
@@ -92192,15 +92195,15 @@ function requireModule$1 () {
92192
92195
  var Splice_Api_Token_AllocationV1 = requireModule$3();
92193
92196
  var Splice_Api_Token_MetadataV1 = requireModule$5();
92194
92197
 
92195
- exports.AllocationRequest = damlTypes.assembleInterface(
92198
+ exports$1.AllocationRequest = damlTypes.assembleInterface(
92196
92199
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationRequestV1:AllocationRequest',
92197
92200
  function () {
92198
- return exports.AllocationRequestView
92201
+ return exports$1.AllocationRequestView
92199
92202
  },
92200
92203
  {
92201
92204
  Archive: {
92202
92205
  template: function () {
92203
- return exports.AllocationRequest
92206
+ return exports$1.AllocationRequest
92204
92207
  },
92205
92208
  choiceName: 'Archive',
92206
92209
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -92221,14 +92224,14 @@ function requireModule$1 () {
92221
92224
  },
92222
92225
  AllocationRequest_Reject: {
92223
92226
  template: function () {
92224
- return exports.AllocationRequest
92227
+ return exports$1.AllocationRequest
92225
92228
  },
92226
92229
  choiceName: 'AllocationRequest_Reject',
92227
92230
  argumentDecoder: damlTypes.lazyMemo(function () {
92228
- return exports.AllocationRequest_Reject.decoder
92231
+ return exports$1.AllocationRequest_Reject.decoder
92229
92232
  }),
92230
92233
  argumentEncode: function (__typed__) {
92231
- return exports.AllocationRequest_Reject.encode(__typed__)
92234
+ return exports$1.AllocationRequest_Reject.encode(__typed__)
92232
92235
  },
92233
92236
  resultDecoder: damlTypes.lazyMemo(function () {
92234
92237
  return Splice_Api_Token_MetadataV1.ChoiceExecutionMetadata
@@ -92242,14 +92245,14 @@ function requireModule$1 () {
92242
92245
  },
92243
92246
  AllocationRequest_Withdraw: {
92244
92247
  template: function () {
92245
- return exports.AllocationRequest
92248
+ return exports$1.AllocationRequest
92246
92249
  },
92247
92250
  choiceName: 'AllocationRequest_Withdraw',
92248
92251
  argumentDecoder: damlTypes.lazyMemo(function () {
92249
- return exports.AllocationRequest_Withdraw.decoder
92252
+ return exports$1.AllocationRequest_Withdraw.decoder
92250
92253
  }),
92251
92254
  argumentEncode: function (__typed__) {
92252
- return exports.AllocationRequest_Withdraw.encode(__typed__)
92255
+ return exports$1.AllocationRequest_Withdraw.encode(__typed__)
92253
92256
  },
92254
92257
  resultDecoder: damlTypes.lazyMemo(function () {
92255
92258
  return Splice_Api_Token_MetadataV1.ChoiceExecutionMetadata
@@ -92264,7 +92267,7 @@ function requireModule$1 () {
92264
92267
  }
92265
92268
  );
92266
92269
 
92267
- exports.AllocationRequestView = {
92270
+ exports$1.AllocationRequestView = {
92268
92271
  decoder: damlTypes.lazyMemo(function () {
92269
92272
  return jtv.object({
92270
92273
  settlement: Splice_Api_Token_AllocationV1.SettlementInfo.decoder,
@@ -92287,7 +92290,7 @@ function requireModule$1 () {
92287
92290
  },
92288
92291
  };
92289
92292
 
92290
- exports.AllocationRequest_Withdraw = {
92293
+ exports$1.AllocationRequest_Withdraw = {
92291
92294
  decoder: damlTypes.lazyMemo(function () {
92292
92295
  return jtv.object({
92293
92296
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -92302,7 +92305,7 @@ function requireModule$1 () {
92302
92305
  },
92303
92306
  };
92304
92307
 
92305
- exports.AllocationRequest_Reject = {
92308
+ exports$1.AllocationRequest_Reject = {
92306
92309
  decoder: damlTypes.lazyMemo(function () {
92307
92310
  return jtv.object({
92308
92311
  actor: damlTypes.Party.decoder,
@@ -92327,13 +92330,13 @@ var hasRequiredAllocationRequestV1;
92327
92330
  function requireAllocationRequestV1 () {
92328
92331
  if (hasRequiredAllocationRequestV1) return AllocationRequestV1$1;
92329
92332
  hasRequiredAllocationRequestV1 = 1;
92330
- (function (exports) {
92333
+ (function (exports$1) {
92331
92334
  /* eslint-disable-next-line no-unused-vars */
92332
92335
  function __export(m) {
92333
92336
  /* eslint-disable-next-line no-prototype-builtins */
92334
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
92337
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
92335
92338
  }
92336
- Object.defineProperty(exports, '__esModule', { value: true });
92339
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92337
92340
  __export(requireModule$1());
92338
92341
  } (AllocationRequestV1$1));
92339
92342
  return AllocationRequestV1$1;
@@ -92346,13 +92349,13 @@ var hasRequiredAllocationV1;
92346
92349
  function requireAllocationV1 () {
92347
92350
  if (hasRequiredAllocationV1) return AllocationV1$1;
92348
92351
  hasRequiredAllocationV1 = 1;
92349
- (function (exports) {
92352
+ (function (exports$1) {
92350
92353
  /* eslint-disable-next-line no-unused-vars */
92351
92354
  function __export(m) {
92352
92355
  /* eslint-disable-next-line no-prototype-builtins */
92353
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
92356
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
92354
92357
  }
92355
- Object.defineProperty(exports, '__esModule', { value: true });
92358
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92356
92359
  __export(requireModule$3());
92357
92360
  } (AllocationV1$1));
92358
92361
  return AllocationV1$1;
@@ -92365,13 +92368,13 @@ var hasRequiredHoldingV1;
92365
92368
  function requireHoldingV1 () {
92366
92369
  if (hasRequiredHoldingV1) return HoldingV1$1;
92367
92370
  hasRequiredHoldingV1 = 1;
92368
- (function (exports) {
92371
+ (function (exports$1) {
92369
92372
  /* eslint-disable-next-line no-unused-vars */
92370
92373
  function __export(m) {
92371
92374
  /* eslint-disable-next-line no-prototype-builtins */
92372
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
92375
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
92373
92376
  }
92374
- Object.defineProperty(exports, '__esModule', { value: true });
92377
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92375
92378
  __export(requireModule$4());
92376
92379
  } (HoldingV1$1));
92377
92380
  return HoldingV1$1;
@@ -92384,13 +92387,13 @@ var hasRequiredMetadataV1;
92384
92387
  function requireMetadataV1 () {
92385
92388
  if (hasRequiredMetadataV1) return MetadataV1$1;
92386
92389
  hasRequiredMetadataV1 = 1;
92387
- (function (exports) {
92390
+ (function (exports$1) {
92388
92391
  /* eslint-disable-next-line no-unused-vars */
92389
92392
  function __export(m) {
92390
92393
  /* eslint-disable-next-line no-prototype-builtins */
92391
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
92394
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
92392
92395
  }
92393
- Object.defineProperty(exports, '__esModule', { value: true });
92396
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92394
92397
  __export(requireModule$5());
92395
92398
  } (MetadataV1$1));
92396
92399
  return MetadataV1$1;
@@ -92405,8 +92408,8 @@ var hasRequiredModule;
92405
92408
  function requireModule () {
92406
92409
  if (hasRequiredModule) return module$1;
92407
92410
  hasRequiredModule = 1;
92408
- (function (exports) {
92409
- Object.defineProperty(exports, '__esModule', { value: true });
92411
+ (function (exports$1) {
92412
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92410
92413
  /* eslint-disable-next-line no-unused-vars */
92411
92414
  var jtv = require$$0$1;
92412
92415
  /* eslint-disable-next-line no-unused-vars */
@@ -92419,15 +92422,15 @@ function requireModule () {
92419
92422
  var Splice_Api_Token_HoldingV1 = requireModule$4();
92420
92423
  var Splice_Api_Token_MetadataV1 = requireModule$5();
92421
92424
 
92422
- exports.TransferFactory = damlTypes.assembleInterface(
92425
+ exports$1.TransferFactory = damlTypes.assembleInterface(
92423
92426
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.TransferInstructionV1:TransferFactory',
92424
92427
  function () {
92425
- return exports.TransferFactoryView
92428
+ return exports$1.TransferFactoryView
92426
92429
  },
92427
92430
  {
92428
92431
  Archive: {
92429
92432
  template: function () {
92430
- return exports.TransferFactory
92433
+ return exports$1.TransferFactory
92431
92434
  },
92432
92435
  choiceName: 'Archive',
92433
92436
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -92448,52 +92451,52 @@ function requireModule () {
92448
92451
  },
92449
92452
  TransferFactory_Transfer: {
92450
92453
  template: function () {
92451
- return exports.TransferFactory
92454
+ return exports$1.TransferFactory
92452
92455
  },
92453
92456
  choiceName: 'TransferFactory_Transfer',
92454
92457
  argumentDecoder: damlTypes.lazyMemo(function () {
92455
- return exports.TransferFactory_Transfer.decoder
92458
+ return exports$1.TransferFactory_Transfer.decoder
92456
92459
  }),
92457
92460
  argumentEncode: function (__typed__) {
92458
- return exports.TransferFactory_Transfer.encode(__typed__)
92461
+ return exports$1.TransferFactory_Transfer.encode(__typed__)
92459
92462
  },
92460
92463
  resultDecoder: damlTypes.lazyMemo(function () {
92461
- return exports.TransferInstructionResult.decoder
92464
+ return exports$1.TransferInstructionResult.decoder
92462
92465
  }),
92463
92466
  resultEncode: function (__typed__) {
92464
- return exports.TransferInstructionResult.encode(__typed__)
92467
+ return exports$1.TransferInstructionResult.encode(__typed__)
92465
92468
  },
92466
92469
  },
92467
92470
  TransferFactory_PublicFetch: {
92468
92471
  template: function () {
92469
- return exports.TransferFactory
92472
+ return exports$1.TransferFactory
92470
92473
  },
92471
92474
  choiceName: 'TransferFactory_PublicFetch',
92472
92475
  argumentDecoder: damlTypes.lazyMemo(function () {
92473
- return exports.TransferFactory_PublicFetch.decoder
92476
+ return exports$1.TransferFactory_PublicFetch.decoder
92474
92477
  }),
92475
92478
  argumentEncode: function (__typed__) {
92476
- return exports.TransferFactory_PublicFetch.encode(__typed__)
92479
+ return exports$1.TransferFactory_PublicFetch.encode(__typed__)
92477
92480
  },
92478
92481
  resultDecoder: damlTypes.lazyMemo(function () {
92479
- return exports.TransferFactoryView.decoder
92482
+ return exports$1.TransferFactoryView.decoder
92480
92483
  }),
92481
92484
  resultEncode: function (__typed__) {
92482
- return exports.TransferFactoryView.encode(__typed__)
92485
+ return exports$1.TransferFactoryView.encode(__typed__)
92483
92486
  },
92484
92487
  },
92485
92488
  }
92486
92489
  );
92487
92490
 
92488
- exports.TransferInstruction = damlTypes.assembleInterface(
92491
+ exports$1.TransferInstruction = damlTypes.assembleInterface(
92489
92492
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
92490
92493
  function () {
92491
- return exports.TransferInstructionView
92494
+ return exports$1.TransferInstructionView
92492
92495
  },
92493
92496
  {
92494
92497
  Archive: {
92495
92498
  template: function () {
92496
- return exports.TransferInstruction
92499
+ return exports$1.TransferInstruction
92497
92500
  },
92498
92501
  choiceName: 'Archive',
92499
92502
  argumentDecoder: damlTypes.lazyMemo(function () {
@@ -92514,80 +92517,80 @@ function requireModule () {
92514
92517
  },
92515
92518
  TransferInstruction_Accept: {
92516
92519
  template: function () {
92517
- return exports.TransferInstruction
92520
+ return exports$1.TransferInstruction
92518
92521
  },
92519
92522
  choiceName: 'TransferInstruction_Accept',
92520
92523
  argumentDecoder: damlTypes.lazyMemo(function () {
92521
- return exports.TransferInstruction_Accept.decoder
92524
+ return exports$1.TransferInstruction_Accept.decoder
92522
92525
  }),
92523
92526
  argumentEncode: function (__typed__) {
92524
- return exports.TransferInstruction_Accept.encode(__typed__)
92527
+ return exports$1.TransferInstruction_Accept.encode(__typed__)
92525
92528
  },
92526
92529
  resultDecoder: damlTypes.lazyMemo(function () {
92527
- return exports.TransferInstructionResult.decoder
92530
+ return exports$1.TransferInstructionResult.decoder
92528
92531
  }),
92529
92532
  resultEncode: function (__typed__) {
92530
- return exports.TransferInstructionResult.encode(__typed__)
92533
+ return exports$1.TransferInstructionResult.encode(__typed__)
92531
92534
  },
92532
92535
  },
92533
92536
  TransferInstruction_Reject: {
92534
92537
  template: function () {
92535
- return exports.TransferInstruction
92538
+ return exports$1.TransferInstruction
92536
92539
  },
92537
92540
  choiceName: 'TransferInstruction_Reject',
92538
92541
  argumentDecoder: damlTypes.lazyMemo(function () {
92539
- return exports.TransferInstruction_Reject.decoder
92542
+ return exports$1.TransferInstruction_Reject.decoder
92540
92543
  }),
92541
92544
  argumentEncode: function (__typed__) {
92542
- return exports.TransferInstruction_Reject.encode(__typed__)
92545
+ return exports$1.TransferInstruction_Reject.encode(__typed__)
92543
92546
  },
92544
92547
  resultDecoder: damlTypes.lazyMemo(function () {
92545
- return exports.TransferInstructionResult.decoder
92548
+ return exports$1.TransferInstructionResult.decoder
92546
92549
  }),
92547
92550
  resultEncode: function (__typed__) {
92548
- return exports.TransferInstructionResult.encode(__typed__)
92551
+ return exports$1.TransferInstructionResult.encode(__typed__)
92549
92552
  },
92550
92553
  },
92551
92554
  TransferInstruction_Withdraw: {
92552
92555
  template: function () {
92553
- return exports.TransferInstruction
92556
+ return exports$1.TransferInstruction
92554
92557
  },
92555
92558
  choiceName: 'TransferInstruction_Withdraw',
92556
92559
  argumentDecoder: damlTypes.lazyMemo(function () {
92557
- return exports.TransferInstruction_Withdraw.decoder
92560
+ return exports$1.TransferInstruction_Withdraw.decoder
92558
92561
  }),
92559
92562
  argumentEncode: function (__typed__) {
92560
- return exports.TransferInstruction_Withdraw.encode(__typed__)
92563
+ return exports$1.TransferInstruction_Withdraw.encode(__typed__)
92561
92564
  },
92562
92565
  resultDecoder: damlTypes.lazyMemo(function () {
92563
- return exports.TransferInstructionResult.decoder
92566
+ return exports$1.TransferInstructionResult.decoder
92564
92567
  }),
92565
92568
  resultEncode: function (__typed__) {
92566
- return exports.TransferInstructionResult.encode(__typed__)
92569
+ return exports$1.TransferInstructionResult.encode(__typed__)
92567
92570
  },
92568
92571
  },
92569
92572
  TransferInstruction_Update: {
92570
92573
  template: function () {
92571
- return exports.TransferInstruction
92574
+ return exports$1.TransferInstruction
92572
92575
  },
92573
92576
  choiceName: 'TransferInstruction_Update',
92574
92577
  argumentDecoder: damlTypes.lazyMemo(function () {
92575
- return exports.TransferInstruction_Update.decoder
92578
+ return exports$1.TransferInstruction_Update.decoder
92576
92579
  }),
92577
92580
  argumentEncode: function (__typed__) {
92578
- return exports.TransferInstruction_Update.encode(__typed__)
92581
+ return exports$1.TransferInstruction_Update.encode(__typed__)
92579
92582
  },
92580
92583
  resultDecoder: damlTypes.lazyMemo(function () {
92581
- return exports.TransferInstructionResult.decoder
92584
+ return exports$1.TransferInstructionResult.decoder
92582
92585
  }),
92583
92586
  resultEncode: function (__typed__) {
92584
- return exports.TransferInstructionResult.encode(__typed__)
92587
+ return exports$1.TransferInstructionResult.encode(__typed__)
92585
92588
  },
92586
92589
  },
92587
92590
  }
92588
92591
  );
92589
92592
 
92590
- exports.TransferFactoryView = {
92593
+ exports$1.TransferFactoryView = {
92591
92594
  decoder: damlTypes.lazyMemo(function () {
92592
92595
  return jtv.object({
92593
92596
  admin: damlTypes.Party.decoder,
@@ -92602,7 +92605,7 @@ function requireModule () {
92602
92605
  },
92603
92606
  };
92604
92607
 
92605
- exports.TransferFactory_PublicFetch = {
92608
+ exports$1.TransferFactory_PublicFetch = {
92606
92609
  decoder: damlTypes.lazyMemo(function () {
92607
92610
  return jtv.object({
92608
92611
  expectedAdmin: damlTypes.Party.decoder,
@@ -92617,18 +92620,18 @@ function requireModule () {
92617
92620
  },
92618
92621
  };
92619
92622
 
92620
- exports.TransferFactory_Transfer = {
92623
+ exports$1.TransferFactory_Transfer = {
92621
92624
  decoder: damlTypes.lazyMemo(function () {
92622
92625
  return jtv.object({
92623
92626
  expectedAdmin: damlTypes.Party.decoder,
92624
- transfer: exports.Transfer.decoder,
92627
+ transfer: exports$1.Transfer.decoder,
92625
92628
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
92626
92629
  })
92627
92630
  }),
92628
92631
  encode: function (__typed__) {
92629
92632
  return {
92630
92633
  expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
92631
- transfer: exports.Transfer.encode(__typed__.transfer),
92634
+ transfer: exports$1.Transfer.encode(__typed__.transfer),
92632
92635
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.encode(
92633
92636
  __typed__.extraArgs
92634
92637
  ),
@@ -92636,7 +92639,7 @@ function requireModule () {
92636
92639
  },
92637
92640
  };
92638
92641
 
92639
- exports.TransferInstruction_Update = {
92642
+ exports$1.TransferInstruction_Update = {
92640
92643
  decoder: damlTypes.lazyMemo(function () {
92641
92644
  return jtv.object({
92642
92645
  extraActors: damlTypes.List(damlTypes.Party).decoder,
@@ -92655,7 +92658,7 @@ function requireModule () {
92655
92658
  },
92656
92659
  };
92657
92660
 
92658
- exports.TransferInstruction_Withdraw = {
92661
+ exports$1.TransferInstruction_Withdraw = {
92659
92662
  decoder: damlTypes.lazyMemo(function () {
92660
92663
  return jtv.object({
92661
92664
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -92670,7 +92673,7 @@ function requireModule () {
92670
92673
  },
92671
92674
  };
92672
92675
 
92673
- exports.TransferInstruction_Reject = {
92676
+ exports$1.TransferInstruction_Reject = {
92674
92677
  decoder: damlTypes.lazyMemo(function () {
92675
92678
  return jtv.object({
92676
92679
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -92685,7 +92688,7 @@ function requireModule () {
92685
92688
  },
92686
92689
  };
92687
92690
 
92688
- exports.TransferInstruction_Accept = {
92691
+ exports$1.TransferInstruction_Accept = {
92689
92692
  decoder: damlTypes.lazyMemo(function () {
92690
92693
  return jtv.object({
92691
92694
  extraArgs: Splice_Api_Token_MetadataV1.ExtraArgs.decoder,
@@ -92700,33 +92703,33 @@ function requireModule () {
92700
92703
  },
92701
92704
  };
92702
92705
 
92703
- exports.TransferInstructionView = {
92706
+ exports$1.TransferInstructionView = {
92704
92707
  decoder: damlTypes.lazyMemo(function () {
92705
92708
  return jtv.object({
92706
92709
  originalInstructionCid: jtv.Decoder.withDefault(
92707
92710
  null,
92708
92711
  damlTypes.Optional(
92709
- damlTypes.ContractId(exports.TransferInstruction)
92712
+ damlTypes.ContractId(exports$1.TransferInstruction)
92710
92713
  ).decoder
92711
92714
  ),
92712
- transfer: exports.Transfer.decoder,
92713
- status: exports.TransferInstructionStatus.decoder,
92715
+ transfer: exports$1.Transfer.decoder,
92716
+ status: exports$1.TransferInstructionStatus.decoder,
92714
92717
  meta: Splice_Api_Token_MetadataV1.Metadata.decoder,
92715
92718
  })
92716
92719
  }),
92717
92720
  encode: function (__typed__) {
92718
92721
  return {
92719
92722
  originalInstructionCid: damlTypes
92720
- .Optional(damlTypes.ContractId(exports.TransferInstruction))
92723
+ .Optional(damlTypes.ContractId(exports$1.TransferInstruction))
92721
92724
  .encode(__typed__.originalInstructionCid),
92722
- transfer: exports.Transfer.encode(__typed__.transfer),
92723
- status: exports.TransferInstructionStatus.encode(__typed__.status),
92725
+ transfer: exports$1.Transfer.encode(__typed__.transfer),
92726
+ status: exports$1.TransferInstructionStatus.encode(__typed__.status),
92724
92727
  meta: Splice_Api_Token_MetadataV1.Metadata.encode(__typed__.meta),
92725
92728
  }
92726
92729
  },
92727
92730
  };
92728
92731
 
92729
- exports.TransferInstructionStatus = {
92732
+ exports$1.TransferInstructionStatus = {
92730
92733
  decoder: damlTypes.lazyMemo(function () {
92731
92734
  return jtv.oneOf(
92732
92735
  jtv.object({
@@ -92735,7 +92738,7 @@ function requireModule () {
92735
92738
  }),
92736
92739
  jtv.object({
92737
92740
  tag: jtv.constant('TransferPendingInternalWorkflow'),
92738
- value: exports.TransferInstructionStatus
92741
+ value: exports$1.TransferInstructionStatus
92739
92742
  .TransferPendingInternalWorkflow.decoder,
92740
92743
  })
92741
92744
  )
@@ -92750,7 +92753,7 @@ function requireModule () {
92750
92753
  case 'TransferPendingInternalWorkflow':
92751
92754
  return {
92752
92755
  tag: __typed__.tag,
92753
- value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(
92756
+ value: exports$1.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(
92754
92757
  __typed__.value
92755
92758
  ),
92756
92759
  }
@@ -92779,17 +92782,17 @@ function requireModule () {
92779
92782
  },
92780
92783
  };
92781
92784
 
92782
- exports.TransferInstructionResult_Output = {
92785
+ exports$1.TransferInstructionResult_Output = {
92783
92786
  decoder: damlTypes.lazyMemo(function () {
92784
92787
  return jtv.oneOf(
92785
92788
  jtv.object({
92786
92789
  tag: jtv.constant('TransferInstructionResult_Pending'),
92787
- value: exports.TransferInstructionResult_Output
92790
+ value: exports$1.TransferInstructionResult_Output
92788
92791
  .TransferInstructionResult_Pending.decoder,
92789
92792
  }),
92790
92793
  jtv.object({
92791
92794
  tag: jtv.constant('TransferInstructionResult_Completed'),
92792
- value: exports.TransferInstructionResult_Output
92795
+ value: exports$1.TransferInstructionResult_Output
92793
92796
  .TransferInstructionResult_Completed.decoder,
92794
92797
  }),
92795
92798
  jtv.object({
@@ -92803,14 +92806,14 @@ function requireModule () {
92803
92806
  case 'TransferInstructionResult_Pending':
92804
92807
  return {
92805
92808
  tag: __typed__.tag,
92806
- value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(
92809
+ value: exports$1.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(
92807
92810
  __typed__.value
92808
92811
  ),
92809
92812
  }
92810
92813
  case 'TransferInstructionResult_Completed':
92811
92814
  return {
92812
92815
  tag: __typed__.tag,
92813
- value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(
92816
+ value: exports$1.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(
92814
92817
  __typed__.value
92815
92818
  ),
92816
92819
  }
@@ -92831,14 +92834,14 @@ function requireModule () {
92831
92834
  decoder: damlTypes.lazyMemo(function () {
92832
92835
  return jtv.object({
92833
92836
  transferInstructionCid: damlTypes.ContractId(
92834
- exports.TransferInstruction
92837
+ exports$1.TransferInstruction
92835
92838
  ).decoder,
92836
92839
  })
92837
92840
  }),
92838
92841
  encode: function (__typed__) {
92839
92842
  return {
92840
92843
  transferInstructionCid: damlTypes
92841
- .ContractId(exports.TransferInstruction)
92844
+ .ContractId(exports$1.TransferInstruction)
92842
92845
  .encode(__typed__.transferInstructionCid),
92843
92846
  }
92844
92847
  },
@@ -92863,10 +92866,10 @@ function requireModule () {
92863
92866
  },
92864
92867
  };
92865
92868
 
92866
- exports.TransferInstructionResult = {
92869
+ exports$1.TransferInstructionResult = {
92867
92870
  decoder: damlTypes.lazyMemo(function () {
92868
92871
  return jtv.object({
92869
- output: exports.TransferInstructionResult_Output.decoder,
92872
+ output: exports$1.TransferInstructionResult_Output.decoder,
92870
92873
  senderChangeCids: damlTypes.List(
92871
92874
  damlTypes.ContractId(Splice_Api_Token_HoldingV1.Holding)
92872
92875
  ).decoder,
@@ -92875,7 +92878,7 @@ function requireModule () {
92875
92878
  }),
92876
92879
  encode: function (__typed__) {
92877
92880
  return {
92878
- output: exports.TransferInstructionResult_Output.encode(
92881
+ output: exports$1.TransferInstructionResult_Output.encode(
92879
92882
  __typed__.output
92880
92883
  ),
92881
92884
  senderChangeCids: damlTypes
@@ -92886,7 +92889,7 @@ function requireModule () {
92886
92889
  },
92887
92890
  };
92888
92891
 
92889
- exports.Transfer = {
92892
+ exports$1.Transfer = {
92890
92893
  decoder: damlTypes.lazyMemo(function () {
92891
92894
  return jtv.object({
92892
92895
  sender: damlTypes.Party.decoder,
@@ -92927,13 +92930,13 @@ var hasRequiredTransferInstructionV1;
92927
92930
  function requireTransferInstructionV1 () {
92928
92931
  if (hasRequiredTransferInstructionV1) return TransferInstructionV1$1;
92929
92932
  hasRequiredTransferInstructionV1 = 1;
92930
- (function (exports) {
92933
+ (function (exports$1) {
92931
92934
  /* eslint-disable-next-line no-unused-vars */
92932
92935
  function __export(m) {
92933
92936
  /* eslint-disable-next-line no-prototype-builtins */
92934
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
92937
+ for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
92935
92938
  }
92936
- Object.defineProperty(exports, '__esModule', { value: true });
92939
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92937
92940
  __export(requireModule());
92938
92941
  } (TransferInstructionV1$1));
92939
92942
  return TransferInstructionV1$1;
@@ -92944,20 +92947,20 @@ var hasRequiredToken;
92944
92947
  function requireToken () {
92945
92948
  if (hasRequiredToken) return Token;
92946
92949
  hasRequiredToken = 1;
92947
- (function (exports) {
92948
- Object.defineProperty(exports, '__esModule', { value: true });
92950
+ (function (exports$1) {
92951
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92949
92952
  var AllocationInstructionV1 = requireAllocationInstructionV1();
92950
- exports.AllocationInstructionV1 = AllocationInstructionV1;
92953
+ exports$1.AllocationInstructionV1 = AllocationInstructionV1;
92951
92954
  var AllocationRequestV1 = requireAllocationRequestV1();
92952
- exports.AllocationRequestV1 = AllocationRequestV1;
92955
+ exports$1.AllocationRequestV1 = AllocationRequestV1;
92953
92956
  var AllocationV1 = requireAllocationV1();
92954
- exports.AllocationV1 = AllocationV1;
92957
+ exports$1.AllocationV1 = AllocationV1;
92955
92958
  var HoldingV1 = requireHoldingV1();
92956
- exports.HoldingV1 = HoldingV1;
92959
+ exports$1.HoldingV1 = HoldingV1;
92957
92960
  var MetadataV1 = requireMetadataV1();
92958
- exports.MetadataV1 = MetadataV1;
92961
+ exports$1.MetadataV1 = MetadataV1;
92959
92962
  var TransferInstructionV1 = requireTransferInstructionV1();
92960
- exports.TransferInstructionV1 = TransferInstructionV1;
92963
+ exports$1.TransferInstructionV1 = TransferInstructionV1;
92961
92964
  } (Token));
92962
92965
  return Token;
92963
92966
  }
@@ -92967,10 +92970,10 @@ var hasRequiredApi;
92967
92970
  function requireApi () {
92968
92971
  if (hasRequiredApi) return Api;
92969
92972
  hasRequiredApi = 1;
92970
- (function (exports) {
92971
- Object.defineProperty(exports, '__esModule', { value: true });
92973
+ (function (exports$1) {
92974
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92972
92975
  var Token = requireToken();
92973
- exports.Token = Token;
92976
+ exports$1.Token = Token;
92974
92977
  } (Api));
92975
92978
  return Api;
92976
92979
  }
@@ -92980,10 +92983,10 @@ var hasRequiredSplice;
92980
92983
  function requireSplice () {
92981
92984
  if (hasRequiredSplice) return Splice;
92982
92985
  hasRequiredSplice = 1;
92983
- (function (exports) {
92984
- Object.defineProperty(exports, '__esModule', { value: true });
92986
+ (function (exports$1) {
92987
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92985
92988
  var Api = requireApi();
92986
- exports.Api = Api;
92989
+ exports$1.Api = Api;
92987
92990
  } (Splice));
92988
92991
  return Splice;
92989
92992
  }
@@ -92993,11 +92996,11 @@ var hasRequiredLib;
92993
92996
  function requireLib () {
92994
92997
  if (hasRequiredLib) return lib$4;
92995
92998
  hasRequiredLib = 1;
92996
- (function (exports) {
92997
- Object.defineProperty(exports, '__esModule', { value: true });
92999
+ (function (exports$1) {
93000
+ Object.defineProperty(exports$1, '__esModule', { value: true });
92998
93001
  var Splice = requireSplice();
92999
- exports.Splice = Splice;
93000
- exports.packageId =
93002
+ exports$1.Splice = Splice;
93003
+ exports$1.packageId =
93001
93004
  'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c';
93002
93005
  } (lib$4));
93003
93006
  return lib$4;
@@ -93024,6 +93027,9 @@ exports.AllocationV1 = AllocationV1;
93024
93027
  exports.FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID = FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID;
93025
93028
  exports.HOLDING_INTERFACE_ID = HOLDING_INTERFACE_ID;
93026
93029
  exports.HoldingV1 = HoldingV1;
93030
+ exports.MERGE_DELEGATION_BATCH_MERGE_UTILITY = MERGE_DELEGATION_BATCH_MERGE_UTILITY;
93031
+ exports.MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID = MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID;
93032
+ exports.MERGE_DELEGATION_TEMPLATE_ID = MERGE_DELEGATION_TEMPLATE_ID;
93027
93033
  exports.METADATA_INTERFACE_ID = METADATA_INTERFACE_ID;
93028
93034
  exports.MetadataV1 = MetadataV1;
93029
93035
  exports.TRANSFER_FACTORY_INTERFACE_ID = TRANSFER_FACTORY_INTERFACE_ID;