@canton-network/core-token-standard 1.13.0 → 1.15.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.browser.js +1395 -918
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +1393 -914
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +505 -613
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1395 -918
- package/dist/index.js.map +1 -1
- package/dist/interface-ids.const.d.ts.map +1 -1
- package/dist/models/Splice/Api/Token/index.d.ts +8 -0
- package/dist/models/Splice/Api/Token/index.d.ts.map +1 -0
- package/dist/models/Splice/Api/index.d.ts +3 -0
- package/dist/models/Splice/Api/index.d.ts.map +1 -0
- package/dist/models/Splice/index.d.ts +3 -0
- package/dist/models/Splice/index.d.ts.map +1 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/token-standard-client.d.ts +1 -1
- package/dist/token-standard-client.d.ts.map +1 -1
- package/dist/types.d.ts +10 -10
- package/dist/types.d.ts.map +1 -1
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Logger, PartyId } from '@canton-network/core-types';
|
|
2
1
|
import { AccessTokenProvider } from '@canton-network/core-wallet-auth';
|
|
3
2
|
import * as damlTypes from '@daml/types';
|
|
3
|
+
import { PartyId } from '@canton-network/core-types';
|
|
4
4
|
|
|
5
5
|
interface paths$4 {
|
|
6
6
|
'/registry/allocations/v1/{allocationId}/choice-contexts/execute-transfer': {
|
|
@@ -1006,6 +1006,7 @@ declare namespace transferInstructionV1 {
|
|
|
1006
1006
|
export type { transferInstructionV1_$defs as $defs, transferInstructionV1_components as components, transferInstructionV1_operations as operations, paths$1 as paths, transferInstructionV1_webhooks as webhooks };
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
+
type Logger = Pick<Console, 'debug' | 'info' | 'warn' | 'error'>;
|
|
1009
1010
|
type paths = paths$4 & paths$2 & paths$1 & paths$3;
|
|
1010
1011
|
type PostEndpoint = {
|
|
1011
1012
|
[Pathname in keyof paths]: paths[Pathname] extends {
|
|
@@ -1077,825 +1078,716 @@ declare const MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID = "#splice-util-token-standa
|
|
|
1077
1078
|
declare const MERGE_DELEGATION_TEMPLATE_ID = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:MergeDelegation";
|
|
1078
1079
|
declare const MERGE_DELEGATION_BATCH_MERGE_UTILITY = "#splice-util-token-standard-wallet:Splice.Util.Token.Wallet.MergeDelegation:BatchMergeUtility";
|
|
1079
1080
|
|
|
1080
|
-
// Generated from DA/Internal/Template.daml
|
|
1081
|
-
|
|
1082
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1083
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1081
|
+
// Generated from ../../../DA/Internal/Template/module.daml
|
|
1082
|
+
|
|
1084
1083
|
|
|
1085
1084
|
|
|
1086
1085
|
declare type Archive = {
|
|
1087
|
-
}
|
|
1086
|
+
}
|
|
1088
1087
|
|
|
1089
1088
|
declare const Archive:
|
|
1090
|
-
damlTypes.Serializable<Archive>
|
|
1091
|
-
|
|
1092
|
-
|
|
1089
|
+
damlTypes.Serializable<Archive>
|
|
1090
|
+
|
|
1091
|
+
// Generated from ../../../DA/Time/Types/module.daml
|
|
1093
1092
|
|
|
1094
|
-
// Generated from DA/Time/Types.daml
|
|
1095
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1096
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1097
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1098
1093
|
|
|
1099
1094
|
|
|
1100
1095
|
declare type RelTime = {
|
|
1101
|
-
microseconds: damlTypes.Int
|
|
1102
|
-
}
|
|
1096
|
+
microseconds: damlTypes.Int,
|
|
1097
|
+
}
|
|
1103
1098
|
|
|
1104
1099
|
declare const RelTime:
|
|
1105
|
-
damlTypes.Serializable<RelTime>
|
|
1106
|
-
|
|
1107
|
-
|
|
1100
|
+
damlTypes.Serializable<RelTime>
|
|
1101
|
+
|
|
1102
|
+
// Generated from ../../../../Splice/Api/Token/MetadataV1/module.daml
|
|
1108
1103
|
|
|
1109
|
-
// Generated from Splice/Api/Token/MetadataV1.daml
|
|
1110
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1111
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1112
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1113
1104
|
|
|
1114
1105
|
declare interface AnyContractInterface {
|
|
1115
|
-
Archive:
|
|
1106
|
+
Archive:
|
|
1107
|
+
damlTypes.Choice<AnyContract, Archive, {}, undefined> &
|
|
1108
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AnyContract, undefined>>;
|
|
1116
1109
|
}
|
|
1117
1110
|
|
|
1118
|
-
declare type AnyContract = damlTypes.Interface<'#token-
|
|
1111
|
+
declare type AnyContract = damlTypes.Interface<'#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract'> & AnyContractView
|
|
1119
1112
|
declare const AnyContract:
|
|
1120
|
-
damlTypes.InterfaceCompanion<AnyContract, undefined, '#token-
|
|
1113
|
+
damlTypes.InterfaceCompanion<AnyContract, undefined, '#splice-api-token-metadata-v1:Splice.Api.Token.MetadataV1:AnyContract'> &
|
|
1121
1114
|
damlTypes.FromTemplate<AnyContract, unknown> &
|
|
1122
|
-
AnyContractInterface
|
|
1115
|
+
AnyContractInterface
|
|
1123
1116
|
|
|
1117
|
+
declare type AnyContractView = {
|
|
1118
|
+
}
|
|
1124
1119
|
|
|
1125
|
-
declare
|
|
1126
|
-
|
|
1127
|
-
};
|
|
1128
|
-
|
|
1129
|
-
declare const ChoiceExecutionMetadata:
|
|
1130
|
-
damlTypes.Serializable<ChoiceExecutionMetadata> & {
|
|
1131
|
-
}
|
|
1132
|
-
;
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
declare type ExtraArgs = {
|
|
1136
|
-
context: ChoiceContext;
|
|
1137
|
-
meta: Metadata;
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
declare const ExtraArgs:
|
|
1141
|
-
damlTypes.Serializable<ExtraArgs> & {
|
|
1142
|
-
}
|
|
1143
|
-
;
|
|
1144
|
-
|
|
1120
|
+
declare const AnyContractView:
|
|
1121
|
+
damlTypes.Serializable<AnyContractView>
|
|
1145
1122
|
|
|
1146
|
-
declare type
|
|
1147
|
-
|
|
1148
|
-
}
|
|
1123
|
+
declare type AnyValue =
|
|
1124
|
+
| { tag: 'AV_Text'; value: string }
|
|
1125
|
+
| { tag: 'AV_Int'; value: damlTypes.Int }
|
|
1126
|
+
| { tag: 'AV_Decimal'; value: damlTypes.Numeric }
|
|
1127
|
+
| { tag: 'AV_Bool'; value: boolean }
|
|
1128
|
+
| { tag: 'AV_Date'; value: damlTypes.Date }
|
|
1129
|
+
| { tag: 'AV_Time'; value: damlTypes.Time }
|
|
1130
|
+
| { tag: 'AV_RelTime'; value: RelTime }
|
|
1131
|
+
| { tag: 'AV_Party'; value: damlTypes.Party }
|
|
1132
|
+
| { tag: 'AV_ContractId'; value: damlTypes.ContractId<AnyContract> }
|
|
1133
|
+
| { tag: 'AV_List'; value: AnyValue[] }
|
|
1134
|
+
| { tag: 'AV_Map'; value: { [key: string]: AnyValue } }
|
|
1149
1135
|
|
|
1150
|
-
declare const Metadata:
|
|
1151
|
-
damlTypes.Serializable<Metadata> & {
|
|
1152
|
-
}
|
|
1153
|
-
;
|
|
1154
1136
|
|
|
1137
|
+
declare const AnyValue:
|
|
1138
|
+
damlTypes.Serializable<AnyValue>
|
|
1155
1139
|
|
|
1156
1140
|
declare type ChoiceContext = {
|
|
1157
|
-
values: { [key: string]: AnyValue }
|
|
1158
|
-
}
|
|
1141
|
+
values: { [key: string]: AnyValue },
|
|
1142
|
+
}
|
|
1159
1143
|
|
|
1160
1144
|
declare const ChoiceContext:
|
|
1161
|
-
damlTypes.Serializable<ChoiceContext>
|
|
1162
|
-
}
|
|
1163
|
-
;
|
|
1145
|
+
damlTypes.Serializable<ChoiceContext>
|
|
1164
1146
|
|
|
1147
|
+
declare type ChoiceExecutionMetadata = {
|
|
1148
|
+
meta: Metadata,
|
|
1149
|
+
}
|
|
1165
1150
|
|
|
1166
|
-
declare
|
|
1167
|
-
|
|
1151
|
+
declare const ChoiceExecutionMetadata:
|
|
1152
|
+
damlTypes.Serializable<ChoiceExecutionMetadata>
|
|
1168
1153
|
|
|
1169
|
-
declare
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1154
|
+
declare type ExtraArgs = {
|
|
1155
|
+
context: ChoiceContext,
|
|
1156
|
+
meta: Metadata,
|
|
1157
|
+
}
|
|
1173
1158
|
|
|
1159
|
+
declare const ExtraArgs:
|
|
1160
|
+
damlTypes.Serializable<ExtraArgs>
|
|
1174
1161
|
|
|
1175
|
-
declare type
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
| { tag: 'AV_Decimal'; value: damlTypes.Numeric }
|
|
1179
|
-
| { tag: 'AV_Bool'; value: boolean }
|
|
1180
|
-
| { tag: 'AV_Date'; value: damlTypes.Date }
|
|
1181
|
-
| { tag: 'AV_Time'; value: damlTypes.Time }
|
|
1182
|
-
| { tag: 'AV_RelTime'; value: RelTime }
|
|
1183
|
-
| { tag: 'AV_Party'; value: damlTypes.Party }
|
|
1184
|
-
| { tag: 'AV_ContractId'; value: damlTypes.ContractId<AnyContract> }
|
|
1185
|
-
| { tag: 'AV_List'; value: AnyValue[] }
|
|
1186
|
-
| { tag: 'AV_Map'; value: { [key: string]: AnyValue } }
|
|
1187
|
-
;
|
|
1162
|
+
declare type Metadata = {
|
|
1163
|
+
values: { [key: string]: string },
|
|
1164
|
+
}
|
|
1188
1165
|
|
|
1189
|
-
declare const
|
|
1190
|
-
damlTypes.Serializable<
|
|
1191
|
-
|
|
1192
|
-
;
|
|
1166
|
+
declare const Metadata:
|
|
1167
|
+
damlTypes.Serializable<Metadata>
|
|
1168
|
+
|
|
1169
|
+
declare const module_d$5_AnyContract: typeof AnyContract;
|
|
1170
|
+
type module_d$5_AnyContractInterface = AnyContractInterface;
|
|
1171
|
+
declare const module_d$5_AnyContractView: typeof AnyContractView;
|
|
1172
|
+
declare const module_d$5_AnyValue: typeof AnyValue;
|
|
1173
|
+
declare const module_d$5_ChoiceContext: typeof ChoiceContext;
|
|
1174
|
+
declare const module_d$5_ChoiceExecutionMetadata: typeof ChoiceExecutionMetadata;
|
|
1175
|
+
declare const module_d$5_ExtraArgs: typeof ExtraArgs;
|
|
1176
|
+
declare const module_d$5_Metadata: typeof Metadata;
|
|
1177
|
+
declare namespace module_d$5 {
|
|
1178
|
+
export { module_d$5_AnyContract as AnyContract, module_d$5_AnyContractView as AnyContractView, module_d$5_AnyValue as AnyValue, module_d$5_ChoiceContext as ChoiceContext, module_d$5_ChoiceExecutionMetadata as ChoiceExecutionMetadata, module_d$5_ExtraArgs as ExtraArgs, module_d$5_Metadata as Metadata };
|
|
1179
|
+
export type { module_d$5_AnyContractInterface as AnyContractInterface };
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
// Generated from ../../../../Splice/Api/Token/HoldingV1/module.daml
|
|
1193
1183
|
|
|
1194
|
-
// Generated from Splice/Api/Token/HoldingV1.daml
|
|
1195
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1196
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1197
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1198
1184
|
|
|
1199
1185
|
declare interface HoldingInterface {
|
|
1200
|
-
Archive:
|
|
1186
|
+
Archive:
|
|
1187
|
+
damlTypes.Choice<Holding, Archive, {}, undefined> &
|
|
1188
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>;
|
|
1201
1189
|
}
|
|
1202
1190
|
|
|
1203
|
-
declare type Holding = damlTypes.Interface<'#token-
|
|
1191
|
+
declare type Holding = damlTypes.Interface<'#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> & HoldingView
|
|
1204
1192
|
declare const Holding:
|
|
1205
|
-
damlTypes.InterfaceCompanion<Holding, undefined, '#token-
|
|
1193
|
+
damlTypes.InterfaceCompanion<Holding, undefined, '#splice-api-token-holding-v1:Splice.Api.Token.HoldingV1:Holding'> &
|
|
1206
1194
|
damlTypes.FromTemplate<Holding, unknown> &
|
|
1207
|
-
HoldingInterface
|
|
1208
|
-
|
|
1195
|
+
HoldingInterface
|
|
1209
1196
|
|
|
1210
1197
|
declare type HoldingView = {
|
|
1211
|
-
owner: damlTypes.Party
|
|
1212
|
-
instrumentId: InstrumentId
|
|
1213
|
-
amount: damlTypes.Numeric
|
|
1214
|
-
lock: damlTypes.Optional<Lock
|
|
1215
|
-
meta: Metadata
|
|
1216
|
-
}
|
|
1198
|
+
owner: damlTypes.Party,
|
|
1199
|
+
instrumentId: InstrumentId,
|
|
1200
|
+
amount: damlTypes.Numeric,
|
|
1201
|
+
lock: damlTypes.Optional<Lock>,
|
|
1202
|
+
meta: Metadata,
|
|
1203
|
+
}
|
|
1217
1204
|
|
|
1218
1205
|
declare const HoldingView:
|
|
1219
|
-
damlTypes.Serializable<HoldingView>
|
|
1220
|
-
}
|
|
1221
|
-
;
|
|
1206
|
+
damlTypes.Serializable<HoldingView>
|
|
1222
1207
|
|
|
1208
|
+
declare type InstrumentId = {
|
|
1209
|
+
admin: damlTypes.Party,
|
|
1210
|
+
id: string,
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
declare const InstrumentId:
|
|
1214
|
+
damlTypes.Serializable<InstrumentId>
|
|
1223
1215
|
|
|
1224
1216
|
declare type Lock = {
|
|
1225
|
-
holders: damlTypes.Party[]
|
|
1226
|
-
expiresAt: damlTypes.Optional<damlTypes.Time
|
|
1227
|
-
expiresAfter: damlTypes.Optional<RelTime
|
|
1228
|
-
context: damlTypes.Optional<string
|
|
1229
|
-
}
|
|
1217
|
+
holders: damlTypes.Party[],
|
|
1218
|
+
expiresAt: damlTypes.Optional<damlTypes.Time>,
|
|
1219
|
+
expiresAfter: damlTypes.Optional<RelTime>,
|
|
1220
|
+
context: damlTypes.Optional<string>,
|
|
1221
|
+
}
|
|
1230
1222
|
|
|
1231
1223
|
declare const Lock:
|
|
1232
|
-
damlTypes.Serializable<Lock>
|
|
1233
|
-
|
|
1234
|
-
;
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
declare
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
};
|
|
1224
|
+
damlTypes.Serializable<Lock>
|
|
1225
|
+
|
|
1226
|
+
declare const module_d$4_Holding: typeof Holding;
|
|
1227
|
+
type module_d$4_HoldingInterface = HoldingInterface;
|
|
1228
|
+
declare const module_d$4_HoldingView: typeof HoldingView;
|
|
1229
|
+
declare const module_d$4_InstrumentId: typeof InstrumentId;
|
|
1230
|
+
declare const module_d$4_Lock: typeof Lock;
|
|
1231
|
+
declare namespace module_d$4 {
|
|
1232
|
+
export { module_d$4_Holding as Holding, module_d$4_HoldingView as HoldingView, module_d$4_InstrumentId as InstrumentId, module_d$4_Lock as Lock };
|
|
1233
|
+
export type { module_d$4_HoldingInterface as HoldingInterface };
|
|
1234
|
+
}
|
|
1241
1235
|
|
|
1242
|
-
|
|
1243
|
-
damlTypes.Serializable<InstrumentId> & {
|
|
1244
|
-
}
|
|
1245
|
-
;
|
|
1236
|
+
// Generated from ../../../../Splice/Api/Token/AllocationV1/module.daml
|
|
1246
1237
|
|
|
1247
|
-
// Generated from Splice/Api/Token/AllocationV1.daml
|
|
1248
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1249
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1250
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1251
1238
|
|
|
1252
1239
|
declare interface AllocationInterface {
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
Allocation_ExecuteTransfer:
|
|
1240
|
+
Allocation_Cancel:
|
|
1241
|
+
damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> &
|
|
1242
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1243
|
+
Allocation_ExecuteTransfer:
|
|
1244
|
+
damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> &
|
|
1245
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1246
|
+
Allocation_Withdraw:
|
|
1247
|
+
damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> &
|
|
1248
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1249
|
+
Archive:
|
|
1250
|
+
damlTypes.Choice<Allocation, Archive, {}, undefined> &
|
|
1251
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1257
1252
|
}
|
|
1258
1253
|
|
|
1259
|
-
declare type Allocation = damlTypes.Interface<'#token-
|
|
1254
|
+
declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView
|
|
1260
1255
|
declare const Allocation:
|
|
1261
|
-
damlTypes.InterfaceCompanion<Allocation, undefined, '#token-
|
|
1256
|
+
damlTypes.InterfaceCompanion<Allocation, undefined, '#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> &
|
|
1262
1257
|
damlTypes.FromTemplate<Allocation, unknown> &
|
|
1263
|
-
AllocationInterface
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
declare type Allocation_WithdrawResult = {
|
|
1267
|
-
senderHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1268
|
-
meta: Metadata;
|
|
1269
|
-
};
|
|
1270
|
-
|
|
1271
|
-
declare const Allocation_WithdrawResult:
|
|
1272
|
-
damlTypes.Serializable<Allocation_WithdrawResult> & {
|
|
1273
|
-
}
|
|
1274
|
-
;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
declare type Allocation_CancelResult = {
|
|
1278
|
-
senderHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1279
|
-
meta: Metadata;
|
|
1280
|
-
};
|
|
1281
|
-
|
|
1282
|
-
declare const Allocation_CancelResult:
|
|
1283
|
-
damlTypes.Serializable<Allocation_CancelResult> & {
|
|
1284
|
-
}
|
|
1285
|
-
;
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
declare type Allocation_ExecuteTransferResult = {
|
|
1289
|
-
senderHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1290
|
-
receiverHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1291
|
-
meta: Metadata;
|
|
1292
|
-
};
|
|
1293
|
-
|
|
1294
|
-
declare const Allocation_ExecuteTransferResult:
|
|
1295
|
-
damlTypes.Serializable<Allocation_ExecuteTransferResult> & {
|
|
1296
|
-
}
|
|
1297
|
-
;
|
|
1258
|
+
AllocationInterface
|
|
1298
1259
|
|
|
1260
|
+
declare type AllocationSpecification = {
|
|
1261
|
+
settlement: SettlementInfo,
|
|
1262
|
+
transferLegId: string,
|
|
1263
|
+
transferLeg: TransferLeg,
|
|
1264
|
+
}
|
|
1299
1265
|
|
|
1300
|
-
declare
|
|
1301
|
-
|
|
1302
|
-
};
|
|
1266
|
+
declare const AllocationSpecification:
|
|
1267
|
+
damlTypes.Serializable<AllocationSpecification>
|
|
1303
1268
|
|
|
1304
|
-
declare
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1269
|
+
declare type AllocationView = {
|
|
1270
|
+
allocation: AllocationSpecification,
|
|
1271
|
+
holdingCids: damlTypes.ContractId<Holding>[],
|
|
1272
|
+
meta: Metadata,
|
|
1273
|
+
}
|
|
1308
1274
|
|
|
1275
|
+
declare const AllocationView:
|
|
1276
|
+
damlTypes.Serializable<AllocationView>
|
|
1309
1277
|
|
|
1310
1278
|
declare type Allocation_Cancel = {
|
|
1311
|
-
extraArgs: ExtraArgs
|
|
1312
|
-
}
|
|
1279
|
+
extraArgs: ExtraArgs,
|
|
1280
|
+
}
|
|
1313
1281
|
|
|
1314
1282
|
declare const Allocation_Cancel:
|
|
1315
|
-
damlTypes.Serializable<Allocation_Cancel>
|
|
1316
|
-
|
|
1317
|
-
|
|
1283
|
+
damlTypes.Serializable<Allocation_Cancel>
|
|
1284
|
+
|
|
1285
|
+
declare type Allocation_CancelResult = {
|
|
1286
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1287
|
+
meta: Metadata,
|
|
1288
|
+
}
|
|
1318
1289
|
|
|
1290
|
+
declare const Allocation_CancelResult:
|
|
1291
|
+
damlTypes.Serializable<Allocation_CancelResult>
|
|
1319
1292
|
|
|
1320
1293
|
declare type Allocation_ExecuteTransfer = {
|
|
1321
|
-
extraArgs: ExtraArgs
|
|
1322
|
-
}
|
|
1294
|
+
extraArgs: ExtraArgs,
|
|
1295
|
+
}
|
|
1323
1296
|
|
|
1324
1297
|
declare const Allocation_ExecuteTransfer:
|
|
1325
|
-
damlTypes.Serializable<Allocation_ExecuteTransfer>
|
|
1326
|
-
}
|
|
1327
|
-
;
|
|
1298
|
+
damlTypes.Serializable<Allocation_ExecuteTransfer>
|
|
1328
1299
|
|
|
1300
|
+
declare type Allocation_ExecuteTransferResult = {
|
|
1301
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1302
|
+
receiverHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1303
|
+
meta: Metadata,
|
|
1304
|
+
}
|
|
1329
1305
|
|
|
1330
|
-
declare
|
|
1331
|
-
|
|
1332
|
-
holdingCids: damlTypes.ContractId<Holding>[];
|
|
1333
|
-
meta: Metadata;
|
|
1334
|
-
};
|
|
1335
|
-
|
|
1336
|
-
declare const AllocationView:
|
|
1337
|
-
damlTypes.Serializable<AllocationView> & {
|
|
1338
|
-
}
|
|
1339
|
-
;
|
|
1340
|
-
|
|
1306
|
+
declare const Allocation_ExecuteTransferResult:
|
|
1307
|
+
damlTypes.Serializable<Allocation_ExecuteTransferResult>
|
|
1341
1308
|
|
|
1342
|
-
declare type
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
transferLeg: TransferLeg;
|
|
1346
|
-
};
|
|
1309
|
+
declare type Allocation_Withdraw = {
|
|
1310
|
+
extraArgs: ExtraArgs,
|
|
1311
|
+
}
|
|
1347
1312
|
|
|
1348
|
-
declare const
|
|
1349
|
-
damlTypes.Serializable<
|
|
1350
|
-
}
|
|
1351
|
-
;
|
|
1313
|
+
declare const Allocation_Withdraw:
|
|
1314
|
+
damlTypes.Serializable<Allocation_Withdraw>
|
|
1352
1315
|
|
|
1316
|
+
declare type Allocation_WithdrawResult = {
|
|
1317
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1318
|
+
meta: Metadata,
|
|
1319
|
+
}
|
|
1353
1320
|
|
|
1354
|
-
declare
|
|
1355
|
-
|
|
1356
|
-
receiver: damlTypes.Party;
|
|
1357
|
-
amount: damlTypes.Numeric;
|
|
1358
|
-
instrumentId: InstrumentId;
|
|
1359
|
-
meta: Metadata;
|
|
1360
|
-
};
|
|
1321
|
+
declare const Allocation_WithdrawResult:
|
|
1322
|
+
damlTypes.Serializable<Allocation_WithdrawResult>
|
|
1361
1323
|
|
|
1362
|
-
declare
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1324
|
+
declare type Reference = {
|
|
1325
|
+
id: string,
|
|
1326
|
+
cid: damlTypes.Optional<damlTypes.ContractId<AnyContract>>,
|
|
1327
|
+
}
|
|
1366
1328
|
|
|
1329
|
+
declare const Reference:
|
|
1330
|
+
damlTypes.Serializable<Reference>
|
|
1367
1331
|
|
|
1368
1332
|
declare type SettlementInfo = {
|
|
1369
|
-
executor: damlTypes.Party
|
|
1370
|
-
settlementRef: Reference
|
|
1371
|
-
requestedAt: damlTypes.Time
|
|
1372
|
-
allocateBefore: damlTypes.Time
|
|
1373
|
-
settleBefore: damlTypes.Time
|
|
1374
|
-
meta: Metadata
|
|
1375
|
-
}
|
|
1333
|
+
executor: damlTypes.Party,
|
|
1334
|
+
settlementRef: Reference,
|
|
1335
|
+
requestedAt: damlTypes.Time,
|
|
1336
|
+
allocateBefore: damlTypes.Time,
|
|
1337
|
+
settleBefore: damlTypes.Time,
|
|
1338
|
+
meta: Metadata,
|
|
1339
|
+
}
|
|
1376
1340
|
|
|
1377
1341
|
declare const SettlementInfo:
|
|
1378
|
-
damlTypes.Serializable<SettlementInfo>
|
|
1379
|
-
}
|
|
1380
|
-
;
|
|
1342
|
+
damlTypes.Serializable<SettlementInfo>
|
|
1381
1343
|
|
|
1344
|
+
declare type TransferLeg = {
|
|
1345
|
+
sender: damlTypes.Party,
|
|
1346
|
+
receiver: damlTypes.Party,
|
|
1347
|
+
amount: damlTypes.Numeric,
|
|
1348
|
+
instrumentId: InstrumentId,
|
|
1349
|
+
meta: Metadata,
|
|
1350
|
+
}
|
|
1382
1351
|
|
|
1383
|
-
declare
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1352
|
+
declare const TransferLeg:
|
|
1353
|
+
damlTypes.Serializable<TransferLeg>
|
|
1354
|
+
|
|
1355
|
+
declare const module_d$3_Allocation: typeof Allocation;
|
|
1356
|
+
type module_d$3_AllocationInterface = AllocationInterface;
|
|
1357
|
+
declare const module_d$3_AllocationSpecification: typeof AllocationSpecification;
|
|
1358
|
+
declare const module_d$3_AllocationView: typeof AllocationView;
|
|
1359
|
+
declare const module_d$3_Allocation_Cancel: typeof Allocation_Cancel;
|
|
1360
|
+
declare const module_d$3_Allocation_CancelResult: typeof Allocation_CancelResult;
|
|
1361
|
+
declare const module_d$3_Allocation_ExecuteTransfer: typeof Allocation_ExecuteTransfer;
|
|
1362
|
+
declare const module_d$3_Allocation_ExecuteTransferResult: typeof Allocation_ExecuteTransferResult;
|
|
1363
|
+
declare const module_d$3_Allocation_Withdraw: typeof Allocation_Withdraw;
|
|
1364
|
+
declare const module_d$3_Allocation_WithdrawResult: typeof Allocation_WithdrawResult;
|
|
1365
|
+
declare const module_d$3_Reference: typeof Reference;
|
|
1366
|
+
declare const module_d$3_SettlementInfo: typeof SettlementInfo;
|
|
1367
|
+
declare const module_d$3_TransferLeg: typeof TransferLeg;
|
|
1368
|
+
declare namespace module_d$3 {
|
|
1369
|
+
export { module_d$3_Allocation as Allocation, module_d$3_AllocationSpecification as AllocationSpecification, module_d$3_AllocationView as AllocationView, module_d$3_Allocation_Cancel as Allocation_Cancel, module_d$3_Allocation_CancelResult as Allocation_CancelResult, module_d$3_Allocation_ExecuteTransfer as Allocation_ExecuteTransfer, module_d$3_Allocation_ExecuteTransferResult as Allocation_ExecuteTransferResult, module_d$3_Allocation_Withdraw as Allocation_Withdraw, module_d$3_Allocation_WithdrawResult as Allocation_WithdrawResult, module_d$3_Reference as Reference, module_d$3_SettlementInfo as SettlementInfo, module_d$3_TransferLeg as TransferLeg };
|
|
1370
|
+
export type { module_d$3_AllocationInterface as AllocationInterface };
|
|
1371
|
+
}
|
|
1387
1372
|
|
|
1388
|
-
|
|
1389
|
-
damlTypes.Serializable<Reference> & {
|
|
1390
|
-
}
|
|
1391
|
-
;
|
|
1373
|
+
// Generated from ../../../../Splice/Api/Token/AllocationInstructionV1/module.daml
|
|
1392
1374
|
|
|
1393
|
-
// Generated from Splice/Api/Token/AllocationInstructionV1.daml
|
|
1394
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1395
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1396
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1397
1375
|
|
|
1398
1376
|
declare interface AllocationFactoryInterface {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1377
|
+
AllocationFactory_Allocate:
|
|
1378
|
+
damlTypes.Choice<AllocationFactory, AllocationFactory_Allocate, AllocationInstructionResult, undefined> &
|
|
1379
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
|
|
1380
|
+
AllocationFactory_PublicFetch:
|
|
1381
|
+
damlTypes.Choice<AllocationFactory, AllocationFactory_PublicFetch, AllocationFactoryView, undefined> &
|
|
1382
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
|
|
1383
|
+
Archive:
|
|
1384
|
+
damlTypes.Choice<AllocationFactory, Archive, {}, undefined> &
|
|
1385
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
|
|
1402
1386
|
}
|
|
1403
1387
|
|
|
1404
|
-
declare type AllocationFactory = damlTypes.Interface<'#token-
|
|
1388
|
+
declare type AllocationFactory = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & AllocationFactoryView
|
|
1405
1389
|
declare const AllocationFactory:
|
|
1406
|
-
damlTypes.InterfaceCompanion<AllocationFactory, undefined, '#token-
|
|
1390
|
+
damlTypes.InterfaceCompanion<AllocationFactory, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> &
|
|
1407
1391
|
damlTypes.FromTemplate<AllocationFactory, unknown> &
|
|
1408
|
-
AllocationFactoryInterface
|
|
1392
|
+
AllocationFactoryInterface
|
|
1409
1393
|
declare interface AllocationInstructionInterface {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1394
|
+
AllocationInstruction_Update:
|
|
1395
|
+
damlTypes.Choice<AllocationInstruction, AllocationInstruction_Update, AllocationInstructionResult, undefined> &
|
|
1396
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
|
|
1397
|
+
AllocationInstruction_Withdraw:
|
|
1398
|
+
damlTypes.Choice<AllocationInstruction, AllocationInstruction_Withdraw, AllocationInstructionResult, undefined> &
|
|
1399
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
|
|
1400
|
+
Archive:
|
|
1401
|
+
damlTypes.Choice<AllocationInstruction, Archive, {}, undefined> &
|
|
1402
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
|
|
1413
1403
|
}
|
|
1414
1404
|
|
|
1415
|
-
|
|
1416
|
-
declare type AllocationInstruction = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView;
|
|
1405
|
+
declare type AllocationInstruction = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView
|
|
1417
1406
|
declare const AllocationInstruction:
|
|
1418
|
-
damlTypes.InterfaceCompanion<AllocationInstruction, undefined, '#token-
|
|
1407
|
+
damlTypes.InterfaceCompanion<AllocationInstruction, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> &
|
|
1419
1408
|
damlTypes.FromTemplate<AllocationInstruction, unknown> &
|
|
1420
|
-
AllocationInstructionInterface
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
declare type AllocationInstructionResult_Output =
|
|
1424
|
-
| { tag: 'AllocationInstructionResult_Pending'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending }
|
|
1425
|
-
| { tag: 'AllocationInstructionResult_Completed'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed }
|
|
1426
|
-
| { tag: 'AllocationInstructionResult_Failed'; value: {} }
|
|
1427
|
-
;
|
|
1409
|
+
AllocationInstructionInterface
|
|
1428
1410
|
|
|
1429
|
-
declare
|
|
1430
|
-
damlTypes.
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
}
|
|
1434
|
-
;
|
|
1411
|
+
declare type AllocationFactoryView = {
|
|
1412
|
+
admin: damlTypes.Party,
|
|
1413
|
+
meta: Metadata,
|
|
1414
|
+
}
|
|
1435
1415
|
|
|
1416
|
+
declare const AllocationFactoryView:
|
|
1417
|
+
damlTypes.Serializable<AllocationFactoryView>
|
|
1436
1418
|
|
|
1437
|
-
declare
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1419
|
+
declare type AllocationFactory_Allocate = {
|
|
1420
|
+
expectedAdmin: damlTypes.Party,
|
|
1421
|
+
allocation: AllocationSpecification,
|
|
1422
|
+
requestedAt: damlTypes.Time,
|
|
1423
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1424
|
+
extraArgs: ExtraArgs,
|
|
1425
|
+
}
|
|
1442
1426
|
|
|
1427
|
+
declare const AllocationFactory_Allocate:
|
|
1428
|
+
damlTypes.Serializable<AllocationFactory_Allocate>
|
|
1443
1429
|
|
|
1444
|
-
declare
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
} //namespace AllocationInstructionResult_Output
|
|
1430
|
+
declare type AllocationFactory_PublicFetch = {
|
|
1431
|
+
expectedAdmin: damlTypes.Party,
|
|
1432
|
+
actor: damlTypes.Party,
|
|
1433
|
+
}
|
|
1449
1434
|
|
|
1435
|
+
declare const AllocationFactory_PublicFetch:
|
|
1436
|
+
damlTypes.Serializable<AllocationFactory_PublicFetch>
|
|
1450
1437
|
|
|
1451
1438
|
declare type AllocationInstructionResult = {
|
|
1452
|
-
output: AllocationInstructionResult_Output
|
|
1453
|
-
senderChangeCids: damlTypes.ContractId<Holding>[]
|
|
1454
|
-
meta: Metadata
|
|
1455
|
-
}
|
|
1439
|
+
output: AllocationInstructionResult_Output,
|
|
1440
|
+
senderChangeCids: damlTypes.ContractId<Holding>[],
|
|
1441
|
+
meta: Metadata,
|
|
1442
|
+
}
|
|
1456
1443
|
|
|
1457
1444
|
declare const AllocationInstructionResult:
|
|
1458
|
-
damlTypes.Serializable<AllocationInstructionResult>
|
|
1459
|
-
}
|
|
1460
|
-
;
|
|
1445
|
+
damlTypes.Serializable<AllocationInstructionResult>
|
|
1461
1446
|
|
|
1447
|
+
declare type AllocationInstructionResult_Output =
|
|
1448
|
+
| { tag: 'AllocationInstructionResult_Pending'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending }
|
|
1449
|
+
| { tag: 'AllocationInstructionResult_Completed'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed }
|
|
1450
|
+
| { tag: 'AllocationInstructionResult_Failed'; value: {} }
|
|
1462
1451
|
|
|
1463
|
-
declare type AllocationFactory_PublicFetch = {
|
|
1464
|
-
expectedAdmin: damlTypes.Party;
|
|
1465
|
-
actor: damlTypes.Party;
|
|
1466
|
-
};
|
|
1467
1452
|
|
|
1468
|
-
declare const
|
|
1469
|
-
damlTypes.Serializable<
|
|
1453
|
+
declare const AllocationInstructionResult_Output:
|
|
1454
|
+
damlTypes.Serializable<AllocationInstructionResult_Output> & {
|
|
1455
|
+
AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>;
|
|
1456
|
+
AllocationInstructionResult_Pending: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Pending>;
|
|
1470
1457
|
}
|
|
1471
|
-
;
|
|
1472
|
-
|
|
1473
1458
|
|
|
1474
|
-
declare
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
requestedAt: damlTypes.Time;
|
|
1478
|
-
inputHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1479
|
-
extraArgs: ExtraArgs;
|
|
1480
|
-
};
|
|
1481
|
-
|
|
1482
|
-
declare const AllocationFactory_Allocate:
|
|
1483
|
-
damlTypes.Serializable<AllocationFactory_Allocate> & {
|
|
1459
|
+
declare namespace AllocationInstructionResult_Output {
|
|
1460
|
+
type AllocationInstructionResult_Completed = {
|
|
1461
|
+
allocationCid: damlTypes.ContractId<Allocation>,
|
|
1484
1462
|
}
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
declare type AllocationFactoryView = {
|
|
1489
|
-
admin: damlTypes.Party;
|
|
1490
|
-
meta: Metadata;
|
|
1491
|
-
};
|
|
1492
|
-
|
|
1493
|
-
declare const AllocationFactoryView:
|
|
1494
|
-
damlTypes.Serializable<AllocationFactoryView> & {
|
|
1463
|
+
type AllocationInstructionResult_Pending = {
|
|
1464
|
+
allocationInstructionCid: damlTypes.ContractId<AllocationInstruction>,
|
|
1495
1465
|
}
|
|
1496
|
-
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
declare type AllocationInstructionView = {
|
|
1469
|
+
originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<AllocationInstruction>>,
|
|
1470
|
+
allocation: AllocationSpecification,
|
|
1471
|
+
pendingActions: damlTypes.Map<damlTypes.Party, string>,
|
|
1472
|
+
requestedAt: damlTypes.Time,
|
|
1473
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1474
|
+
meta: Metadata,
|
|
1475
|
+
}
|
|
1497
1476
|
|
|
1477
|
+
declare const AllocationInstructionView:
|
|
1478
|
+
damlTypes.Serializable<AllocationInstructionView>
|
|
1498
1479
|
|
|
1499
1480
|
declare type AllocationInstruction_Update = {
|
|
1500
|
-
extraActors: damlTypes.Party[]
|
|
1501
|
-
extraArgs: ExtraArgs
|
|
1502
|
-
}
|
|
1481
|
+
extraActors: damlTypes.Party[],
|
|
1482
|
+
extraArgs: ExtraArgs,
|
|
1483
|
+
}
|
|
1503
1484
|
|
|
1504
1485
|
declare const AllocationInstruction_Update:
|
|
1505
|
-
damlTypes.Serializable<AllocationInstruction_Update>
|
|
1506
|
-
}
|
|
1507
|
-
;
|
|
1508
|
-
|
|
1486
|
+
damlTypes.Serializable<AllocationInstruction_Update>
|
|
1509
1487
|
|
|
1510
1488
|
declare type AllocationInstruction_Withdraw = {
|
|
1511
|
-
extraArgs: ExtraArgs
|
|
1512
|
-
}
|
|
1489
|
+
extraArgs: ExtraArgs,
|
|
1490
|
+
}
|
|
1513
1491
|
|
|
1514
1492
|
declare const AllocationInstruction_Withdraw:
|
|
1515
|
-
damlTypes.Serializable<AllocationInstruction_Withdraw>
|
|
1516
|
-
|
|
1517
|
-
;
|
|
1518
|
-
|
|
1493
|
+
damlTypes.Serializable<AllocationInstruction_Withdraw>
|
|
1494
|
+
|
|
1495
|
+
declare const module_d$2_AllocationFactory: typeof AllocationFactory;
|
|
1496
|
+
type module_d$2_AllocationFactoryInterface = AllocationFactoryInterface;
|
|
1497
|
+
declare const module_d$2_AllocationFactoryView: typeof AllocationFactoryView;
|
|
1498
|
+
declare const module_d$2_AllocationFactory_Allocate: typeof AllocationFactory_Allocate;
|
|
1499
|
+
declare const module_d$2_AllocationFactory_PublicFetch: typeof AllocationFactory_PublicFetch;
|
|
1500
|
+
declare const module_d$2_AllocationInstruction: typeof AllocationInstruction;
|
|
1501
|
+
type module_d$2_AllocationInstructionInterface = AllocationInstructionInterface;
|
|
1502
|
+
declare const module_d$2_AllocationInstructionResult: typeof AllocationInstructionResult;
|
|
1503
|
+
import module_d$2_AllocationInstructionResult_Output = AllocationInstructionResult_Output;
|
|
1504
|
+
declare const module_d$2_AllocationInstructionView: typeof AllocationInstructionView;
|
|
1505
|
+
declare const module_d$2_AllocationInstruction_Update: typeof AllocationInstruction_Update;
|
|
1506
|
+
declare const module_d$2_AllocationInstruction_Withdraw: typeof AllocationInstruction_Withdraw;
|
|
1507
|
+
declare namespace module_d$2 {
|
|
1508
|
+
export { module_d$2_AllocationFactory as AllocationFactory, module_d$2_AllocationFactoryView as AllocationFactoryView, module_d$2_AllocationFactory_Allocate as AllocationFactory_Allocate, module_d$2_AllocationFactory_PublicFetch as AllocationFactory_PublicFetch, module_d$2_AllocationInstruction as AllocationInstruction, module_d$2_AllocationInstructionResult as AllocationInstructionResult, module_d$2_AllocationInstructionResult_Output as AllocationInstructionResult_Output, module_d$2_AllocationInstructionView as AllocationInstructionView, module_d$2_AllocationInstruction_Update as AllocationInstruction_Update, module_d$2_AllocationInstruction_Withdraw as AllocationInstruction_Withdraw };
|
|
1509
|
+
export type { module_d$2_AllocationFactoryInterface as AllocationFactoryInterface, module_d$2_AllocationInstructionInterface as AllocationInstructionInterface };
|
|
1510
|
+
}
|
|
1519
1511
|
|
|
1520
|
-
|
|
1521
|
-
originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<AllocationInstruction>>;
|
|
1522
|
-
allocation: AllocationSpecification;
|
|
1523
|
-
pendingActions: damlTypes.Map<damlTypes.Party, string>;
|
|
1524
|
-
requestedAt: damlTypes.Time;
|
|
1525
|
-
inputHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1526
|
-
meta: Metadata;
|
|
1527
|
-
};
|
|
1512
|
+
// Generated from ../../../../Splice/Api/Token/AllocationRequestV1/module.daml
|
|
1528
1513
|
|
|
1529
|
-
declare const AllocationInstructionView:
|
|
1530
|
-
damlTypes.Serializable<AllocationInstructionView> & {
|
|
1531
|
-
}
|
|
1532
|
-
;
|
|
1533
|
-
|
|
1534
|
-
declare const index_d$8_AllocationFactory: typeof AllocationFactory;
|
|
1535
|
-
type index_d$8_AllocationFactoryInterface = AllocationFactoryInterface;
|
|
1536
|
-
declare const index_d$8_AllocationFactoryView: typeof AllocationFactoryView;
|
|
1537
|
-
declare const index_d$8_AllocationFactory_Allocate: typeof AllocationFactory_Allocate;
|
|
1538
|
-
declare const index_d$8_AllocationFactory_PublicFetch: typeof AllocationFactory_PublicFetch;
|
|
1539
|
-
declare const index_d$8_AllocationInstruction: typeof AllocationInstruction;
|
|
1540
|
-
type index_d$8_AllocationInstructionInterface = AllocationInstructionInterface;
|
|
1541
|
-
declare const index_d$8_AllocationInstructionResult: typeof AllocationInstructionResult;
|
|
1542
|
-
import index_d$8_AllocationInstructionResult_Output = AllocationInstructionResult_Output;
|
|
1543
|
-
declare const index_d$8_AllocationInstructionView: typeof AllocationInstructionView;
|
|
1544
|
-
declare const index_d$8_AllocationInstruction_Update: typeof AllocationInstruction_Update;
|
|
1545
|
-
declare const index_d$8_AllocationInstruction_Withdraw: typeof AllocationInstruction_Withdraw;
|
|
1546
|
-
declare namespace index_d$8 {
|
|
1547
|
-
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 };
|
|
1548
|
-
export type { index_d$8_AllocationFactoryInterface as AllocationFactoryInterface, index_d$8_AllocationInstructionInterface as AllocationInstructionInterface };
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
// Generated from Splice/Api/Token/AllocationRequestV1.daml
|
|
1552
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1553
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1554
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1555
1514
|
|
|
1556
1515
|
declare interface AllocationRequestInterface {
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1516
|
+
AllocationRequest_Reject:
|
|
1517
|
+
damlTypes.Choice<AllocationRequest, AllocationRequest_Reject, ChoiceExecutionMetadata, undefined> &
|
|
1518
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
|
|
1519
|
+
AllocationRequest_Withdraw:
|
|
1520
|
+
damlTypes.Choice<AllocationRequest, AllocationRequest_Withdraw, ChoiceExecutionMetadata, undefined> &
|
|
1521
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
|
|
1522
|
+
Archive:
|
|
1523
|
+
damlTypes.Choice<AllocationRequest, Archive, {}, undefined> &
|
|
1524
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
|
|
1560
1525
|
}
|
|
1561
1526
|
|
|
1562
|
-
declare type AllocationRequest = damlTypes.Interface<'#token-
|
|
1527
|
+
declare type AllocationRequest = damlTypes.Interface<'#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> & AllocationRequestView
|
|
1563
1528
|
declare const AllocationRequest:
|
|
1564
|
-
damlTypes.InterfaceCompanion<AllocationRequest, undefined, '#token-
|
|
1529
|
+
damlTypes.InterfaceCompanion<AllocationRequest, undefined, '#splice-api-token-allocation-request-v1:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> &
|
|
1565
1530
|
damlTypes.FromTemplate<AllocationRequest, unknown> &
|
|
1566
|
-
AllocationRequestInterface
|
|
1567
|
-
|
|
1531
|
+
AllocationRequestInterface
|
|
1568
1532
|
|
|
1569
1533
|
declare type AllocationRequestView = {
|
|
1570
|
-
settlement: SettlementInfo
|
|
1571
|
-
transferLegs: { [key: string]: TransferLeg }
|
|
1572
|
-
meta: Metadata
|
|
1573
|
-
}
|
|
1534
|
+
settlement: SettlementInfo,
|
|
1535
|
+
transferLegs: { [key: string]: TransferLeg },
|
|
1536
|
+
meta: Metadata,
|
|
1537
|
+
}
|
|
1574
1538
|
|
|
1575
1539
|
declare const AllocationRequestView:
|
|
1576
|
-
damlTypes.Serializable<AllocationRequestView>
|
|
1577
|
-
|
|
1578
|
-
|
|
1540
|
+
damlTypes.Serializable<AllocationRequestView>
|
|
1541
|
+
|
|
1542
|
+
declare type AllocationRequest_Reject = {
|
|
1543
|
+
actor: damlTypes.Party,
|
|
1544
|
+
extraArgs: ExtraArgs,
|
|
1545
|
+
}
|
|
1579
1546
|
|
|
1547
|
+
declare const AllocationRequest_Reject:
|
|
1548
|
+
damlTypes.Serializable<AllocationRequest_Reject>
|
|
1580
1549
|
|
|
1581
1550
|
declare type AllocationRequest_Withdraw = {
|
|
1582
|
-
extraArgs: ExtraArgs
|
|
1583
|
-
}
|
|
1551
|
+
extraArgs: ExtraArgs,
|
|
1552
|
+
}
|
|
1584
1553
|
|
|
1585
1554
|
declare const AllocationRequest_Withdraw:
|
|
1586
|
-
damlTypes.Serializable<AllocationRequest_Withdraw>
|
|
1587
|
-
|
|
1588
|
-
;
|
|
1555
|
+
damlTypes.Serializable<AllocationRequest_Withdraw>
|
|
1556
|
+
|
|
1557
|
+
declare const module_d$1_AllocationRequest: typeof AllocationRequest;
|
|
1558
|
+
type module_d$1_AllocationRequestInterface = AllocationRequestInterface;
|
|
1559
|
+
declare const module_d$1_AllocationRequestView: typeof AllocationRequestView;
|
|
1560
|
+
declare const module_d$1_AllocationRequest_Reject: typeof AllocationRequest_Reject;
|
|
1561
|
+
declare const module_d$1_AllocationRequest_Withdraw: typeof AllocationRequest_Withdraw;
|
|
1562
|
+
declare namespace module_d$1 {
|
|
1563
|
+
export { module_d$1_AllocationRequest as AllocationRequest, module_d$1_AllocationRequestView as AllocationRequestView, module_d$1_AllocationRequest_Reject as AllocationRequest_Reject, module_d$1_AllocationRequest_Withdraw as AllocationRequest_Withdraw };
|
|
1564
|
+
export type { module_d$1_AllocationRequestInterface as AllocationRequestInterface };
|
|
1565
|
+
}
|
|
1589
1566
|
|
|
1567
|
+
// Generated from ../../../../Splice/Api/Token/TransferInstructionV1/module.daml
|
|
1590
1568
|
|
|
1591
|
-
declare type AllocationRequest_Reject = {
|
|
1592
|
-
actor: damlTypes.Party;
|
|
1593
|
-
extraArgs: ExtraArgs;
|
|
1594
|
-
};
|
|
1595
|
-
|
|
1596
|
-
declare const AllocationRequest_Reject:
|
|
1597
|
-
damlTypes.Serializable<AllocationRequest_Reject> & {
|
|
1598
|
-
}
|
|
1599
|
-
;
|
|
1600
|
-
|
|
1601
|
-
declare const index_d$7_AllocationRequest: typeof AllocationRequest;
|
|
1602
|
-
type index_d$7_AllocationRequestInterface = AllocationRequestInterface;
|
|
1603
|
-
declare const index_d$7_AllocationRequestView: typeof AllocationRequestView;
|
|
1604
|
-
declare const index_d$7_AllocationRequest_Reject: typeof AllocationRequest_Reject;
|
|
1605
|
-
declare const index_d$7_AllocationRequest_Withdraw: typeof AllocationRequest_Withdraw;
|
|
1606
|
-
declare namespace index_d$7 {
|
|
1607
|
-
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 };
|
|
1608
|
-
export type { index_d$7_AllocationRequestInterface as AllocationRequestInterface };
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
declare const index_d$6_Allocation: typeof Allocation;
|
|
1612
|
-
type index_d$6_AllocationInterface = AllocationInterface;
|
|
1613
|
-
declare const index_d$6_AllocationSpecification: typeof AllocationSpecification;
|
|
1614
|
-
declare const index_d$6_AllocationView: typeof AllocationView;
|
|
1615
|
-
declare const index_d$6_Allocation_Cancel: typeof Allocation_Cancel;
|
|
1616
|
-
declare const index_d$6_Allocation_CancelResult: typeof Allocation_CancelResult;
|
|
1617
|
-
declare const index_d$6_Allocation_ExecuteTransfer: typeof Allocation_ExecuteTransfer;
|
|
1618
|
-
declare const index_d$6_Allocation_ExecuteTransferResult: typeof Allocation_ExecuteTransferResult;
|
|
1619
|
-
declare const index_d$6_Allocation_Withdraw: typeof Allocation_Withdraw;
|
|
1620
|
-
declare const index_d$6_Allocation_WithdrawResult: typeof Allocation_WithdrawResult;
|
|
1621
|
-
declare const index_d$6_Reference: typeof Reference;
|
|
1622
|
-
declare const index_d$6_SettlementInfo: typeof SettlementInfo;
|
|
1623
|
-
declare const index_d$6_TransferLeg: typeof TransferLeg;
|
|
1624
|
-
declare namespace index_d$6 {
|
|
1625
|
-
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 };
|
|
1626
|
-
export type { index_d$6_AllocationInterface as AllocationInterface };
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
declare const index_d$5_Holding: typeof Holding;
|
|
1630
|
-
type index_d$5_HoldingInterface = HoldingInterface;
|
|
1631
|
-
declare const index_d$5_HoldingView: typeof HoldingView;
|
|
1632
|
-
declare const index_d$5_InstrumentId: typeof InstrumentId;
|
|
1633
|
-
declare const index_d$5_Lock: typeof Lock;
|
|
1634
|
-
declare namespace index_d$5 {
|
|
1635
|
-
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 };
|
|
1636
|
-
export type { index_d$5_HoldingInterface as HoldingInterface };
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
declare const index_d$4_AnyContract: typeof AnyContract;
|
|
1640
|
-
type index_d$4_AnyContractInterface = AnyContractInterface;
|
|
1641
|
-
declare const index_d$4_AnyContractView: typeof AnyContractView;
|
|
1642
|
-
declare const index_d$4_AnyValue: typeof AnyValue;
|
|
1643
|
-
declare const index_d$4_ChoiceContext: typeof ChoiceContext;
|
|
1644
|
-
declare const index_d$4_ChoiceExecutionMetadata: typeof ChoiceExecutionMetadata;
|
|
1645
|
-
declare const index_d$4_ExtraArgs: typeof ExtraArgs;
|
|
1646
|
-
declare const index_d$4_Metadata: typeof Metadata;
|
|
1647
|
-
declare namespace index_d$4 {
|
|
1648
|
-
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 };
|
|
1649
|
-
export type { index_d$4_AnyContractInterface as AnyContractInterface };
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
// Generated from Splice/Api/Token/TransferInstructionV1.daml
|
|
1653
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
1654
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
1655
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1656
1569
|
|
|
1657
1570
|
declare interface TransferFactoryInterface {
|
|
1658
|
-
Archive:
|
|
1659
|
-
|
|
1660
|
-
|
|
1571
|
+
Archive:
|
|
1572
|
+
damlTypes.Choice<TransferFactory, Archive, {}, undefined> &
|
|
1573
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
|
|
1574
|
+
TransferFactory_PublicFetch:
|
|
1575
|
+
damlTypes.Choice<TransferFactory, TransferFactory_PublicFetch, TransferFactoryView, undefined> &
|
|
1576
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
|
|
1577
|
+
TransferFactory_Transfer:
|
|
1578
|
+
damlTypes.Choice<TransferFactory, TransferFactory_Transfer, TransferInstructionResult, undefined> &
|
|
1579
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
|
|
1661
1580
|
}
|
|
1662
1581
|
|
|
1663
|
-
declare type TransferFactory = damlTypes.Interface<'#token-
|
|
1582
|
+
declare type TransferFactory = damlTypes.Interface<'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory'> & TransferFactoryView
|
|
1664
1583
|
declare const TransferFactory:
|
|
1665
|
-
damlTypes.InterfaceCompanion<TransferFactory, undefined, '#token-
|
|
1584
|
+
damlTypes.InterfaceCompanion<TransferFactory, undefined, '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory'> &
|
|
1666
1585
|
damlTypes.FromTemplate<TransferFactory, unknown> &
|
|
1667
|
-
TransferFactoryInterface
|
|
1586
|
+
TransferFactoryInterface
|
|
1668
1587
|
declare interface TransferInstructionInterface {
|
|
1669
|
-
Archive:
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1588
|
+
Archive:
|
|
1589
|
+
damlTypes.Choice<TransferInstruction, Archive, {}, undefined> &
|
|
1590
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1591
|
+
TransferInstruction_Accept:
|
|
1592
|
+
damlTypes.Choice<TransferInstruction, TransferInstruction_Accept, TransferInstructionResult, undefined> &
|
|
1593
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1594
|
+
TransferInstruction_Reject:
|
|
1595
|
+
damlTypes.Choice<TransferInstruction, TransferInstruction_Reject, TransferInstructionResult, undefined> &
|
|
1596
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1597
|
+
TransferInstruction_Update:
|
|
1598
|
+
damlTypes.Choice<TransferInstruction, TransferInstruction_Update, TransferInstructionResult, undefined> &
|
|
1599
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1600
|
+
TransferInstruction_Withdraw:
|
|
1601
|
+
damlTypes.Choice<TransferInstruction, TransferInstruction_Withdraw, TransferInstructionResult, undefined> &
|
|
1602
|
+
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1674
1603
|
}
|
|
1675
1604
|
|
|
1676
|
-
|
|
1677
|
-
declare type TransferInstruction = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> & TransferInstructionView;
|
|
1605
|
+
declare type TransferInstruction = damlTypes.Interface<'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> & TransferInstructionView
|
|
1678
1606
|
declare const TransferInstruction:
|
|
1679
|
-
damlTypes.InterfaceCompanion<TransferInstruction, undefined, '#token-
|
|
1607
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined, '#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> &
|
|
1680
1608
|
damlTypes.FromTemplate<TransferInstruction, unknown> &
|
|
1681
|
-
TransferInstructionInterface
|
|
1609
|
+
TransferInstructionInterface
|
|
1610
|
+
|
|
1611
|
+
declare type Transfer = {
|
|
1612
|
+
sender: damlTypes.Party,
|
|
1613
|
+
receiver: damlTypes.Party,
|
|
1614
|
+
amount: damlTypes.Numeric,
|
|
1615
|
+
instrumentId: InstrumentId,
|
|
1616
|
+
requestedAt: damlTypes.Time,
|
|
1617
|
+
executeBefore: damlTypes.Time,
|
|
1618
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1619
|
+
meta: Metadata,
|
|
1620
|
+
}
|
|
1682
1621
|
|
|
1622
|
+
declare const Transfer:
|
|
1623
|
+
damlTypes.Serializable<Transfer>
|
|
1683
1624
|
|
|
1684
1625
|
declare type TransferFactoryView = {
|
|
1685
|
-
admin: damlTypes.Party
|
|
1686
|
-
meta: Metadata
|
|
1687
|
-
}
|
|
1626
|
+
admin: damlTypes.Party,
|
|
1627
|
+
meta: Metadata,
|
|
1628
|
+
}
|
|
1688
1629
|
|
|
1689
1630
|
declare const TransferFactoryView:
|
|
1690
|
-
damlTypes.Serializable<TransferFactoryView>
|
|
1691
|
-
}
|
|
1692
|
-
;
|
|
1693
|
-
|
|
1631
|
+
damlTypes.Serializable<TransferFactoryView>
|
|
1694
1632
|
|
|
1695
1633
|
declare type TransferFactory_PublicFetch = {
|
|
1696
|
-
expectedAdmin: damlTypes.Party
|
|
1697
|
-
actor: damlTypes.Party
|
|
1698
|
-
}
|
|
1634
|
+
expectedAdmin: damlTypes.Party,
|
|
1635
|
+
actor: damlTypes.Party,
|
|
1636
|
+
}
|
|
1699
1637
|
|
|
1700
1638
|
declare const TransferFactory_PublicFetch:
|
|
1701
|
-
damlTypes.Serializable<TransferFactory_PublicFetch>
|
|
1702
|
-
}
|
|
1703
|
-
;
|
|
1704
|
-
|
|
1639
|
+
damlTypes.Serializable<TransferFactory_PublicFetch>
|
|
1705
1640
|
|
|
1706
1641
|
declare type TransferFactory_Transfer = {
|
|
1707
|
-
expectedAdmin: damlTypes.Party
|
|
1708
|
-
transfer: Transfer
|
|
1709
|
-
extraArgs: ExtraArgs
|
|
1710
|
-
}
|
|
1642
|
+
expectedAdmin: damlTypes.Party,
|
|
1643
|
+
transfer: Transfer,
|
|
1644
|
+
extraArgs: ExtraArgs,
|
|
1645
|
+
}
|
|
1711
1646
|
|
|
1712
1647
|
declare const TransferFactory_Transfer:
|
|
1713
|
-
damlTypes.Serializable<TransferFactory_Transfer>
|
|
1714
|
-
}
|
|
1715
|
-
;
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
declare type TransferInstruction_Update = {
|
|
1719
|
-
extraActors: damlTypes.Party[];
|
|
1720
|
-
extraArgs: ExtraArgs;
|
|
1721
|
-
};
|
|
1722
|
-
|
|
1723
|
-
declare const TransferInstruction_Update:
|
|
1724
|
-
damlTypes.Serializable<TransferInstruction_Update> & {
|
|
1725
|
-
}
|
|
1726
|
-
;
|
|
1727
|
-
|
|
1648
|
+
damlTypes.Serializable<TransferFactory_Transfer>
|
|
1728
1649
|
|
|
1729
|
-
declare type
|
|
1730
|
-
|
|
1731
|
-
|
|
1650
|
+
declare type TransferInstructionResult = {
|
|
1651
|
+
output: TransferInstructionResult_Output,
|
|
1652
|
+
senderChangeCids: damlTypes.ContractId<Holding>[],
|
|
1653
|
+
meta: Metadata,
|
|
1654
|
+
}
|
|
1732
1655
|
|
|
1733
|
-
declare const
|
|
1734
|
-
damlTypes.Serializable<
|
|
1735
|
-
}
|
|
1736
|
-
;
|
|
1656
|
+
declare const TransferInstructionResult:
|
|
1657
|
+
damlTypes.Serializable<TransferInstructionResult>
|
|
1737
1658
|
|
|
1659
|
+
declare type TransferInstructionResult_Output =
|
|
1660
|
+
| { tag: 'TransferInstructionResult_Pending'; value: TransferInstructionResult_Output.TransferInstructionResult_Pending }
|
|
1661
|
+
| { tag: 'TransferInstructionResult_Completed'; value: TransferInstructionResult_Output.TransferInstructionResult_Completed }
|
|
1662
|
+
| { tag: 'TransferInstructionResult_Failed'; value: {} }
|
|
1738
1663
|
|
|
1739
|
-
declare type TransferInstruction_Reject = {
|
|
1740
|
-
extraArgs: ExtraArgs;
|
|
1741
|
-
};
|
|
1742
1664
|
|
|
1743
|
-
declare const
|
|
1744
|
-
damlTypes.Serializable<
|
|
1665
|
+
declare const TransferInstructionResult_Output:
|
|
1666
|
+
damlTypes.Serializable<TransferInstructionResult_Output> & {
|
|
1667
|
+
TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>;
|
|
1668
|
+
TransferInstructionResult_Pending: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Pending>;
|
|
1745
1669
|
}
|
|
1746
|
-
;
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
declare type TransferInstruction_Accept = {
|
|
1750
|
-
extraArgs: ExtraArgs;
|
|
1751
|
-
};
|
|
1752
1670
|
|
|
1753
|
-
declare
|
|
1754
|
-
|
|
1671
|
+
declare namespace TransferInstructionResult_Output {
|
|
1672
|
+
type TransferInstructionResult_Completed = {
|
|
1673
|
+
receiverHoldingCids: damlTypes.ContractId<Holding>[],
|
|
1755
1674
|
}
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
declare type TransferInstructionView = {
|
|
1760
|
-
originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<TransferInstruction>>;
|
|
1761
|
-
transfer: Transfer;
|
|
1762
|
-
status: TransferInstructionStatus;
|
|
1763
|
-
meta: Metadata;
|
|
1764
|
-
};
|
|
1765
|
-
|
|
1766
|
-
declare const TransferInstructionView:
|
|
1767
|
-
damlTypes.Serializable<TransferInstructionView> & {
|
|
1675
|
+
type TransferInstructionResult_Pending = {
|
|
1676
|
+
transferInstructionCid: damlTypes.ContractId<TransferInstruction>,
|
|
1768
1677
|
}
|
|
1769
|
-
|
|
1770
|
-
|
|
1678
|
+
}
|
|
1771
1679
|
|
|
1772
1680
|
declare type TransferInstructionStatus =
|
|
1773
|
-
|
|
|
1774
|
-
|
|
|
1775
|
-
|
|
1681
|
+
| { tag: 'TransferPendingReceiverAcceptance'; value: {} }
|
|
1682
|
+
| { tag: 'TransferPendingInternalWorkflow'; value: TransferInstructionStatus.TransferPendingInternalWorkflow }
|
|
1683
|
+
|
|
1776
1684
|
|
|
1777
1685
|
declare const TransferInstructionStatus:
|
|
1778
1686
|
damlTypes.Serializable<TransferInstructionStatus> & {
|
|
1779
|
-
|
|
1687
|
+
TransferPendingInternalWorkflow: damlTypes.Serializable<TransferInstructionStatus.TransferPendingInternalWorkflow>;
|
|
1780
1688
|
}
|
|
1781
|
-
;
|
|
1782
|
-
|
|
1783
1689
|
|
|
1784
1690
|
declare namespace TransferInstructionStatus {
|
|
1785
1691
|
type TransferPendingInternalWorkflow = {
|
|
1786
|
-
pendingActions: damlTypes.Map<damlTypes.Party, string
|
|
1787
|
-
};
|
|
1788
|
-
} //namespace TransferInstructionStatus
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
declare type TransferInstructionResult_Output =
|
|
1792
|
-
| { tag: 'TransferInstructionResult_Pending'; value: TransferInstructionResult_Output.TransferInstructionResult_Pending }
|
|
1793
|
-
| { tag: 'TransferInstructionResult_Completed'; value: TransferInstructionResult_Output.TransferInstructionResult_Completed }
|
|
1794
|
-
| { tag: 'TransferInstructionResult_Failed'; value: {} }
|
|
1795
|
-
;
|
|
1796
|
-
|
|
1797
|
-
declare const TransferInstructionResult_Output:
|
|
1798
|
-
damlTypes.Serializable<TransferInstructionResult_Output> & {
|
|
1799
|
-
TransferInstructionResult_Pending: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Pending>;
|
|
1800
|
-
TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>;
|
|
1692
|
+
pendingActions: damlTypes.Map<damlTypes.Party, string>,
|
|
1801
1693
|
}
|
|
1802
|
-
|
|
1694
|
+
}
|
|
1803
1695
|
|
|
1696
|
+
declare type TransferInstructionView = {
|
|
1697
|
+
originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<TransferInstruction>>,
|
|
1698
|
+
transfer: Transfer,
|
|
1699
|
+
status: TransferInstructionStatus,
|
|
1700
|
+
meta: Metadata,
|
|
1701
|
+
}
|
|
1804
1702
|
|
|
1805
|
-
declare
|
|
1806
|
-
|
|
1807
|
-
transferInstructionCid: damlTypes.ContractId<TransferInstruction>;
|
|
1808
|
-
};
|
|
1809
|
-
} //namespace TransferInstructionResult_Output
|
|
1703
|
+
declare const TransferInstructionView:
|
|
1704
|
+
damlTypes.Serializable<TransferInstructionView>
|
|
1810
1705
|
|
|
1706
|
+
declare type TransferInstruction_Accept = {
|
|
1707
|
+
extraArgs: ExtraArgs,
|
|
1708
|
+
}
|
|
1811
1709
|
|
|
1812
|
-
declare
|
|
1813
|
-
|
|
1814
|
-
receiverHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1815
|
-
};
|
|
1816
|
-
} //namespace TransferInstructionResult_Output
|
|
1710
|
+
declare const TransferInstruction_Accept:
|
|
1711
|
+
damlTypes.Serializable<TransferInstruction_Accept>
|
|
1817
1712
|
|
|
1713
|
+
declare type TransferInstruction_Reject = {
|
|
1714
|
+
extraArgs: ExtraArgs,
|
|
1715
|
+
}
|
|
1818
1716
|
|
|
1819
|
-
declare
|
|
1820
|
-
|
|
1821
|
-
senderChangeCids: damlTypes.ContractId<Holding>[];
|
|
1822
|
-
meta: Metadata;
|
|
1823
|
-
};
|
|
1717
|
+
declare const TransferInstruction_Reject:
|
|
1718
|
+
damlTypes.Serializable<TransferInstruction_Reject>
|
|
1824
1719
|
|
|
1825
|
-
declare
|
|
1826
|
-
damlTypes.
|
|
1827
|
-
|
|
1828
|
-
|
|
1720
|
+
declare type TransferInstruction_Update = {
|
|
1721
|
+
extraActors: damlTypes.Party[],
|
|
1722
|
+
extraArgs: ExtraArgs,
|
|
1723
|
+
}
|
|
1829
1724
|
|
|
1725
|
+
declare const TransferInstruction_Update:
|
|
1726
|
+
damlTypes.Serializable<TransferInstruction_Update>
|
|
1830
1727
|
|
|
1831
|
-
declare type
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
amount: damlTypes.Numeric;
|
|
1835
|
-
instrumentId: InstrumentId;
|
|
1836
|
-
requestedAt: damlTypes.Time;
|
|
1837
|
-
executeBefore: damlTypes.Time;
|
|
1838
|
-
inputHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1839
|
-
meta: Metadata;
|
|
1840
|
-
};
|
|
1728
|
+
declare type TransferInstruction_Withdraw = {
|
|
1729
|
+
extraArgs: ExtraArgs,
|
|
1730
|
+
}
|
|
1841
1731
|
|
|
1842
|
-
declare const
|
|
1843
|
-
damlTypes.Serializable<
|
|
1844
|
-
|
|
1845
|
-
;
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
declare const
|
|
1849
|
-
|
|
1850
|
-
declare const
|
|
1851
|
-
declare const
|
|
1852
|
-
|
|
1853
|
-
declare const
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
declare const
|
|
1859
|
-
declare const
|
|
1860
|
-
declare const
|
|
1861
|
-
declare
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
declare namespace index_d$2 {
|
|
1732
|
+
declare const TransferInstruction_Withdraw:
|
|
1733
|
+
damlTypes.Serializable<TransferInstruction_Withdraw>
|
|
1734
|
+
|
|
1735
|
+
declare const module_d_Transfer: typeof Transfer;
|
|
1736
|
+
declare const module_d_TransferFactory: typeof TransferFactory;
|
|
1737
|
+
type module_d_TransferFactoryInterface = TransferFactoryInterface;
|
|
1738
|
+
declare const module_d_TransferFactoryView: typeof TransferFactoryView;
|
|
1739
|
+
declare const module_d_TransferFactory_PublicFetch: typeof TransferFactory_PublicFetch;
|
|
1740
|
+
declare const module_d_TransferFactory_Transfer: typeof TransferFactory_Transfer;
|
|
1741
|
+
declare const module_d_TransferInstruction: typeof TransferInstruction;
|
|
1742
|
+
type module_d_TransferInstructionInterface = TransferInstructionInterface;
|
|
1743
|
+
declare const module_d_TransferInstructionResult: typeof TransferInstructionResult;
|
|
1744
|
+
import module_d_TransferInstructionResult_Output = TransferInstructionResult_Output;
|
|
1745
|
+
import module_d_TransferInstructionStatus = TransferInstructionStatus;
|
|
1746
|
+
declare const module_d_TransferInstructionView: typeof TransferInstructionView;
|
|
1747
|
+
declare const module_d_TransferInstruction_Accept: typeof TransferInstruction_Accept;
|
|
1748
|
+
declare const module_d_TransferInstruction_Reject: typeof TransferInstruction_Reject;
|
|
1749
|
+
declare const module_d_TransferInstruction_Update: typeof TransferInstruction_Update;
|
|
1750
|
+
declare const module_d_TransferInstruction_Withdraw: typeof TransferInstruction_Withdraw;
|
|
1751
|
+
declare namespace module_d {
|
|
1752
|
+
export { module_d_Transfer as Transfer, module_d_TransferFactory as TransferFactory, module_d_TransferFactoryView as TransferFactoryView, module_d_TransferFactory_PublicFetch as TransferFactory_PublicFetch, module_d_TransferFactory_Transfer as TransferFactory_Transfer, module_d_TransferInstruction as TransferInstruction, module_d_TransferInstructionResult as TransferInstructionResult, module_d_TransferInstructionResult_Output as TransferInstructionResult_Output, module_d_TransferInstructionStatus as TransferInstructionStatus, module_d_TransferInstructionView as TransferInstructionView, module_d_TransferInstruction_Accept as TransferInstruction_Accept, module_d_TransferInstruction_Reject as TransferInstruction_Reject, module_d_TransferInstruction_Update as TransferInstruction_Update, module_d_TransferInstruction_Withdraw as TransferInstruction_Withdraw };
|
|
1753
|
+
export type { module_d_TransferFactoryInterface as TransferFactoryInterface, module_d_TransferInstructionInterface as TransferInstructionInterface };
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
declare namespace index$3 {
|
|
1869
1757
|
export {
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1758
|
+
module_d$2 as AllocationInstructionV1,
|
|
1759
|
+
module_d$1 as AllocationRequestV1,
|
|
1760
|
+
module_d$3 as AllocationV1,
|
|
1761
|
+
module_d$4 as HoldingV1,
|
|
1762
|
+
module_d$5 as MetadataV1,
|
|
1763
|
+
module_d as TransferInstructionV1,
|
|
1876
1764
|
};
|
|
1877
1765
|
}
|
|
1878
1766
|
|
|
1879
|
-
declare namespace
|
|
1767
|
+
declare namespace index$2 {
|
|
1880
1768
|
export {
|
|
1881
|
-
|
|
1769
|
+
index$3 as Token,
|
|
1882
1770
|
};
|
|
1883
1771
|
}
|
|
1884
1772
|
|
|
1885
|
-
declare namespace
|
|
1773
|
+
declare namespace index$1 {
|
|
1886
1774
|
export {
|
|
1887
|
-
|
|
1775
|
+
index$2 as Api,
|
|
1888
1776
|
};
|
|
1889
1777
|
}
|
|
1890
1778
|
|
|
1891
|
-
|
|
1779
|
+
/**
|
|
1780
|
+
* @deprecated ID of the former merged codegen package, which is not deployed on any ledger.
|
|
1781
|
+
* Each token standard interface lives in its own `splice-api-token-*` package.
|
|
1782
|
+
*/
|
|
1783
|
+
declare const packageId = "b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4";
|
|
1892
1784
|
|
|
1893
|
-
declare const TransferInstructionV1: typeof
|
|
1894
|
-
declare const AllocationInstructionV1: typeof
|
|
1895
|
-
declare const AllocationRequestV1: typeof
|
|
1896
|
-
declare const AllocationV1: typeof
|
|
1897
|
-
declare const HoldingV1: typeof
|
|
1898
|
-
declare const MetadataV1: typeof
|
|
1785
|
+
declare const TransferInstructionV1: typeof module_d;
|
|
1786
|
+
declare const AllocationInstructionV1: typeof module_d$2;
|
|
1787
|
+
declare const AllocationRequestV1: typeof module_d$1;
|
|
1788
|
+
declare const AllocationV1: typeof module_d$3;
|
|
1789
|
+
declare const HoldingV1: typeof module_d$4;
|
|
1790
|
+
declare const MetadataV1: typeof module_d$5;
|
|
1899
1791
|
|
|
1900
1792
|
type Beneficiaries = {
|
|
1901
1793
|
beneficiary: PartyId;
|
|
@@ -1911,5 +1803,5 @@ declare namespace index {
|
|
|
1911
1803
|
};
|
|
1912
1804
|
}
|
|
1913
1805
|
|
|
1914
|
-
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, MERGE_DELEGATION_BATCH_MERGE_UTILITY, MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID, MERGE_DELEGATION_TEMPLATE_ID, METADATA_INTERFACE_ID, Metadata, MetadataV1, index as OffLedger, Reference, SettlementInfo,
|
|
1806
|
+
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, MERGE_DELEGATION_BATCH_MERGE_UTILITY, MERGE_DELEGATION_PROPOSAL_TEMPLATE_ID, MERGE_DELEGATION_TEMPLATE_ID, METADATA_INTERFACE_ID, Metadata, MetadataV1, index as OffLedger, Reference, SettlementInfo, index$1 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 };
|
|
1915
1807
|
export type { AllocationFactoryInterface, AllocationInstructionInterface, AllocationInterface, AllocationRequestInterface, AnyContractInterface, Beneficiaries, GetResponse, HoldingInterface, PostRequest, PostResponse, TransferFactoryInterface, TransferInstructionInterface };
|