@canton-network/core-token-standard 0.9.0 → 0.11.0
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 +93033 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1640 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +92943 -4
- package/dist/index.js.map +1 -0
- package/dist/token-standard-client.d.ts +3 -2
- package/dist/token-standard-client.d.ts.map +1 -1
- package/dist/types.d.ts +15 -83
- package/dist/types.d.ts.map +1 -1
- package/package.json +24 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,1640 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
1
|
+
import { Logger, AccessTokenProvider, PartyId } from '@canton-network/core-types';
|
|
2
|
+
import * as damlTypes from '@daml/types';
|
|
3
|
+
export { ContractId, Date, Int, Map, Numeric, Optional, Party, Serializable, Time } from '@daml/types';
|
|
4
|
+
|
|
5
|
+
interface paths$4 {
|
|
6
|
+
'/registry/allocations/v1/{allocationId}/choice-contexts/execute-transfer': {
|
|
7
|
+
/** @description Get the choice context to execute a transfer on an allocation. */
|
|
8
|
+
post: operations$3['getAllocationTransferContext'];
|
|
9
|
+
};
|
|
10
|
+
'/registry/allocations/v1/{allocationId}/choice-contexts/withdraw': {
|
|
11
|
+
/** @description Get the choice context to withdraw an allocation. */
|
|
12
|
+
post: operations$3['getAllocationWithdrawContext'];
|
|
13
|
+
};
|
|
14
|
+
'/registry/allocations/v1/{allocationId}/choice-contexts/cancel': {
|
|
15
|
+
/** @description Get the choice context to cancel an allocation. */
|
|
16
|
+
post: operations$3['getAllocationCancelContext'];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
interface components$3 {
|
|
20
|
+
schemas: {
|
|
21
|
+
/** @description A request to get the context for executing a choice on a contract. */
|
|
22
|
+
GetChoiceContextRequest: {
|
|
23
|
+
/**
|
|
24
|
+
* @description Metadata that will be passed to the choice, and should be incorporated
|
|
25
|
+
* into the choice context. Provided for extensibility.
|
|
26
|
+
*/
|
|
27
|
+
meta?: {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @description The context required to exercise a choice on a contract via an interface.
|
|
33
|
+
* Used to retrieve additional reference date that is passed in via disclosed contracts,
|
|
34
|
+
* which are in turn referred to via their contract ID in the `choiceContextData`.
|
|
35
|
+
*/
|
|
36
|
+
ChoiceContext: {
|
|
37
|
+
/** @description The additional data to use when exercising the choice. */
|
|
38
|
+
choiceContextData: Record<string, never>;
|
|
39
|
+
/**
|
|
40
|
+
* @description The contracts that are required to be disclosed to the participant node for exercising
|
|
41
|
+
* the choice.
|
|
42
|
+
*/
|
|
43
|
+
disclosedContracts: components$3['schemas']['DisclosedContract'][];
|
|
44
|
+
};
|
|
45
|
+
DisclosedContract: {
|
|
46
|
+
templateId: string;
|
|
47
|
+
contractId: string;
|
|
48
|
+
createdEventBlob: string;
|
|
49
|
+
/**
|
|
50
|
+
* @description The synchronizer to which the contract is currently assigned.
|
|
51
|
+
* If the contract is in the process of being reassigned, then a "409" response is returned.
|
|
52
|
+
*/
|
|
53
|
+
synchronizerId: string;
|
|
54
|
+
/**
|
|
55
|
+
* @description The name of the Daml package that was used to create the contract.
|
|
56
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
57
|
+
* `createdEventBlob`.
|
|
58
|
+
*/
|
|
59
|
+
debugPackageName?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @description The contract arguments that were used to create the contract.
|
|
62
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
63
|
+
* `createdEventBlob`.
|
|
64
|
+
*/
|
|
65
|
+
debugPayload?: Record<string, never>;
|
|
66
|
+
/**
|
|
67
|
+
* Format: date-time
|
|
68
|
+
* @description The ledger effective time at which the contract was created.
|
|
69
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
70
|
+
* `createdEventBlob`.
|
|
71
|
+
*/
|
|
72
|
+
debugCreatedAt?: string;
|
|
73
|
+
};
|
|
74
|
+
ErrorResponse: {
|
|
75
|
+
error: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
responses: {
|
|
79
|
+
/** @description bad request */
|
|
80
|
+
400: {
|
|
81
|
+
content: {
|
|
82
|
+
'application/json': components$3['schemas']['ErrorResponse'];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/** @description not found */
|
|
86
|
+
404: {
|
|
87
|
+
content: {
|
|
88
|
+
'application/json': components$3['schemas']['ErrorResponse'];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
parameters: never;
|
|
93
|
+
requestBodies: never;
|
|
94
|
+
headers: never;
|
|
95
|
+
pathItems: never;
|
|
96
|
+
}
|
|
97
|
+
interface operations$3 {
|
|
98
|
+
/** @description Get the choice context to execute a transfer on an allocation. */
|
|
99
|
+
getAllocationTransferContext: {
|
|
100
|
+
parameters: {
|
|
101
|
+
path: {
|
|
102
|
+
/** @description The contract ID of the allocation whose transfer the caller wants to execute. */
|
|
103
|
+
allocationId: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
requestBody: {
|
|
107
|
+
content: {
|
|
108
|
+
'application/json': components$3['schemas']['GetChoiceContextRequest'];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
responses: {
|
|
112
|
+
/** @description ok */
|
|
113
|
+
200: {
|
|
114
|
+
content: {
|
|
115
|
+
'application/json': components$3['schemas']['ChoiceContext'];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
400: components$3['responses']['400'];
|
|
119
|
+
404: components$3['responses']['404'];
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
/** @description Get the choice context to withdraw an allocation. */
|
|
123
|
+
getAllocationWithdrawContext: {
|
|
124
|
+
parameters: {
|
|
125
|
+
path: {
|
|
126
|
+
/** @description The contract ID of the allocation to withdraw. */
|
|
127
|
+
allocationId: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
requestBody: {
|
|
131
|
+
content: {
|
|
132
|
+
'application/json': components$3['schemas']['GetChoiceContextRequest'];
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
responses: {
|
|
136
|
+
/** @description ok */
|
|
137
|
+
200: {
|
|
138
|
+
content: {
|
|
139
|
+
'application/json': components$3['schemas']['ChoiceContext'];
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
400: components$3['responses']['400'];
|
|
143
|
+
404: components$3['responses']['404'];
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
/** @description Get the choice context to cancel an allocation. */
|
|
147
|
+
getAllocationCancelContext: {
|
|
148
|
+
parameters: {
|
|
149
|
+
path: {
|
|
150
|
+
/** @description The contract ID of the allocation to cancel. */
|
|
151
|
+
allocationId: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
requestBody: {
|
|
155
|
+
content: {
|
|
156
|
+
'application/json': components$3['schemas']['GetChoiceContextRequest'];
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
responses: {
|
|
160
|
+
/** @description ok */
|
|
161
|
+
200: {
|
|
162
|
+
content: {
|
|
163
|
+
'application/json': components$3['schemas']['ChoiceContext'];
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
400: components$3['responses']['400'];
|
|
167
|
+
404: components$3['responses']['404'];
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface paths$3 {
|
|
173
|
+
'/registry/allocation-instruction/v1/allocation-factory': {
|
|
174
|
+
/** @description Get the factory and choice context for creating allocations using the `AllocationFactory_Allocate` choice. */
|
|
175
|
+
post: operations$2['getAllocationFactory'];
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
interface components$2 {
|
|
179
|
+
schemas: {
|
|
180
|
+
GetFactoryRequest: {
|
|
181
|
+
/**
|
|
182
|
+
* @description The arguments that are intended to be passed to the choice provided by the factory.
|
|
183
|
+
* To avoid repeating the Daml type definitions, they are specified as JSON objects.
|
|
184
|
+
* However the concrete format is given by how the choice arguments are encoded using the Daml JSON API
|
|
185
|
+
* (with the `extraArgs.context` and `extraArgs.meta` fields set to the empty object).
|
|
186
|
+
*
|
|
187
|
+
* The choice arguments are provided so that the registry can also provide choice-argument
|
|
188
|
+
* specific contracts, e.g., the configuration for a specific instrument-id.
|
|
189
|
+
*/
|
|
190
|
+
choiceArguments: Record<string, never>;
|
|
191
|
+
/**
|
|
192
|
+
* @description If set to true, the response will not include debug fields.
|
|
193
|
+
* @default false
|
|
194
|
+
*/
|
|
195
|
+
excludeDebugFields?: boolean;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @description A factory contract together with the choice context required to exercise the choice
|
|
199
|
+
* provided by the factory. Typically used to implement the generic initiation of on-ledger workflows
|
|
200
|
+
* via a Daml interface.
|
|
201
|
+
*
|
|
202
|
+
* Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices,
|
|
203
|
+
* as the choice context MAY be specific to the choice being exercised.
|
|
204
|
+
*/
|
|
205
|
+
FactoryWithChoiceContext: {
|
|
206
|
+
/** @description The contract ID of the contract implementing the factory interface. */
|
|
207
|
+
factoryId: string;
|
|
208
|
+
choiceContext: components$2['schemas']['ChoiceContext'];
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* @description The context required to exercise a choice on a contract via an interface.
|
|
212
|
+
* Used to retrieve additional reference date that is passed in via disclosed contracts,
|
|
213
|
+
* which are in turn referred to via their contract ID in the `choiceContextData`.
|
|
214
|
+
*/
|
|
215
|
+
ChoiceContext: {
|
|
216
|
+
/** @description The additional data to use when exercising the choice. */
|
|
217
|
+
choiceContextData: Record<string, never>;
|
|
218
|
+
/**
|
|
219
|
+
* @description The contracts that are required to be disclosed to the participant node for exercising
|
|
220
|
+
* the choice.
|
|
221
|
+
*/
|
|
222
|
+
disclosedContracts: components$2['schemas']['DisclosedContract'][];
|
|
223
|
+
};
|
|
224
|
+
DisclosedContract: {
|
|
225
|
+
templateId: string;
|
|
226
|
+
contractId: string;
|
|
227
|
+
createdEventBlob: string;
|
|
228
|
+
/**
|
|
229
|
+
* @description The synchronizer to which the contract is currently assigned.
|
|
230
|
+
* If the contract is in the process of being reassigned, then a "409" response is returned.
|
|
231
|
+
*/
|
|
232
|
+
synchronizerId: string;
|
|
233
|
+
/**
|
|
234
|
+
* @description The name of the Daml package that was used to create the contract.
|
|
235
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
236
|
+
* `createdEventBlob`.
|
|
237
|
+
*/
|
|
238
|
+
debugPackageName?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @description The contract arguments that were used to create the contract.
|
|
241
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
242
|
+
* `createdEventBlob`.
|
|
243
|
+
*/
|
|
244
|
+
debugPayload?: Record<string, never>;
|
|
245
|
+
/**
|
|
246
|
+
* Format: date-time
|
|
247
|
+
* @description The ledger effective time at which the contract was created.
|
|
248
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
249
|
+
* `createdEventBlob`.
|
|
250
|
+
*/
|
|
251
|
+
debugCreatedAt?: string;
|
|
252
|
+
};
|
|
253
|
+
ErrorResponse: {
|
|
254
|
+
error: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
responses: {
|
|
258
|
+
/** @description bad request */
|
|
259
|
+
400: {
|
|
260
|
+
content: {
|
|
261
|
+
'application/json': components$2['schemas']['ErrorResponse'];
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
/** @description not found */
|
|
265
|
+
404: {
|
|
266
|
+
content: {
|
|
267
|
+
'application/json': components$2['schemas']['ErrorResponse'];
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
parameters: never;
|
|
272
|
+
requestBodies: never;
|
|
273
|
+
headers: never;
|
|
274
|
+
pathItems: never;
|
|
275
|
+
}
|
|
276
|
+
interface operations$2 {
|
|
277
|
+
/** @description Get the factory and choice context for creating allocations using the `AllocationFactory_Allocate` choice. */
|
|
278
|
+
getAllocationFactory: {
|
|
279
|
+
requestBody: {
|
|
280
|
+
content: {
|
|
281
|
+
'application/json': components$2['schemas']['GetFactoryRequest'];
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
responses: {
|
|
285
|
+
/** @description ok */
|
|
286
|
+
200: {
|
|
287
|
+
content: {
|
|
288
|
+
'application/json': components$2['schemas']['FactoryWithChoiceContext'];
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
400: components$2['responses']['400'];
|
|
292
|
+
404: components$2['responses']['404'];
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
interface paths$2 {
|
|
298
|
+
'/registry/metadata/v1/info': {
|
|
299
|
+
/**
|
|
300
|
+
* @description Get information about the registry.
|
|
301
|
+
* The response includes the standards supported by the registry.
|
|
302
|
+
*/
|
|
303
|
+
get: operations$1['getRegistryInfo'];
|
|
304
|
+
};
|
|
305
|
+
'/registry/metadata/v1/instruments': {
|
|
306
|
+
/** @description List all instruments managed by this instrument admin. */
|
|
307
|
+
get: operations$1['listInstruments'];
|
|
308
|
+
};
|
|
309
|
+
'/registry/metadata/v1/instruments/{instrumentId}': {
|
|
310
|
+
/** @description Retrieve an instrument's metadata. */
|
|
311
|
+
get: operations$1['getInstrument'];
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
interface components$1 {
|
|
315
|
+
schemas: {
|
|
316
|
+
GetRegistryInfoResponse: {
|
|
317
|
+
/** @description The Daml party representing the registry app */
|
|
318
|
+
adminId: string;
|
|
319
|
+
/** @description The token standard APIs supported by the registry. Note that this only includes the registry-wide APIs. Use the instrument lookup endpoints to see which APIs are supported for a given instrument */
|
|
320
|
+
supportedApis: components$1['schemas']['SupportedApis'];
|
|
321
|
+
};
|
|
322
|
+
Instrument: {
|
|
323
|
+
/** @description The unique identifier assigned by the admin to the instrument. */
|
|
324
|
+
id: string;
|
|
325
|
+
/** @description The display name for the instrument recommended by the instrument admin. This is not necessarily unique. */
|
|
326
|
+
name: string;
|
|
327
|
+
/** @description The symbol for the instrument recommended by the instrument admin. This is not necessarily unique. */
|
|
328
|
+
symbol: string;
|
|
329
|
+
/** @description Decimal encoded current total supply of the instrument. */
|
|
330
|
+
totalSupply?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Format: date-time
|
|
333
|
+
* @description The timestamp when the total supply was last computed.
|
|
334
|
+
*/
|
|
335
|
+
totalSupplyAsOf?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Format: int8
|
|
338
|
+
* @description The number of decimal places used by the instrument.
|
|
339
|
+
*
|
|
340
|
+
* Must be a number between 0 and 10, as the Daml interfaces represent holding amounts as
|
|
341
|
+
* `Decimal` values, which use 10 decimal places and are precise for 38 digits.
|
|
342
|
+
* Setting this to 0 means that the instrument can only be held in whole units.
|
|
343
|
+
*
|
|
344
|
+
* This number SHOULD be used for display purposes in a wallet to decide how many
|
|
345
|
+
* decimal places to show and accept when displaying or entering amounts.
|
|
346
|
+
*
|
|
347
|
+
* @default 10
|
|
348
|
+
*/
|
|
349
|
+
decimals: number;
|
|
350
|
+
supportedApis: components$1['schemas']['SupportedApis'];
|
|
351
|
+
};
|
|
352
|
+
ListInstrumentsResponse: {
|
|
353
|
+
instruments: components$1['schemas']['Instrument'][];
|
|
354
|
+
/** @description The token for the next page of results, to be used as the lastInstrumentId for the next page. */
|
|
355
|
+
nextPageToken?: string;
|
|
356
|
+
};
|
|
357
|
+
ErrorResponse: {
|
|
358
|
+
error: string;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* @description Map from token standard API name to the minor version of the API supported, e.g.,
|
|
362
|
+
* splice-api-token-metadata-v1 -> 1 where the `1` corresponds to the minor version.
|
|
363
|
+
*/
|
|
364
|
+
SupportedApis: {
|
|
365
|
+
[key: string]: number;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
responses: {
|
|
369
|
+
/** @description bad request */
|
|
370
|
+
400: {
|
|
371
|
+
content: {
|
|
372
|
+
'application/json': components$1['schemas']['ErrorResponse'];
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
/** @description not found */
|
|
376
|
+
404: {
|
|
377
|
+
content: {
|
|
378
|
+
'application/json': components$1['schemas']['ErrorResponse'];
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
/** @description conflict */
|
|
382
|
+
409: {
|
|
383
|
+
content: {
|
|
384
|
+
'application/json': components$1['schemas']['ErrorResponse'];
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
/** @description Internal server error */
|
|
388
|
+
500: {
|
|
389
|
+
content: {
|
|
390
|
+
'application/json': components$1['schemas']['ErrorResponse'];
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
parameters: never;
|
|
395
|
+
requestBodies: never;
|
|
396
|
+
headers: never;
|
|
397
|
+
pathItems: never;
|
|
398
|
+
}
|
|
399
|
+
interface operations$1 {
|
|
400
|
+
/**
|
|
401
|
+
* @description Get information about the registry.
|
|
402
|
+
* The response includes the standards supported by the registry.
|
|
403
|
+
*/
|
|
404
|
+
getRegistryInfo: {
|
|
405
|
+
responses: {
|
|
406
|
+
/** @description ok */
|
|
407
|
+
200: {
|
|
408
|
+
content: {
|
|
409
|
+
'application/json': components$1['schemas']['GetRegistryInfoResponse'];
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
404: components$1['responses']['404'];
|
|
413
|
+
500: components$1['responses']['500'];
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
/** @description List all instruments managed by this instrument admin. */
|
|
417
|
+
listInstruments: {
|
|
418
|
+
parameters: {
|
|
419
|
+
query?: {
|
|
420
|
+
/** @description Number of instruments per page. */
|
|
421
|
+
pageSize?: number;
|
|
422
|
+
/** @description The `nextPageToken` received from the response for the previous page. */
|
|
423
|
+
pageToken?: string;
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
responses: {
|
|
427
|
+
/** @description ok */
|
|
428
|
+
200: {
|
|
429
|
+
content: {
|
|
430
|
+
'application/json': components$1['schemas']['ListInstrumentsResponse'];
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
404: components$1['responses']['404'];
|
|
434
|
+
500: components$1['responses']['500'];
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
/** @description Retrieve an instrument's metadata. */
|
|
438
|
+
getInstrument: {
|
|
439
|
+
parameters: {
|
|
440
|
+
path: {
|
|
441
|
+
instrumentId: string;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
responses: {
|
|
445
|
+
/** @description ok */
|
|
446
|
+
200: {
|
|
447
|
+
content: {
|
|
448
|
+
'application/json': components$1['schemas']['Instrument'];
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
404: components$1['responses']['404'];
|
|
452
|
+
500: components$1['responses']['500'];
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
interface paths$1 {
|
|
458
|
+
'/registry/transfer-instruction/v1/transfer-factory': {
|
|
459
|
+
/** @description Get the factory and choice context for executing a direct transfer. */
|
|
460
|
+
post: operations['getTransferFactory'];
|
|
461
|
+
};
|
|
462
|
+
'/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/accept': {
|
|
463
|
+
/** @description Get the choice context to accept a transfer instruction. */
|
|
464
|
+
post: operations['getTransferInstructionAcceptContext'];
|
|
465
|
+
};
|
|
466
|
+
'/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/reject': {
|
|
467
|
+
/** @description Get the choice context to reject a transfer instruction. */
|
|
468
|
+
post: operations['getTransferInstructionRejectContext'];
|
|
469
|
+
};
|
|
470
|
+
'/registry/transfer-instruction/v1/{transferInstructionId}/choice-contexts/withdraw': {
|
|
471
|
+
/** @description Get the choice context to withdraw a transfer instruction. */
|
|
472
|
+
post: operations['getTransferInstructionWithdrawContext'];
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
interface components {
|
|
476
|
+
schemas: {
|
|
477
|
+
GetFactoryRequest: {
|
|
478
|
+
/**
|
|
479
|
+
* @description The arguments that are intended to be passed to the choice provided by the factory.
|
|
480
|
+
* To avoid repeating the Daml type definitions, they are specified as JSON objects.
|
|
481
|
+
* However the concrete format is given by how the choice arguments are encoded using the Daml JSON API
|
|
482
|
+
* (with the `extraArgs.context` and `extraArgs.meta` fields set to the empty object).
|
|
483
|
+
*
|
|
484
|
+
* The choice arguments are provided so that the registry can also provide choice-argument
|
|
485
|
+
* specific contracts, e.g., the configuration for a specific instrument-id.
|
|
486
|
+
*/
|
|
487
|
+
choiceArguments: Record<string, never>;
|
|
488
|
+
/**
|
|
489
|
+
* @description If set to true, the response will not include debug fields.
|
|
490
|
+
* @default false
|
|
491
|
+
*/
|
|
492
|
+
excludeDebugFields?: boolean;
|
|
493
|
+
};
|
|
494
|
+
/** @description A request to get the context for executing a choice on a contract. */
|
|
495
|
+
GetChoiceContextRequest: {
|
|
496
|
+
/**
|
|
497
|
+
* @description Metadata that will be passed to the choice, and should be incorporated
|
|
498
|
+
* into the choice context. Provided for extensibility.
|
|
499
|
+
*/
|
|
500
|
+
meta?: {
|
|
501
|
+
[key: string]: string;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* @description The transfer factory contract together with the choice context required to exercise the choice
|
|
506
|
+
* provided by the factory. Typically used to implement the generic initiation of on-ledger workflows
|
|
507
|
+
* via a Daml interface.
|
|
508
|
+
*
|
|
509
|
+
* Clients SHOULD avoid reusing the same `FactoryWithChoiceContext` for exercising multiple choices,
|
|
510
|
+
* as the choice context MAY be specific to the choice being exercised.
|
|
511
|
+
*/
|
|
512
|
+
TransferFactoryWithChoiceContext: {
|
|
513
|
+
/** @description The contract ID of the contract implementing the factory interface. */
|
|
514
|
+
factoryId: string;
|
|
515
|
+
/**
|
|
516
|
+
* @description The kind of transfer workflow that will be used:
|
|
517
|
+
* * `offer`: offer a transfer to the receiver and only transfer if they accept
|
|
518
|
+
* * `direct`: transfer directly to the receiver without asking them for approval.
|
|
519
|
+
* Only chosen if the receiver has pre-approved direct transfers.
|
|
520
|
+
* * `self`: a self-transfer where the sender and receiver are the same party.
|
|
521
|
+
* No approval is required, and the transfer is typically immediate.
|
|
522
|
+
*
|
|
523
|
+
* @enum {string}
|
|
524
|
+
*/
|
|
525
|
+
transferKind: 'self' | 'direct' | 'offer';
|
|
526
|
+
choiceContext: components['schemas']['ChoiceContext'];
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* @description The context required to exercise a choice on a contract via an interface.
|
|
530
|
+
* Used to retrieve additional reference data that is passed in via disclosed contracts,
|
|
531
|
+
* which are in turn referred to via their contract ID in the `choiceContextData`.
|
|
532
|
+
*/
|
|
533
|
+
ChoiceContext: {
|
|
534
|
+
/** @description The additional data to use when exercising the choice. */
|
|
535
|
+
choiceContextData: Record<string, never>;
|
|
536
|
+
/**
|
|
537
|
+
* @description The contracts that are required to be disclosed to the participant node for exercising
|
|
538
|
+
* the choice.
|
|
539
|
+
*/
|
|
540
|
+
disclosedContracts: components['schemas']['DisclosedContract'][];
|
|
541
|
+
};
|
|
542
|
+
DisclosedContract: {
|
|
543
|
+
templateId: string;
|
|
544
|
+
contractId: string;
|
|
545
|
+
createdEventBlob: string;
|
|
546
|
+
/**
|
|
547
|
+
* @description The synchronizer to which the contract is currently assigned.
|
|
548
|
+
* If the contract is in the process of being reassigned, then a "409" response is returned.
|
|
549
|
+
*/
|
|
550
|
+
synchronizerId: string;
|
|
551
|
+
/**
|
|
552
|
+
* @description The name of the Daml package that was used to create the contract.
|
|
553
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
554
|
+
* `createdEventBlob`.
|
|
555
|
+
*/
|
|
556
|
+
debugPackageName?: string;
|
|
557
|
+
/**
|
|
558
|
+
* @description The contract arguments that were used to create the contract.
|
|
559
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
560
|
+
* `createdEventBlob`.
|
|
561
|
+
*/
|
|
562
|
+
debugPayload?: Record<string, never>;
|
|
563
|
+
/**
|
|
564
|
+
* Format: date-time
|
|
565
|
+
* @description The ledger effective time at which the contract was created.
|
|
566
|
+
* Use this data only if you trust the provider, as it might not match the data in the
|
|
567
|
+
* `createdEventBlob`.
|
|
568
|
+
*/
|
|
569
|
+
debugCreatedAt?: string;
|
|
570
|
+
};
|
|
571
|
+
ErrorResponse: {
|
|
572
|
+
error: string;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
responses: {
|
|
576
|
+
/** @description bad request */
|
|
577
|
+
400: {
|
|
578
|
+
content: {
|
|
579
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
/** @description not found */
|
|
583
|
+
404: {
|
|
584
|
+
content: {
|
|
585
|
+
'application/json': components['schemas']['ErrorResponse'];
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
parameters: never;
|
|
590
|
+
requestBodies: never;
|
|
591
|
+
headers: never;
|
|
592
|
+
pathItems: never;
|
|
593
|
+
}
|
|
594
|
+
interface operations {
|
|
595
|
+
/** @description Get the factory and choice context for executing a direct transfer. */
|
|
596
|
+
getTransferFactory: {
|
|
597
|
+
requestBody: {
|
|
598
|
+
content: {
|
|
599
|
+
'application/json': components['schemas']['GetFactoryRequest'];
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
responses: {
|
|
603
|
+
/** @description ok */
|
|
604
|
+
200: {
|
|
605
|
+
content: {
|
|
606
|
+
'application/json': components['schemas']['TransferFactoryWithChoiceContext'];
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
400: components['responses']['400'];
|
|
610
|
+
404: components['responses']['404'];
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
/** @description Get the choice context to accept a transfer instruction. */
|
|
614
|
+
getTransferInstructionAcceptContext: {
|
|
615
|
+
parameters: {
|
|
616
|
+
path: {
|
|
617
|
+
/** @description The contract ID of the transfer instruction to accept. */
|
|
618
|
+
transferInstructionId: string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
requestBody: {
|
|
622
|
+
content: {
|
|
623
|
+
'application/json': components['schemas']['GetChoiceContextRequest'];
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
responses: {
|
|
627
|
+
/** @description ok */
|
|
628
|
+
200: {
|
|
629
|
+
content: {
|
|
630
|
+
'application/json': components['schemas']['ChoiceContext'];
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
400: components['responses']['400'];
|
|
634
|
+
404: components['responses']['404'];
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
/** @description Get the choice context to reject a transfer instruction. */
|
|
638
|
+
getTransferInstructionRejectContext: {
|
|
639
|
+
parameters: {
|
|
640
|
+
path: {
|
|
641
|
+
/** @description The contract ID of the transfer instruction to reject. */
|
|
642
|
+
transferInstructionId: string;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
requestBody: {
|
|
646
|
+
content: {
|
|
647
|
+
'application/json': components['schemas']['GetChoiceContextRequest'];
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
responses: {
|
|
651
|
+
/** @description ok */
|
|
652
|
+
200: {
|
|
653
|
+
content: {
|
|
654
|
+
'application/json': components['schemas']['ChoiceContext'];
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
400: components['responses']['400'];
|
|
658
|
+
404: components['responses']['404'];
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
/** @description Get the choice context to withdraw a transfer instruction. */
|
|
662
|
+
getTransferInstructionWithdrawContext: {
|
|
663
|
+
parameters: {
|
|
664
|
+
path: {
|
|
665
|
+
/** @description The contract ID of the transfer instruction to withdraw. */
|
|
666
|
+
transferInstructionId: string;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
requestBody: {
|
|
670
|
+
content: {
|
|
671
|
+
'application/json': components['schemas']['GetChoiceContextRequest'];
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
responses: {
|
|
675
|
+
/** @description ok */
|
|
676
|
+
200: {
|
|
677
|
+
content: {
|
|
678
|
+
'application/json': components['schemas']['ChoiceContext'];
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
400: components['responses']['400'];
|
|
682
|
+
404: components['responses']['404'];
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
type paths = paths$4 & paths$2 & paths$1 & paths$3;
|
|
688
|
+
type PostEndpoint = {
|
|
689
|
+
[Pathname in keyof paths]: paths[Pathname] extends {
|
|
690
|
+
post: unknown;
|
|
691
|
+
} ? Pathname : never;
|
|
692
|
+
}[keyof paths];
|
|
693
|
+
type PostRequest<Path extends PostEndpoint> = paths[Path] extends {
|
|
694
|
+
post: {
|
|
695
|
+
requestBody: {
|
|
696
|
+
content: {
|
|
697
|
+
'application/json': infer Req;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
} ? Req : never;
|
|
702
|
+
type PostResponse<Path extends PostEndpoint> = paths[Path] extends {
|
|
703
|
+
post: {
|
|
704
|
+
responses: {
|
|
705
|
+
200: {
|
|
706
|
+
content: {
|
|
707
|
+
'application/json': infer Res;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
} ? Res : never;
|
|
713
|
+
type GetEndpoint = {
|
|
714
|
+
[Pathname in keyof paths]: paths[Pathname] extends {
|
|
715
|
+
get: unknown;
|
|
716
|
+
} ? Pathname : never;
|
|
717
|
+
}[keyof paths];
|
|
718
|
+
type GetResponse<Path extends GetEndpoint> = paths[Path] extends {
|
|
719
|
+
get: {
|
|
720
|
+
responses: {
|
|
721
|
+
200: {
|
|
722
|
+
content: {
|
|
723
|
+
'application/json': infer Res;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
} ? Res : never;
|
|
729
|
+
declare class TokenStandardClient {
|
|
730
|
+
private readonly client;
|
|
731
|
+
private readonly logger;
|
|
732
|
+
private accessTokenProvider;
|
|
733
|
+
constructor(baseUrl: string, logger: Logger, isAdmin: boolean, accessToken?: string, accessTokenProvider?: AccessTokenProvider);
|
|
734
|
+
post<Path extends PostEndpoint>(path: Path, body: PostRequest<Path>, params?: {
|
|
735
|
+
path?: Record<string, string>;
|
|
736
|
+
query?: Record<string, string>;
|
|
737
|
+
}): Promise<PostResponse<Path>>;
|
|
738
|
+
get<Path extends GetEndpoint>(path: Path, params?: {
|
|
739
|
+
path?: Record<string, string>;
|
|
740
|
+
query?: Record<string, string>;
|
|
741
|
+
}): Promise<GetResponse<Path>>;
|
|
742
|
+
private valueOrError;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
declare const ALLOCATION_FACTORY_INTERFACE_ID = "#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory";
|
|
746
|
+
declare const ALLOCATION_INSTRUCTION_INTERFACE_ID = "#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction";
|
|
747
|
+
declare const ALLOCATION_REQUEST_INTERFACE_ID = "#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest";
|
|
748
|
+
declare const ALLOCATION_INTERFACE_ID = "#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation";
|
|
749
|
+
declare const HOLDING_INTERFACE_ID = "#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding";
|
|
750
|
+
declare const METADATA_INTERFACE_ID = "#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract";
|
|
751
|
+
declare const TRANSFER_FACTORY_INTERFACE_ID = "#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory";
|
|
752
|
+
declare const TRANSFER_INSTRUCTION_INTERFACE_ID = "#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction";
|
|
753
|
+
declare const FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID = "#splice-util-featured-app-proxies:Splice.Util.FeaturedApp.DelegateProxy:DelegateProxy";
|
|
754
|
+
|
|
755
|
+
// Generated from DA/Internal/Template.daml
|
|
756
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
757
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
758
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
declare type Archive = {}
|
|
762
|
+
|
|
763
|
+
declare const Archive: damlTypes.Serializable<Archive> & {}
|
|
764
|
+
|
|
765
|
+
// Generated from DA/Time/Types.daml
|
|
766
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
767
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
768
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
declare type RelTime = {
|
|
772
|
+
microseconds: damlTypes.Int
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
declare const RelTime: damlTypes.Serializable<RelTime> & {}
|
|
776
|
+
|
|
777
|
+
// Generated from Splice/Api/Token/MetadataV1.daml
|
|
778
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
779
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
780
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
781
|
+
|
|
782
|
+
declare interface AnyContractInterface {
|
|
783
|
+
Archive: damlTypes.Choice<
|
|
784
|
+
AnyContract,
|
|
785
|
+
Archive,
|
|
786
|
+
{},
|
|
787
|
+
undefined
|
|
788
|
+
> &
|
|
789
|
+
damlTypes.ChoiceFrom<
|
|
790
|
+
damlTypes.InterfaceCompanion<AnyContract, undefined>
|
|
791
|
+
>
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
declare type AnyContract =
|
|
795
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.MetadataV1:AnyContract'> &
|
|
796
|
+
AnyContractView
|
|
797
|
+
declare const AnyContract: damlTypes.InterfaceCompanion<
|
|
798
|
+
AnyContract,
|
|
799
|
+
undefined,
|
|
800
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.MetadataV1:AnyContract'
|
|
801
|
+
> &
|
|
802
|
+
damlTypes.FromTemplate<AnyContract, unknown> &
|
|
803
|
+
AnyContractInterface
|
|
804
|
+
|
|
805
|
+
declare type ChoiceExecutionMetadata = {
|
|
806
|
+
meta: Metadata
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare const ChoiceExecutionMetadata: damlTypes.Serializable<ChoiceExecutionMetadata> & {}
|
|
810
|
+
|
|
811
|
+
declare type ExtraArgs = {
|
|
812
|
+
context: ChoiceContext
|
|
813
|
+
meta: Metadata
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
declare const ExtraArgs: damlTypes.Serializable<ExtraArgs> & {}
|
|
817
|
+
|
|
818
|
+
declare type Metadata = {
|
|
819
|
+
values: { [key: string]: string }
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
declare const Metadata: damlTypes.Serializable<Metadata> & {}
|
|
823
|
+
|
|
824
|
+
declare type ChoiceContext = {
|
|
825
|
+
values: { [key: string]: AnyValue }
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
declare const ChoiceContext: damlTypes.Serializable<ChoiceContext> & {}
|
|
829
|
+
|
|
830
|
+
declare type AnyContractView = {}
|
|
831
|
+
|
|
832
|
+
declare const AnyContractView: damlTypes.Serializable<AnyContractView> & {}
|
|
833
|
+
|
|
834
|
+
declare type AnyValue =
|
|
835
|
+
| { tag: 'AV_Text'; value: string }
|
|
836
|
+
| { tag: 'AV_Int'; value: damlTypes.Int }
|
|
837
|
+
| { tag: 'AV_Decimal'; value: damlTypes.Numeric }
|
|
838
|
+
| { tag: 'AV_Bool'; value: boolean }
|
|
839
|
+
| { tag: 'AV_Date'; value: damlTypes.Date }
|
|
840
|
+
| { tag: 'AV_Time'; value: damlTypes.Time }
|
|
841
|
+
| {
|
|
842
|
+
tag: 'AV_RelTime'
|
|
843
|
+
value: RelTime
|
|
844
|
+
}
|
|
845
|
+
| { tag: 'AV_Party'; value: damlTypes.Party }
|
|
846
|
+
| { tag: 'AV_ContractId'; value: damlTypes.ContractId<AnyContract> }
|
|
847
|
+
| { tag: 'AV_List'; value: AnyValue[] }
|
|
848
|
+
| { tag: 'AV_Map'; value: { [key: string]: AnyValue } }
|
|
849
|
+
|
|
850
|
+
declare const AnyValue: damlTypes.Serializable<AnyValue> & {}
|
|
851
|
+
|
|
852
|
+
// Generated from Splice/Api/Token/HoldingV1.daml
|
|
853
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
854
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
855
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
856
|
+
|
|
857
|
+
declare interface HoldingInterface {
|
|
858
|
+
Archive: damlTypes.Choice<
|
|
859
|
+
Holding,
|
|
860
|
+
Archive,
|
|
861
|
+
{},
|
|
862
|
+
undefined
|
|
863
|
+
> &
|
|
864
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
declare type Holding =
|
|
868
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.HoldingV1:Holding'> &
|
|
869
|
+
HoldingView
|
|
870
|
+
declare const Holding: damlTypes.InterfaceCompanion<
|
|
871
|
+
Holding,
|
|
872
|
+
undefined,
|
|
873
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.HoldingV1:Holding'
|
|
874
|
+
> &
|
|
875
|
+
damlTypes.FromTemplate<Holding, unknown> &
|
|
876
|
+
HoldingInterface
|
|
877
|
+
|
|
878
|
+
declare type HoldingView = {
|
|
879
|
+
owner: damlTypes.Party
|
|
880
|
+
instrumentId: InstrumentId
|
|
881
|
+
amount: damlTypes.Numeric
|
|
882
|
+
lock: damlTypes.Optional<Lock>
|
|
883
|
+
meta: Metadata
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
declare const HoldingView: damlTypes.Serializable<HoldingView> & {}
|
|
887
|
+
|
|
888
|
+
declare type Lock = {
|
|
889
|
+
holders: damlTypes.Party[]
|
|
890
|
+
expiresAt: damlTypes.Optional<damlTypes.Time>
|
|
891
|
+
expiresAfter: damlTypes.Optional<RelTime>
|
|
892
|
+
context: damlTypes.Optional<string>
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
declare const Lock: damlTypes.Serializable<Lock> & {}
|
|
896
|
+
|
|
897
|
+
declare type InstrumentId = {
|
|
898
|
+
admin: damlTypes.Party
|
|
899
|
+
id: string
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
declare const InstrumentId: damlTypes.Serializable<InstrumentId> & {}
|
|
903
|
+
|
|
904
|
+
// Generated from Splice/Api/Token/AllocationV1.daml
|
|
905
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
906
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
907
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
908
|
+
|
|
909
|
+
declare interface AllocationInterface {
|
|
910
|
+
Archive: damlTypes.Choice<
|
|
911
|
+
Allocation,
|
|
912
|
+
Archive,
|
|
913
|
+
{},
|
|
914
|
+
undefined
|
|
915
|
+
> &
|
|
916
|
+
damlTypes.ChoiceFrom<
|
|
917
|
+
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
918
|
+
>
|
|
919
|
+
Allocation_Withdraw: damlTypes.Choice<
|
|
920
|
+
Allocation,
|
|
921
|
+
Allocation_Withdraw,
|
|
922
|
+
Allocation_WithdrawResult,
|
|
923
|
+
undefined
|
|
924
|
+
> &
|
|
925
|
+
damlTypes.ChoiceFrom<
|
|
926
|
+
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
927
|
+
>
|
|
928
|
+
Allocation_Cancel: damlTypes.Choice<
|
|
929
|
+
Allocation,
|
|
930
|
+
Allocation_Cancel,
|
|
931
|
+
Allocation_CancelResult,
|
|
932
|
+
undefined
|
|
933
|
+
> &
|
|
934
|
+
damlTypes.ChoiceFrom<
|
|
935
|
+
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
936
|
+
>
|
|
937
|
+
Allocation_ExecuteTransfer: damlTypes.Choice<
|
|
938
|
+
Allocation,
|
|
939
|
+
Allocation_ExecuteTransfer,
|
|
940
|
+
Allocation_ExecuteTransferResult,
|
|
941
|
+
undefined
|
|
942
|
+
> &
|
|
943
|
+
damlTypes.ChoiceFrom<
|
|
944
|
+
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
945
|
+
>
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
declare type Allocation =
|
|
949
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationV1:Allocation'> &
|
|
950
|
+
AllocationView
|
|
951
|
+
declare const Allocation: damlTypes.InterfaceCompanion<
|
|
952
|
+
Allocation,
|
|
953
|
+
undefined,
|
|
954
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationV1:Allocation'
|
|
955
|
+
> &
|
|
956
|
+
damlTypes.FromTemplate<Allocation, unknown> &
|
|
957
|
+
AllocationInterface
|
|
958
|
+
|
|
959
|
+
declare type Allocation_WithdrawResult = {
|
|
960
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[]
|
|
961
|
+
meta: Metadata
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
declare const Allocation_WithdrawResult: damlTypes.Serializable<Allocation_WithdrawResult> & {}
|
|
965
|
+
|
|
966
|
+
declare type Allocation_CancelResult = {
|
|
967
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[]
|
|
968
|
+
meta: Metadata
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
declare const Allocation_CancelResult: damlTypes.Serializable<Allocation_CancelResult> & {}
|
|
972
|
+
|
|
973
|
+
declare type Allocation_ExecuteTransferResult = {
|
|
974
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[]
|
|
975
|
+
receiverHoldingCids: damlTypes.ContractId<Holding>[]
|
|
976
|
+
meta: Metadata
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
declare const Allocation_ExecuteTransferResult: damlTypes.Serializable<Allocation_ExecuteTransferResult> & {}
|
|
980
|
+
|
|
981
|
+
declare type Allocation_Withdraw = {
|
|
982
|
+
extraArgs: ExtraArgs
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
declare const Allocation_Withdraw: damlTypes.Serializable<Allocation_Withdraw> & {}
|
|
986
|
+
|
|
987
|
+
declare type Allocation_Cancel = {
|
|
988
|
+
extraArgs: ExtraArgs
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
declare const Allocation_Cancel: damlTypes.Serializable<Allocation_Cancel> & {}
|
|
992
|
+
|
|
993
|
+
declare type Allocation_ExecuteTransfer = {
|
|
994
|
+
extraArgs: ExtraArgs
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
declare const Allocation_ExecuteTransfer: damlTypes.Serializable<Allocation_ExecuteTransfer> & {}
|
|
998
|
+
|
|
999
|
+
declare type AllocationView = {
|
|
1000
|
+
allocation: AllocationSpecification
|
|
1001
|
+
holdingCids: damlTypes.ContractId<Holding>[]
|
|
1002
|
+
meta: Metadata
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
declare const AllocationView: damlTypes.Serializable<AllocationView> & {}
|
|
1006
|
+
|
|
1007
|
+
declare type AllocationSpecification = {
|
|
1008
|
+
settlement: SettlementInfo
|
|
1009
|
+
transferLegId: string
|
|
1010
|
+
transferLeg: TransferLeg
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
declare const AllocationSpecification: damlTypes.Serializable<AllocationSpecification> & {}
|
|
1014
|
+
|
|
1015
|
+
declare type TransferLeg = {
|
|
1016
|
+
sender: damlTypes.Party
|
|
1017
|
+
receiver: damlTypes.Party
|
|
1018
|
+
amount: damlTypes.Numeric
|
|
1019
|
+
instrumentId: InstrumentId
|
|
1020
|
+
meta: Metadata
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
declare const TransferLeg: damlTypes.Serializable<TransferLeg> & {}
|
|
1024
|
+
|
|
1025
|
+
declare type SettlementInfo = {
|
|
1026
|
+
executor: damlTypes.Party
|
|
1027
|
+
settlementRef: Reference
|
|
1028
|
+
requestedAt: damlTypes.Time
|
|
1029
|
+
allocateBefore: damlTypes.Time
|
|
1030
|
+
settleBefore: damlTypes.Time
|
|
1031
|
+
meta: Metadata
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
declare const SettlementInfo: damlTypes.Serializable<SettlementInfo> & {}
|
|
1035
|
+
|
|
1036
|
+
declare type Reference = {
|
|
1037
|
+
id: string
|
|
1038
|
+
cid: damlTypes.Optional<
|
|
1039
|
+
damlTypes.ContractId<AnyContract>
|
|
1040
|
+
>
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
declare const Reference: damlTypes.Serializable<Reference> & {}
|
|
1044
|
+
|
|
1045
|
+
// Generated from Splice/Api/Token/AllocationInstructionV1.daml
|
|
1046
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
1047
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1048
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1049
|
+
|
|
1050
|
+
declare interface AllocationFactoryInterface {
|
|
1051
|
+
Archive: damlTypes.Choice<
|
|
1052
|
+
AllocationFactory,
|
|
1053
|
+
Archive,
|
|
1054
|
+
{},
|
|
1055
|
+
undefined
|
|
1056
|
+
> &
|
|
1057
|
+
damlTypes.ChoiceFrom<
|
|
1058
|
+
damlTypes.InterfaceCompanion<AllocationFactory, undefined>
|
|
1059
|
+
>
|
|
1060
|
+
AllocationFactory_Allocate: damlTypes.Choice<
|
|
1061
|
+
AllocationFactory,
|
|
1062
|
+
AllocationFactory_Allocate,
|
|
1063
|
+
AllocationInstructionResult,
|
|
1064
|
+
undefined
|
|
1065
|
+
> &
|
|
1066
|
+
damlTypes.ChoiceFrom<
|
|
1067
|
+
damlTypes.InterfaceCompanion<AllocationFactory, undefined>
|
|
1068
|
+
>
|
|
1069
|
+
AllocationFactory_PublicFetch: damlTypes.Choice<
|
|
1070
|
+
AllocationFactory,
|
|
1071
|
+
AllocationFactory_PublicFetch,
|
|
1072
|
+
AllocationFactoryView,
|
|
1073
|
+
undefined
|
|
1074
|
+
> &
|
|
1075
|
+
damlTypes.ChoiceFrom<
|
|
1076
|
+
damlTypes.InterfaceCompanion<AllocationFactory, undefined>
|
|
1077
|
+
>
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
declare type AllocationFactory =
|
|
1081
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> &
|
|
1082
|
+
AllocationFactoryView
|
|
1083
|
+
declare const AllocationFactory: damlTypes.InterfaceCompanion<
|
|
1084
|
+
AllocationFactory,
|
|
1085
|
+
undefined,
|
|
1086
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'
|
|
1087
|
+
> &
|
|
1088
|
+
damlTypes.FromTemplate<AllocationFactory, unknown> &
|
|
1089
|
+
AllocationFactoryInterface
|
|
1090
|
+
declare interface AllocationInstructionInterface {
|
|
1091
|
+
Archive: damlTypes.Choice<
|
|
1092
|
+
AllocationInstruction,
|
|
1093
|
+
Archive,
|
|
1094
|
+
{},
|
|
1095
|
+
undefined
|
|
1096
|
+
> &
|
|
1097
|
+
damlTypes.ChoiceFrom<
|
|
1098
|
+
damlTypes.InterfaceCompanion<AllocationInstruction, undefined>
|
|
1099
|
+
>
|
|
1100
|
+
AllocationInstruction_Withdraw: damlTypes.Choice<
|
|
1101
|
+
AllocationInstruction,
|
|
1102
|
+
AllocationInstruction_Withdraw,
|
|
1103
|
+
AllocationInstructionResult,
|
|
1104
|
+
undefined
|
|
1105
|
+
> &
|
|
1106
|
+
damlTypes.ChoiceFrom<
|
|
1107
|
+
damlTypes.InterfaceCompanion<AllocationInstruction, undefined>
|
|
1108
|
+
>
|
|
1109
|
+
AllocationInstruction_Update: damlTypes.Choice<
|
|
1110
|
+
AllocationInstruction,
|
|
1111
|
+
AllocationInstruction_Update,
|
|
1112
|
+
AllocationInstructionResult,
|
|
1113
|
+
undefined
|
|
1114
|
+
> &
|
|
1115
|
+
damlTypes.ChoiceFrom<
|
|
1116
|
+
damlTypes.InterfaceCompanion<AllocationInstruction, undefined>
|
|
1117
|
+
>
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
declare type AllocationInstruction =
|
|
1121
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> &
|
|
1122
|
+
AllocationInstructionView
|
|
1123
|
+
declare const AllocationInstruction: damlTypes.InterfaceCompanion<
|
|
1124
|
+
AllocationInstruction,
|
|
1125
|
+
undefined,
|
|
1126
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'
|
|
1127
|
+
> &
|
|
1128
|
+
damlTypes.FromTemplate<AllocationInstruction, unknown> &
|
|
1129
|
+
AllocationInstructionInterface
|
|
1130
|
+
|
|
1131
|
+
declare type AllocationInstructionResult_Output =
|
|
1132
|
+
| {
|
|
1133
|
+
tag: 'AllocationInstructionResult_Pending'
|
|
1134
|
+
value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending
|
|
1135
|
+
}
|
|
1136
|
+
| {
|
|
1137
|
+
tag: 'AllocationInstructionResult_Completed'
|
|
1138
|
+
value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed
|
|
1139
|
+
}
|
|
1140
|
+
| { tag: 'AllocationInstructionResult_Failed'; value: {} }
|
|
1141
|
+
|
|
1142
|
+
declare const AllocationInstructionResult_Output: damlTypes.Serializable<AllocationInstructionResult_Output> & {
|
|
1143
|
+
AllocationInstructionResult_Pending: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Pending>
|
|
1144
|
+
AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
declare namespace AllocationInstructionResult_Output {
|
|
1148
|
+
type AllocationInstructionResult_Pending = {
|
|
1149
|
+
allocationInstructionCid: damlTypes.ContractId<AllocationInstruction>
|
|
1150
|
+
}
|
|
1151
|
+
} //namespace AllocationInstructionResult_Output
|
|
1152
|
+
|
|
1153
|
+
declare namespace AllocationInstructionResult_Output {
|
|
1154
|
+
type AllocationInstructionResult_Completed = {
|
|
1155
|
+
allocationCid: damlTypes.ContractId<Allocation>
|
|
1156
|
+
}
|
|
1157
|
+
} //namespace AllocationInstructionResult_Output
|
|
1158
|
+
|
|
1159
|
+
declare type AllocationInstructionResult = {
|
|
1160
|
+
output: AllocationInstructionResult_Output
|
|
1161
|
+
senderChangeCids: damlTypes.ContractId<Holding>[]
|
|
1162
|
+
meta: Metadata
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
declare const AllocationInstructionResult: damlTypes.Serializable<AllocationInstructionResult> & {}
|
|
1166
|
+
|
|
1167
|
+
declare type AllocationFactory_PublicFetch = {
|
|
1168
|
+
expectedAdmin: damlTypes.Party
|
|
1169
|
+
actor: damlTypes.Party
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
declare const AllocationFactory_PublicFetch: damlTypes.Serializable<AllocationFactory_PublicFetch> & {}
|
|
1173
|
+
|
|
1174
|
+
declare type AllocationFactory_Allocate = {
|
|
1175
|
+
expectedAdmin: damlTypes.Party
|
|
1176
|
+
allocation: AllocationSpecification
|
|
1177
|
+
requestedAt: damlTypes.Time
|
|
1178
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[]
|
|
1179
|
+
extraArgs: ExtraArgs
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
declare const AllocationFactory_Allocate: damlTypes.Serializable<AllocationFactory_Allocate> & {}
|
|
1183
|
+
|
|
1184
|
+
declare type AllocationFactoryView = {
|
|
1185
|
+
admin: damlTypes.Party
|
|
1186
|
+
meta: Metadata
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
declare const AllocationFactoryView: damlTypes.Serializable<AllocationFactoryView> & {}
|
|
1190
|
+
|
|
1191
|
+
declare type AllocationInstruction_Update = {
|
|
1192
|
+
extraActors: damlTypes.Party[]
|
|
1193
|
+
extraArgs: ExtraArgs
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
declare const AllocationInstruction_Update: damlTypes.Serializable<AllocationInstruction_Update> & {}
|
|
1197
|
+
|
|
1198
|
+
declare type AllocationInstruction_Withdraw = {
|
|
1199
|
+
extraArgs: ExtraArgs
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
declare const AllocationInstruction_Withdraw: damlTypes.Serializable<AllocationInstruction_Withdraw> & {}
|
|
1203
|
+
|
|
1204
|
+
declare type AllocationInstructionView = {
|
|
1205
|
+
originalInstructionCid: damlTypes.Optional<
|
|
1206
|
+
damlTypes.ContractId<AllocationInstruction>
|
|
1207
|
+
>
|
|
1208
|
+
allocation: AllocationSpecification
|
|
1209
|
+
pendingActions: damlTypes.Map<damlTypes.Party, string>
|
|
1210
|
+
requestedAt: damlTypes.Time
|
|
1211
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[]
|
|
1212
|
+
meta: Metadata
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
declare const AllocationInstructionView: damlTypes.Serializable<AllocationInstructionView> & {}
|
|
1216
|
+
|
|
1217
|
+
declare const index_d$8_AllocationFactory: typeof AllocationFactory;
|
|
1218
|
+
type index_d$8_AllocationFactoryInterface = AllocationFactoryInterface;
|
|
1219
|
+
declare const index_d$8_AllocationFactoryView: typeof AllocationFactoryView;
|
|
1220
|
+
declare const index_d$8_AllocationFactory_Allocate: typeof AllocationFactory_Allocate;
|
|
1221
|
+
declare const index_d$8_AllocationFactory_PublicFetch: typeof AllocationFactory_PublicFetch;
|
|
1222
|
+
declare const index_d$8_AllocationInstruction: typeof AllocationInstruction;
|
|
1223
|
+
type index_d$8_AllocationInstructionInterface = AllocationInstructionInterface;
|
|
1224
|
+
declare const index_d$8_AllocationInstructionResult: typeof AllocationInstructionResult;
|
|
1225
|
+
import index_d$8_AllocationInstructionResult_Output = AllocationInstructionResult_Output;
|
|
1226
|
+
declare const index_d$8_AllocationInstructionView: typeof AllocationInstructionView;
|
|
1227
|
+
declare const index_d$8_AllocationInstruction_Update: typeof AllocationInstruction_Update;
|
|
1228
|
+
declare const index_d$8_AllocationInstruction_Withdraw: typeof AllocationInstruction_Withdraw;
|
|
1229
|
+
declare namespace index_d$8 {
|
|
1230
|
+
export { index_d$8_AllocationFactory as AllocationFactory, index_d$8_AllocationFactoryView as AllocationFactoryView, index_d$8_AllocationFactory_Allocate as AllocationFactory_Allocate, index_d$8_AllocationFactory_PublicFetch as AllocationFactory_PublicFetch, index_d$8_AllocationInstruction as AllocationInstruction, index_d$8_AllocationInstructionResult as AllocationInstructionResult, index_d$8_AllocationInstructionResult_Output as AllocationInstructionResult_Output, index_d$8_AllocationInstructionView as AllocationInstructionView, index_d$8_AllocationInstruction_Update as AllocationInstruction_Update, index_d$8_AllocationInstruction_Withdraw as AllocationInstruction_Withdraw };
|
|
1231
|
+
export type { index_d$8_AllocationFactoryInterface as AllocationFactoryInterface, index_d$8_AllocationInstructionInterface as AllocationInstructionInterface };
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
// Generated from Splice/Api/Token/AllocationRequestV1.daml
|
|
1235
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
1236
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1237
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1238
|
+
|
|
1239
|
+
declare interface AllocationRequestInterface {
|
|
1240
|
+
Archive: damlTypes.Choice<
|
|
1241
|
+
AllocationRequest,
|
|
1242
|
+
Archive,
|
|
1243
|
+
{},
|
|
1244
|
+
undefined
|
|
1245
|
+
> &
|
|
1246
|
+
damlTypes.ChoiceFrom<
|
|
1247
|
+
damlTypes.InterfaceCompanion<AllocationRequest, undefined>
|
|
1248
|
+
>
|
|
1249
|
+
AllocationRequest_Reject: damlTypes.Choice<
|
|
1250
|
+
AllocationRequest,
|
|
1251
|
+
AllocationRequest_Reject,
|
|
1252
|
+
ChoiceExecutionMetadata,
|
|
1253
|
+
undefined
|
|
1254
|
+
> &
|
|
1255
|
+
damlTypes.ChoiceFrom<
|
|
1256
|
+
damlTypes.InterfaceCompanion<AllocationRequest, undefined>
|
|
1257
|
+
>
|
|
1258
|
+
AllocationRequest_Withdraw: damlTypes.Choice<
|
|
1259
|
+
AllocationRequest,
|
|
1260
|
+
AllocationRequest_Withdraw,
|
|
1261
|
+
ChoiceExecutionMetadata,
|
|
1262
|
+
undefined
|
|
1263
|
+
> &
|
|
1264
|
+
damlTypes.ChoiceFrom<
|
|
1265
|
+
damlTypes.InterfaceCompanion<AllocationRequest, undefined>
|
|
1266
|
+
>
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare type AllocationRequest =
|
|
1270
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> &
|
|
1271
|
+
AllocationRequestView
|
|
1272
|
+
declare const AllocationRequest: damlTypes.InterfaceCompanion<
|
|
1273
|
+
AllocationRequest,
|
|
1274
|
+
undefined,
|
|
1275
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.AllocationRequestV1:AllocationRequest'
|
|
1276
|
+
> &
|
|
1277
|
+
damlTypes.FromTemplate<AllocationRequest, unknown> &
|
|
1278
|
+
AllocationRequestInterface
|
|
1279
|
+
|
|
1280
|
+
declare type AllocationRequestView = {
|
|
1281
|
+
settlement: SettlementInfo
|
|
1282
|
+
transferLegs: { [key: string]: TransferLeg }
|
|
1283
|
+
meta: Metadata
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
declare const AllocationRequestView: damlTypes.Serializable<AllocationRequestView> & {}
|
|
1287
|
+
|
|
1288
|
+
declare type AllocationRequest_Withdraw = {
|
|
1289
|
+
extraArgs: ExtraArgs
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
declare const AllocationRequest_Withdraw: damlTypes.Serializable<AllocationRequest_Withdraw> & {}
|
|
1293
|
+
|
|
1294
|
+
declare type AllocationRequest_Reject = {
|
|
1295
|
+
actor: damlTypes.Party
|
|
1296
|
+
extraArgs: ExtraArgs
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
declare const AllocationRequest_Reject: damlTypes.Serializable<AllocationRequest_Reject> & {}
|
|
1300
|
+
|
|
1301
|
+
declare const index_d$7_AllocationRequest: typeof AllocationRequest;
|
|
1302
|
+
type index_d$7_AllocationRequestInterface = AllocationRequestInterface;
|
|
1303
|
+
declare const index_d$7_AllocationRequestView: typeof AllocationRequestView;
|
|
1304
|
+
declare const index_d$7_AllocationRequest_Reject: typeof AllocationRequest_Reject;
|
|
1305
|
+
declare const index_d$7_AllocationRequest_Withdraw: typeof AllocationRequest_Withdraw;
|
|
1306
|
+
declare namespace index_d$7 {
|
|
1307
|
+
export { index_d$7_AllocationRequest as AllocationRequest, index_d$7_AllocationRequestView as AllocationRequestView, index_d$7_AllocationRequest_Reject as AllocationRequest_Reject, index_d$7_AllocationRequest_Withdraw as AllocationRequest_Withdraw };
|
|
1308
|
+
export type { index_d$7_AllocationRequestInterface as AllocationRequestInterface };
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
declare const index_d$6_Allocation: typeof Allocation;
|
|
1312
|
+
type index_d$6_AllocationInterface = AllocationInterface;
|
|
1313
|
+
declare const index_d$6_AllocationSpecification: typeof AllocationSpecification;
|
|
1314
|
+
declare const index_d$6_AllocationView: typeof AllocationView;
|
|
1315
|
+
declare const index_d$6_Allocation_Cancel: typeof Allocation_Cancel;
|
|
1316
|
+
declare const index_d$6_Allocation_CancelResult: typeof Allocation_CancelResult;
|
|
1317
|
+
declare const index_d$6_Allocation_ExecuteTransfer: typeof Allocation_ExecuteTransfer;
|
|
1318
|
+
declare const index_d$6_Allocation_ExecuteTransferResult: typeof Allocation_ExecuteTransferResult;
|
|
1319
|
+
declare const index_d$6_Allocation_Withdraw: typeof Allocation_Withdraw;
|
|
1320
|
+
declare const index_d$6_Allocation_WithdrawResult: typeof Allocation_WithdrawResult;
|
|
1321
|
+
declare const index_d$6_Reference: typeof Reference;
|
|
1322
|
+
declare const index_d$6_SettlementInfo: typeof SettlementInfo;
|
|
1323
|
+
declare const index_d$6_TransferLeg: typeof TransferLeg;
|
|
1324
|
+
declare namespace index_d$6 {
|
|
1325
|
+
export { index_d$6_Allocation as Allocation, index_d$6_AllocationSpecification as AllocationSpecification, index_d$6_AllocationView as AllocationView, index_d$6_Allocation_Cancel as Allocation_Cancel, index_d$6_Allocation_CancelResult as Allocation_CancelResult, index_d$6_Allocation_ExecuteTransfer as Allocation_ExecuteTransfer, index_d$6_Allocation_ExecuteTransferResult as Allocation_ExecuteTransferResult, index_d$6_Allocation_Withdraw as Allocation_Withdraw, index_d$6_Allocation_WithdrawResult as Allocation_WithdrawResult, index_d$6_Reference as Reference, index_d$6_SettlementInfo as SettlementInfo, index_d$6_TransferLeg as TransferLeg };
|
|
1326
|
+
export type { index_d$6_AllocationInterface as AllocationInterface };
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
declare const index_d$5_Holding: typeof Holding;
|
|
1330
|
+
type index_d$5_HoldingInterface = HoldingInterface;
|
|
1331
|
+
declare const index_d$5_HoldingView: typeof HoldingView;
|
|
1332
|
+
declare const index_d$5_InstrumentId: typeof InstrumentId;
|
|
1333
|
+
declare const index_d$5_Lock: typeof Lock;
|
|
1334
|
+
declare namespace index_d$5 {
|
|
1335
|
+
export { index_d$5_Holding as Holding, index_d$5_HoldingView as HoldingView, index_d$5_InstrumentId as InstrumentId, index_d$5_Lock as Lock };
|
|
1336
|
+
export type { index_d$5_HoldingInterface as HoldingInterface };
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
declare const index_d$4_AnyContract: typeof AnyContract;
|
|
1340
|
+
type index_d$4_AnyContractInterface = AnyContractInterface;
|
|
1341
|
+
declare const index_d$4_AnyContractView: typeof AnyContractView;
|
|
1342
|
+
declare const index_d$4_AnyValue: typeof AnyValue;
|
|
1343
|
+
declare const index_d$4_ChoiceContext: typeof ChoiceContext;
|
|
1344
|
+
declare const index_d$4_ChoiceExecutionMetadata: typeof ChoiceExecutionMetadata;
|
|
1345
|
+
declare const index_d$4_ExtraArgs: typeof ExtraArgs;
|
|
1346
|
+
declare const index_d$4_Metadata: typeof Metadata;
|
|
1347
|
+
declare namespace index_d$4 {
|
|
1348
|
+
export { index_d$4_AnyContract as AnyContract, index_d$4_AnyContractView as AnyContractView, index_d$4_AnyValue as AnyValue, index_d$4_ChoiceContext as ChoiceContext, index_d$4_ChoiceExecutionMetadata as ChoiceExecutionMetadata, index_d$4_ExtraArgs as ExtraArgs, index_d$4_Metadata as Metadata };
|
|
1349
|
+
export type { index_d$4_AnyContractInterface as AnyContractInterface };
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
// Generated from Splice/Api/Token/TransferInstructionV1.daml
|
|
1353
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
1354
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1355
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1356
|
+
|
|
1357
|
+
declare interface TransferFactoryInterface {
|
|
1358
|
+
Archive: damlTypes.Choice<
|
|
1359
|
+
TransferFactory,
|
|
1360
|
+
Archive,
|
|
1361
|
+
{},
|
|
1362
|
+
undefined
|
|
1363
|
+
> &
|
|
1364
|
+
damlTypes.ChoiceFrom<
|
|
1365
|
+
damlTypes.InterfaceCompanion<TransferFactory, undefined>
|
|
1366
|
+
>
|
|
1367
|
+
TransferFactory_Transfer: damlTypes.Choice<
|
|
1368
|
+
TransferFactory,
|
|
1369
|
+
TransferFactory_Transfer,
|
|
1370
|
+
TransferInstructionResult,
|
|
1371
|
+
undefined
|
|
1372
|
+
> &
|
|
1373
|
+
damlTypes.ChoiceFrom<
|
|
1374
|
+
damlTypes.InterfaceCompanion<TransferFactory, undefined>
|
|
1375
|
+
>
|
|
1376
|
+
TransferFactory_PublicFetch: damlTypes.Choice<
|
|
1377
|
+
TransferFactory,
|
|
1378
|
+
TransferFactory_PublicFetch,
|
|
1379
|
+
TransferFactoryView,
|
|
1380
|
+
undefined
|
|
1381
|
+
> &
|
|
1382
|
+
damlTypes.ChoiceFrom<
|
|
1383
|
+
damlTypes.InterfaceCompanion<TransferFactory, undefined>
|
|
1384
|
+
>
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
declare type TransferFactory =
|
|
1388
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.TransferInstructionV1:TransferFactory'> &
|
|
1389
|
+
TransferFactoryView
|
|
1390
|
+
declare const TransferFactory: damlTypes.InterfaceCompanion<
|
|
1391
|
+
TransferFactory,
|
|
1392
|
+
undefined,
|
|
1393
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.TransferInstructionV1:TransferFactory'
|
|
1394
|
+
> &
|
|
1395
|
+
damlTypes.FromTemplate<TransferFactory, unknown> &
|
|
1396
|
+
TransferFactoryInterface
|
|
1397
|
+
declare interface TransferInstructionInterface {
|
|
1398
|
+
Archive: damlTypes.Choice<
|
|
1399
|
+
TransferInstruction,
|
|
1400
|
+
Archive,
|
|
1401
|
+
{},
|
|
1402
|
+
undefined
|
|
1403
|
+
> &
|
|
1404
|
+
damlTypes.ChoiceFrom<
|
|
1405
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1406
|
+
>
|
|
1407
|
+
TransferInstruction_Accept: damlTypes.Choice<
|
|
1408
|
+
TransferInstruction,
|
|
1409
|
+
TransferInstruction_Accept,
|
|
1410
|
+
TransferInstructionResult,
|
|
1411
|
+
undefined
|
|
1412
|
+
> &
|
|
1413
|
+
damlTypes.ChoiceFrom<
|
|
1414
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1415
|
+
>
|
|
1416
|
+
TransferInstruction_Reject: damlTypes.Choice<
|
|
1417
|
+
TransferInstruction,
|
|
1418
|
+
TransferInstruction_Reject,
|
|
1419
|
+
TransferInstructionResult,
|
|
1420
|
+
undefined
|
|
1421
|
+
> &
|
|
1422
|
+
damlTypes.ChoiceFrom<
|
|
1423
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1424
|
+
>
|
|
1425
|
+
TransferInstruction_Withdraw: damlTypes.Choice<
|
|
1426
|
+
TransferInstruction,
|
|
1427
|
+
TransferInstruction_Withdraw,
|
|
1428
|
+
TransferInstructionResult,
|
|
1429
|
+
undefined
|
|
1430
|
+
> &
|
|
1431
|
+
damlTypes.ChoiceFrom<
|
|
1432
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1433
|
+
>
|
|
1434
|
+
TransferInstruction_Update: damlTypes.Choice<
|
|
1435
|
+
TransferInstruction,
|
|
1436
|
+
TransferInstruction_Update,
|
|
1437
|
+
TransferInstructionResult,
|
|
1438
|
+
undefined
|
|
1439
|
+
> &
|
|
1440
|
+
damlTypes.ChoiceFrom<
|
|
1441
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1442
|
+
>
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
declare type TransferInstruction =
|
|
1446
|
+
damlTypes.Interface<'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> &
|
|
1447
|
+
TransferInstructionView
|
|
1448
|
+
declare const TransferInstruction: damlTypes.InterfaceCompanion<
|
|
1449
|
+
TransferInstruction,
|
|
1450
|
+
undefined,
|
|
1451
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c:Splice.Api.Token.TransferInstructionV1:TransferInstruction'
|
|
1452
|
+
> &
|
|
1453
|
+
damlTypes.FromTemplate<TransferInstruction, unknown> &
|
|
1454
|
+
TransferInstructionInterface
|
|
1455
|
+
|
|
1456
|
+
declare type TransferFactoryView = {
|
|
1457
|
+
admin: damlTypes.Party
|
|
1458
|
+
meta: Metadata
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
declare const TransferFactoryView: damlTypes.Serializable<TransferFactoryView> & {}
|
|
1462
|
+
|
|
1463
|
+
declare type TransferFactory_PublicFetch = {
|
|
1464
|
+
expectedAdmin: damlTypes.Party
|
|
1465
|
+
actor: damlTypes.Party
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
declare const TransferFactory_PublicFetch: damlTypes.Serializable<TransferFactory_PublicFetch> & {}
|
|
1469
|
+
|
|
1470
|
+
declare type TransferFactory_Transfer = {
|
|
1471
|
+
expectedAdmin: damlTypes.Party
|
|
1472
|
+
transfer: Transfer
|
|
1473
|
+
extraArgs: ExtraArgs
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
declare const TransferFactory_Transfer: damlTypes.Serializable<TransferFactory_Transfer> & {}
|
|
1477
|
+
|
|
1478
|
+
declare type TransferInstruction_Update = {
|
|
1479
|
+
extraActors: damlTypes.Party[]
|
|
1480
|
+
extraArgs: ExtraArgs
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
declare const TransferInstruction_Update: damlTypes.Serializable<TransferInstruction_Update> & {}
|
|
1484
|
+
|
|
1485
|
+
declare type TransferInstruction_Withdraw = {
|
|
1486
|
+
extraArgs: ExtraArgs
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
declare const TransferInstruction_Withdraw: damlTypes.Serializable<TransferInstruction_Withdraw> & {}
|
|
1490
|
+
|
|
1491
|
+
declare type TransferInstruction_Reject = {
|
|
1492
|
+
extraArgs: ExtraArgs
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
declare const TransferInstruction_Reject: damlTypes.Serializable<TransferInstruction_Reject> & {}
|
|
1496
|
+
|
|
1497
|
+
declare type TransferInstruction_Accept = {
|
|
1498
|
+
extraArgs: ExtraArgs
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
declare const TransferInstruction_Accept: damlTypes.Serializable<TransferInstruction_Accept> & {}
|
|
1502
|
+
|
|
1503
|
+
declare type TransferInstructionView = {
|
|
1504
|
+
originalInstructionCid: damlTypes.Optional<
|
|
1505
|
+
damlTypes.ContractId<TransferInstruction>
|
|
1506
|
+
>
|
|
1507
|
+
transfer: Transfer
|
|
1508
|
+
status: TransferInstructionStatus
|
|
1509
|
+
meta: Metadata
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
declare const TransferInstructionView: damlTypes.Serializable<TransferInstructionView> & {}
|
|
1513
|
+
|
|
1514
|
+
declare type TransferInstructionStatus =
|
|
1515
|
+
| { tag: 'TransferPendingReceiverAcceptance'; value: {} }
|
|
1516
|
+
| {
|
|
1517
|
+
tag: 'TransferPendingInternalWorkflow'
|
|
1518
|
+
value: TransferInstructionStatus.TransferPendingInternalWorkflow
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
declare const TransferInstructionStatus: damlTypes.Serializable<TransferInstructionStatus> & {
|
|
1522
|
+
TransferPendingInternalWorkflow: damlTypes.Serializable<TransferInstructionStatus.TransferPendingInternalWorkflow>
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
declare namespace TransferInstructionStatus {
|
|
1526
|
+
type TransferPendingInternalWorkflow = {
|
|
1527
|
+
pendingActions: damlTypes.Map<damlTypes.Party, string>
|
|
1528
|
+
}
|
|
1529
|
+
} //namespace TransferInstructionStatus
|
|
1530
|
+
|
|
1531
|
+
declare type TransferInstructionResult_Output =
|
|
1532
|
+
| {
|
|
1533
|
+
tag: 'TransferInstructionResult_Pending'
|
|
1534
|
+
value: TransferInstructionResult_Output.TransferInstructionResult_Pending
|
|
1535
|
+
}
|
|
1536
|
+
| {
|
|
1537
|
+
tag: 'TransferInstructionResult_Completed'
|
|
1538
|
+
value: TransferInstructionResult_Output.TransferInstructionResult_Completed
|
|
1539
|
+
}
|
|
1540
|
+
| { tag: 'TransferInstructionResult_Failed'; value: {} }
|
|
1541
|
+
|
|
1542
|
+
declare const TransferInstructionResult_Output: damlTypes.Serializable<TransferInstructionResult_Output> & {
|
|
1543
|
+
TransferInstructionResult_Pending: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Pending>
|
|
1544
|
+
TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
declare namespace TransferInstructionResult_Output {
|
|
1548
|
+
type TransferInstructionResult_Pending = {
|
|
1549
|
+
transferInstructionCid: damlTypes.ContractId<TransferInstruction>
|
|
1550
|
+
}
|
|
1551
|
+
} //namespace TransferInstructionResult_Output
|
|
1552
|
+
|
|
1553
|
+
declare namespace TransferInstructionResult_Output {
|
|
1554
|
+
type TransferInstructionResult_Completed = {
|
|
1555
|
+
receiverHoldingCids: damlTypes.ContractId<Holding>[]
|
|
1556
|
+
}
|
|
1557
|
+
} //namespace TransferInstructionResult_Output
|
|
1558
|
+
|
|
1559
|
+
declare type TransferInstructionResult = {
|
|
1560
|
+
output: TransferInstructionResult_Output
|
|
1561
|
+
senderChangeCids: damlTypes.ContractId<Holding>[]
|
|
1562
|
+
meta: Metadata
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
declare const TransferInstructionResult: damlTypes.Serializable<TransferInstructionResult> & {}
|
|
1566
|
+
|
|
1567
|
+
declare type Transfer = {
|
|
1568
|
+
sender: damlTypes.Party
|
|
1569
|
+
receiver: damlTypes.Party
|
|
1570
|
+
amount: damlTypes.Numeric
|
|
1571
|
+
instrumentId: InstrumentId
|
|
1572
|
+
requestedAt: damlTypes.Time
|
|
1573
|
+
executeBefore: damlTypes.Time
|
|
1574
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[]
|
|
1575
|
+
meta: Metadata
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
declare const Transfer: damlTypes.Serializable<Transfer> & {}
|
|
1579
|
+
|
|
1580
|
+
declare const index_d$3_Transfer: typeof Transfer;
|
|
1581
|
+
declare const index_d$3_TransferFactory: typeof TransferFactory;
|
|
1582
|
+
type index_d$3_TransferFactoryInterface = TransferFactoryInterface;
|
|
1583
|
+
declare const index_d$3_TransferFactoryView: typeof TransferFactoryView;
|
|
1584
|
+
declare const index_d$3_TransferFactory_PublicFetch: typeof TransferFactory_PublicFetch;
|
|
1585
|
+
declare const index_d$3_TransferFactory_Transfer: typeof TransferFactory_Transfer;
|
|
1586
|
+
declare const index_d$3_TransferInstruction: typeof TransferInstruction;
|
|
1587
|
+
type index_d$3_TransferInstructionInterface = TransferInstructionInterface;
|
|
1588
|
+
declare const index_d$3_TransferInstructionResult: typeof TransferInstructionResult;
|
|
1589
|
+
import index_d$3_TransferInstructionResult_Output = TransferInstructionResult_Output;
|
|
1590
|
+
import index_d$3_TransferInstructionStatus = TransferInstructionStatus;
|
|
1591
|
+
declare const index_d$3_TransferInstructionView: typeof TransferInstructionView;
|
|
1592
|
+
declare const index_d$3_TransferInstruction_Accept: typeof TransferInstruction_Accept;
|
|
1593
|
+
declare const index_d$3_TransferInstruction_Reject: typeof TransferInstruction_Reject;
|
|
1594
|
+
declare const index_d$3_TransferInstruction_Update: typeof TransferInstruction_Update;
|
|
1595
|
+
declare const index_d$3_TransferInstruction_Withdraw: typeof TransferInstruction_Withdraw;
|
|
1596
|
+
declare namespace index_d$3 {
|
|
1597
|
+
export { index_d$3_Transfer as Transfer, index_d$3_TransferFactory as TransferFactory, index_d$3_TransferFactoryView as TransferFactoryView, index_d$3_TransferFactory_PublicFetch as TransferFactory_PublicFetch, index_d$3_TransferFactory_Transfer as TransferFactory_Transfer, index_d$3_TransferInstruction as TransferInstruction, index_d$3_TransferInstructionResult as TransferInstructionResult, index_d$3_TransferInstructionResult_Output as TransferInstructionResult_Output, index_d$3_TransferInstructionStatus as TransferInstructionStatus, index_d$3_TransferInstructionView as TransferInstructionView, index_d$3_TransferInstruction_Accept as TransferInstruction_Accept, index_d$3_TransferInstruction_Reject as TransferInstruction_Reject, index_d$3_TransferInstruction_Update as TransferInstruction_Update, index_d$3_TransferInstruction_Withdraw as TransferInstruction_Withdraw };
|
|
1598
|
+
export type { index_d$3_TransferFactoryInterface as TransferFactoryInterface, index_d$3_TransferInstructionInterface as TransferInstructionInterface };
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
declare namespace index_d$2 {
|
|
1602
|
+
export {
|
|
1603
|
+
index_d$8 as AllocationInstructionV1,
|
|
1604
|
+
index_d$7 as AllocationRequestV1,
|
|
1605
|
+
index_d$6 as AllocationV1,
|
|
1606
|
+
index_d$5 as HoldingV1,
|
|
1607
|
+
index_d$4 as MetadataV1,
|
|
1608
|
+
index_d$3 as TransferInstructionV1,
|
|
1609
|
+
};
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
declare namespace index_d$1 {
|
|
1613
|
+
export {
|
|
1614
|
+
index_d$2 as Token,
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
declare namespace index_d {
|
|
1619
|
+
export {
|
|
1620
|
+
index_d$1 as Api,
|
|
1621
|
+
};
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
declare const packageId =
|
|
1625
|
+
'a132be8b23c8515da6c828dd97519a73d9c8b1aa6f9cddd3c7acc206e4b41f8c'
|
|
1626
|
+
|
|
1627
|
+
declare const TransferInstructionV1: typeof index_d$3;
|
|
1628
|
+
declare const AllocationInstructionV1: typeof index_d$8;
|
|
1629
|
+
declare const AllocationRequestV1: typeof index_d$7;
|
|
1630
|
+
declare const AllocationV1: typeof index_d$6;
|
|
1631
|
+
declare const HoldingV1: typeof index_d$5;
|
|
1632
|
+
declare const MetadataV1: typeof index_d$4;
|
|
1633
|
+
|
|
1634
|
+
type Beneficiaries = {
|
|
1635
|
+
beneficiary: PartyId;
|
|
1636
|
+
weight: number;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
export { ALLOCATION_FACTORY_INTERFACE_ID, ALLOCATION_INSTRUCTION_INTERFACE_ID, ALLOCATION_INTERFACE_ID, ALLOCATION_REQUEST_INTERFACE_ID, Allocation, AllocationFactory, AllocationFactoryView, AllocationFactory_Allocate, AllocationFactory_PublicFetch, AllocationInstruction, AllocationInstructionResult, AllocationInstructionResult_Output, AllocationInstructionV1, AllocationInstructionView, AllocationInstruction_Update, AllocationInstruction_Withdraw, AllocationRequest, AllocationRequestV1, AllocationRequestView, AllocationRequest_Reject, AllocationRequest_Withdraw, AllocationSpecification, AllocationV1, AllocationView, Allocation_Cancel, Allocation_CancelResult, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, Allocation_Withdraw, Allocation_WithdrawResult, AnyContract, AnyContractView, AnyValue, ChoiceContext, ChoiceExecutionMetadata, ExtraArgs, FEATURED_APP_DELEGATE_PROXY_INTERFACE_ID, HOLDING_INTERFACE_ID, Holding, HoldingV1, HoldingView, InstrumentId, Lock, METADATA_INTERFACE_ID, Metadata, MetadataV1, Reference, SettlementInfo, index_d as Splice, TRANSFER_FACTORY_INTERFACE_ID, TRANSFER_INSTRUCTION_INTERFACE_ID, TokenStandardClient, Transfer, TransferFactory, TransferFactoryView, TransferFactory_PublicFetch, TransferFactory_Transfer, TransferInstruction, TransferInstructionResult, TransferInstructionResult_Output, TransferInstructionStatus, TransferInstructionV1, TransferInstructionView, TransferInstruction_Accept, TransferInstruction_Reject, TransferInstruction_Update, TransferInstruction_Withdraw, TransferLeg, packageId };
|
|
1640
|
+
export type { AllocationFactoryInterface, AllocationInstructionInterface, AllocationInterface, AllocationRequestInterface, AnyContractInterface, Beneficiaries, GetResponse, HoldingInterface, PostRequest, PostResponse, TransferFactoryInterface, TransferInstructionInterface, components$2 as allocationInstructionRegistryTypes, components$3 as allocationRegistryTypes, components$1 as metadataRegistryTypes, components as transferInstructionRegistryTypes };
|