@canton-network/core-token-standard 1.2.0 → 1.2.2
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 +788 -1539
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +788 -1539
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +484 -543
- package/dist/index.js +788 -1539
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1007,9 +1007,13 @@ declare const MERGE_DELEGATION_BATCH_MERGE_UTILITY = "#splice-util-token-standar
|
|
|
1007
1007
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1008
1008
|
|
|
1009
1009
|
|
|
1010
|
-
declare type Archive = {
|
|
1010
|
+
declare type Archive = {
|
|
1011
|
+
};
|
|
1011
1012
|
|
|
1012
|
-
declare const Archive:
|
|
1013
|
+
declare const Archive:
|
|
1014
|
+
damlTypes.Serializable<Archive> & {
|
|
1015
|
+
}
|
|
1016
|
+
;
|
|
1013
1017
|
|
|
1014
1018
|
// Generated from DA/Time/Types.daml
|
|
1015
1019
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
@@ -1018,10 +1022,13 @@ declare const Archive: damlTypes.Serializable<Archive> & {}
|
|
|
1018
1022
|
|
|
1019
1023
|
|
|
1020
1024
|
declare type RelTime = {
|
|
1021
|
-
|
|
1022
|
-
}
|
|
1025
|
+
microseconds: damlTypes.Int;
|
|
1026
|
+
};
|
|
1023
1027
|
|
|
1024
|
-
declare const RelTime:
|
|
1028
|
+
declare const RelTime:
|
|
1029
|
+
damlTypes.Serializable<RelTime> & {
|
|
1030
|
+
}
|
|
1031
|
+
;
|
|
1025
1032
|
|
|
1026
1033
|
// Generated from Splice/Api/Token/MetadataV1.daml
|
|
1027
1034
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
@@ -1029,74 +1036,84 @@ declare const RelTime: damlTypes.Serializable<RelTime> & {}
|
|
|
1029
1036
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1030
1037
|
|
|
1031
1038
|
declare interface AnyContractInterface {
|
|
1032
|
-
|
|
1033
|
-
AnyContract,
|
|
1034
|
-
Archive,
|
|
1035
|
-
{},
|
|
1036
|
-
undefined
|
|
1037
|
-
> &
|
|
1038
|
-
damlTypes.ChoiceFrom<
|
|
1039
|
-
damlTypes.InterfaceCompanion<AnyContract, undefined>
|
|
1040
|
-
>
|
|
1039
|
+
Archive: damlTypes.Choice<AnyContract, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AnyContract, undefined>>;
|
|
1041
1040
|
}
|
|
1042
1041
|
|
|
1043
|
-
declare type AnyContract =
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
'#token-standard-models:Splice.Api.Token.MetadataV1:AnyContract'
|
|
1050
|
-
> &
|
|
1051
|
-
damlTypes.FromTemplate<AnyContract, unknown> &
|
|
1052
|
-
AnyContractInterface
|
|
1042
|
+
declare type AnyContract = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.MetadataV1:AnyContract'> & AnyContractView;
|
|
1043
|
+
declare const AnyContract:
|
|
1044
|
+
damlTypes.InterfaceCompanion<AnyContract, undefined, '#token-standard-models:Splice.Api.Token.MetadataV1:AnyContract'> &
|
|
1045
|
+
damlTypes.FromTemplate<AnyContract, unknown> &
|
|
1046
|
+
AnyContractInterface;
|
|
1047
|
+
|
|
1053
1048
|
|
|
1054
1049
|
declare type ChoiceExecutionMetadata = {
|
|
1055
|
-
|
|
1056
|
-
}
|
|
1050
|
+
meta: Metadata;
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
declare const ChoiceExecutionMetadata:
|
|
1054
|
+
damlTypes.Serializable<ChoiceExecutionMetadata> & {
|
|
1055
|
+
}
|
|
1056
|
+
;
|
|
1057
1057
|
|
|
1058
|
-
declare const ChoiceExecutionMetadata: damlTypes.Serializable<ChoiceExecutionMetadata> & {}
|
|
1059
1058
|
|
|
1060
1059
|
declare type ExtraArgs = {
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
}
|
|
1060
|
+
context: ChoiceContext;
|
|
1061
|
+
meta: Metadata;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
declare const ExtraArgs:
|
|
1065
|
+
damlTypes.Serializable<ExtraArgs> & {
|
|
1066
|
+
}
|
|
1067
|
+
;
|
|
1064
1068
|
|
|
1065
|
-
declare const ExtraArgs: damlTypes.Serializable<ExtraArgs> & {}
|
|
1066
1069
|
|
|
1067
1070
|
declare type Metadata = {
|
|
1068
|
-
|
|
1069
|
-
}
|
|
1071
|
+
values: { [key: string]: string };
|
|
1072
|
+
};
|
|
1073
|
+
|
|
1074
|
+
declare const Metadata:
|
|
1075
|
+
damlTypes.Serializable<Metadata> & {
|
|
1076
|
+
}
|
|
1077
|
+
;
|
|
1070
1078
|
|
|
1071
|
-
declare const Metadata: damlTypes.Serializable<Metadata> & {}
|
|
1072
1079
|
|
|
1073
1080
|
declare type ChoiceContext = {
|
|
1074
|
-
|
|
1075
|
-
}
|
|
1081
|
+
values: { [key: string]: AnyValue };
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
declare const ChoiceContext:
|
|
1085
|
+
damlTypes.Serializable<ChoiceContext> & {
|
|
1086
|
+
}
|
|
1087
|
+
;
|
|
1076
1088
|
|
|
1077
|
-
declare const ChoiceContext: damlTypes.Serializable<ChoiceContext> & {}
|
|
1078
1089
|
|
|
1079
|
-
declare type AnyContractView = {
|
|
1090
|
+
declare type AnyContractView = {
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
declare const AnyContractView:
|
|
1094
|
+
damlTypes.Serializable<AnyContractView> & {
|
|
1095
|
+
}
|
|
1096
|
+
;
|
|
1080
1097
|
|
|
1081
|
-
declare const AnyContractView: damlTypes.Serializable<AnyContractView> & {}
|
|
1082
1098
|
|
|
1083
1099
|
declare type AnyValue =
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
+
| { tag: 'AV_Text'; value: string }
|
|
1101
|
+
| { tag: 'AV_Int'; value: damlTypes.Int }
|
|
1102
|
+
| { tag: 'AV_Decimal'; value: damlTypes.Numeric }
|
|
1103
|
+
| { tag: 'AV_Bool'; value: boolean }
|
|
1104
|
+
| { tag: 'AV_Date'; value: damlTypes.Date }
|
|
1105
|
+
| { tag: 'AV_Time'; value: damlTypes.Time }
|
|
1106
|
+
| { tag: 'AV_RelTime'; value: RelTime }
|
|
1107
|
+
| { tag: 'AV_Party'; value: damlTypes.Party }
|
|
1108
|
+
| { tag: 'AV_ContractId'; value: damlTypes.ContractId<AnyContract> }
|
|
1109
|
+
| { tag: 'AV_List'; value: AnyValue[] }
|
|
1110
|
+
| { tag: 'AV_Map'; value: { [key: string]: AnyValue } }
|
|
1111
|
+
;
|
|
1112
|
+
|
|
1113
|
+
declare const AnyValue:
|
|
1114
|
+
damlTypes.Serializable<AnyValue> & {
|
|
1115
|
+
}
|
|
1116
|
+
;
|
|
1100
1117
|
|
|
1101
1118
|
// Generated from Splice/Api/Token/HoldingV1.daml
|
|
1102
1119
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
@@ -1104,51 +1121,52 @@ declare const AnyValue: damlTypes.Serializable<AnyValue> & {}
|
|
|
1104
1121
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1105
1122
|
|
|
1106
1123
|
declare interface HoldingInterface {
|
|
1107
|
-
|
|
1108
|
-
Holding,
|
|
1109
|
-
Archive,
|
|
1110
|
-
{},
|
|
1111
|
-
undefined
|
|
1112
|
-
> &
|
|
1113
|
-
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>
|
|
1124
|
+
Archive: damlTypes.Choice<Holding, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Holding, undefined>>;
|
|
1114
1125
|
}
|
|
1115
1126
|
|
|
1116
|
-
declare type Holding =
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
'#token-standard-models:Splice.Api.Token.HoldingV1:Holding'
|
|
1123
|
-
> &
|
|
1124
|
-
damlTypes.FromTemplate<Holding, unknown> &
|
|
1125
|
-
HoldingInterface
|
|
1127
|
+
declare type Holding = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.HoldingV1:Holding'> & HoldingView;
|
|
1128
|
+
declare const Holding:
|
|
1129
|
+
damlTypes.InterfaceCompanion<Holding, undefined, '#token-standard-models:Splice.Api.Token.HoldingV1:Holding'> &
|
|
1130
|
+
damlTypes.FromTemplate<Holding, unknown> &
|
|
1131
|
+
HoldingInterface;
|
|
1132
|
+
|
|
1126
1133
|
|
|
1127
1134
|
declare type HoldingView = {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
}
|
|
1135
|
+
owner: damlTypes.Party;
|
|
1136
|
+
instrumentId: InstrumentId;
|
|
1137
|
+
amount: damlTypes.Numeric;
|
|
1138
|
+
lock: damlTypes.Optional<Lock>;
|
|
1139
|
+
meta: Metadata;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
declare const HoldingView:
|
|
1143
|
+
damlTypes.Serializable<HoldingView> & {
|
|
1144
|
+
}
|
|
1145
|
+
;
|
|
1134
1146
|
|
|
1135
|
-
declare const HoldingView: damlTypes.Serializable<HoldingView> & {}
|
|
1136
1147
|
|
|
1137
1148
|
declare type Lock = {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
}
|
|
1149
|
+
holders: damlTypes.Party[];
|
|
1150
|
+
expiresAt: damlTypes.Optional<damlTypes.Time>;
|
|
1151
|
+
expiresAfter: damlTypes.Optional<RelTime>;
|
|
1152
|
+
context: damlTypes.Optional<string>;
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
declare const Lock:
|
|
1156
|
+
damlTypes.Serializable<Lock> & {
|
|
1157
|
+
}
|
|
1158
|
+
;
|
|
1143
1159
|
|
|
1144
|
-
declare const Lock: damlTypes.Serializable<Lock> & {}
|
|
1145
1160
|
|
|
1146
1161
|
declare type InstrumentId = {
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
}
|
|
1162
|
+
admin: damlTypes.Party;
|
|
1163
|
+
id: string;
|
|
1164
|
+
};
|
|
1150
1165
|
|
|
1151
|
-
declare const InstrumentId:
|
|
1166
|
+
declare const InstrumentId:
|
|
1167
|
+
damlTypes.Serializable<InstrumentId> & {
|
|
1168
|
+
}
|
|
1169
|
+
;
|
|
1152
1170
|
|
|
1153
1171
|
// Generated from Splice/Api/Token/AllocationV1.daml
|
|
1154
1172
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
@@ -1156,140 +1174,145 @@ declare const InstrumentId: damlTypes.Serializable<InstrumentId> & {}
|
|
|
1156
1174
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1157
1175
|
|
|
1158
1176
|
declare interface AllocationInterface {
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
undefined
|
|
1164
|
-
> &
|
|
1165
|
-
damlTypes.ChoiceFrom<
|
|
1166
|
-
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
1167
|
-
>
|
|
1168
|
-
Allocation_Withdraw: damlTypes.Choice<
|
|
1169
|
-
Allocation,
|
|
1170
|
-
Allocation_Withdraw,
|
|
1171
|
-
Allocation_WithdrawResult,
|
|
1172
|
-
undefined
|
|
1173
|
-
> &
|
|
1174
|
-
damlTypes.ChoiceFrom<
|
|
1175
|
-
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
1176
|
-
>
|
|
1177
|
-
Allocation_Cancel: damlTypes.Choice<
|
|
1178
|
-
Allocation,
|
|
1179
|
-
Allocation_Cancel,
|
|
1180
|
-
Allocation_CancelResult,
|
|
1181
|
-
undefined
|
|
1182
|
-
> &
|
|
1183
|
-
damlTypes.ChoiceFrom<
|
|
1184
|
-
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
1185
|
-
>
|
|
1186
|
-
Allocation_ExecuteTransfer: damlTypes.Choice<
|
|
1187
|
-
Allocation,
|
|
1188
|
-
Allocation_ExecuteTransfer,
|
|
1189
|
-
Allocation_ExecuteTransferResult,
|
|
1190
|
-
undefined
|
|
1191
|
-
> &
|
|
1192
|
-
damlTypes.ChoiceFrom<
|
|
1193
|
-
damlTypes.InterfaceCompanion<Allocation, undefined>
|
|
1194
|
-
>
|
|
1177
|
+
Archive: damlTypes.Choice<Allocation, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1178
|
+
Allocation_Withdraw: damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1179
|
+
Allocation_Cancel: damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1180
|
+
Allocation_ExecuteTransfer: damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
1195
1181
|
}
|
|
1196
1182
|
|
|
1197
|
-
declare type Allocation =
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
'#token-standard-models:Splice.Api.Token.AllocationV1:Allocation'
|
|
1204
|
-
> &
|
|
1205
|
-
damlTypes.FromTemplate<Allocation, unknown> &
|
|
1206
|
-
AllocationInterface
|
|
1183
|
+
declare type Allocation = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView;
|
|
1184
|
+
declare const Allocation:
|
|
1185
|
+
damlTypes.InterfaceCompanion<Allocation, undefined, '#token-standard-models:Splice.Api.Token.AllocationV1:Allocation'> &
|
|
1186
|
+
damlTypes.FromTemplate<Allocation, unknown> &
|
|
1187
|
+
AllocationInterface;
|
|
1188
|
+
|
|
1207
1189
|
|
|
1208
1190
|
declare type Allocation_WithdrawResult = {
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
}
|
|
1191
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1192
|
+
meta: Metadata;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
declare const Allocation_WithdrawResult:
|
|
1196
|
+
damlTypes.Serializable<Allocation_WithdrawResult> & {
|
|
1197
|
+
}
|
|
1198
|
+
;
|
|
1212
1199
|
|
|
1213
|
-
declare const Allocation_WithdrawResult: damlTypes.Serializable<Allocation_WithdrawResult> & {}
|
|
1214
1200
|
|
|
1215
1201
|
declare type Allocation_CancelResult = {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
}
|
|
1202
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1203
|
+
meta: Metadata;
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
declare const Allocation_CancelResult:
|
|
1207
|
+
damlTypes.Serializable<Allocation_CancelResult> & {
|
|
1208
|
+
}
|
|
1209
|
+
;
|
|
1219
1210
|
|
|
1220
|
-
declare const Allocation_CancelResult: damlTypes.Serializable<Allocation_CancelResult> & {}
|
|
1221
1211
|
|
|
1222
1212
|
declare type Allocation_ExecuteTransferResult = {
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
}
|
|
1213
|
+
senderHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1214
|
+
receiverHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1215
|
+
meta: Metadata;
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
declare const Allocation_ExecuteTransferResult:
|
|
1219
|
+
damlTypes.Serializable<Allocation_ExecuteTransferResult> & {
|
|
1220
|
+
}
|
|
1221
|
+
;
|
|
1227
1222
|
|
|
1228
|
-
declare const Allocation_ExecuteTransferResult: damlTypes.Serializable<Allocation_ExecuteTransferResult> & {}
|
|
1229
1223
|
|
|
1230
1224
|
declare type Allocation_Withdraw = {
|
|
1231
|
-
|
|
1232
|
-
}
|
|
1225
|
+
extraArgs: ExtraArgs;
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
declare const Allocation_Withdraw:
|
|
1229
|
+
damlTypes.Serializable<Allocation_Withdraw> & {
|
|
1230
|
+
}
|
|
1231
|
+
;
|
|
1233
1232
|
|
|
1234
|
-
declare const Allocation_Withdraw: damlTypes.Serializable<Allocation_Withdraw> & {}
|
|
1235
1233
|
|
|
1236
1234
|
declare type Allocation_Cancel = {
|
|
1237
|
-
|
|
1238
|
-
}
|
|
1235
|
+
extraArgs: ExtraArgs;
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
declare const Allocation_Cancel:
|
|
1239
|
+
damlTypes.Serializable<Allocation_Cancel> & {
|
|
1240
|
+
}
|
|
1241
|
+
;
|
|
1239
1242
|
|
|
1240
|
-
declare const Allocation_Cancel: damlTypes.Serializable<Allocation_Cancel> & {}
|
|
1241
1243
|
|
|
1242
1244
|
declare type Allocation_ExecuteTransfer = {
|
|
1243
|
-
|
|
1244
|
-
}
|
|
1245
|
+
extraArgs: ExtraArgs;
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
declare const Allocation_ExecuteTransfer:
|
|
1249
|
+
damlTypes.Serializable<Allocation_ExecuteTransfer> & {
|
|
1250
|
+
}
|
|
1251
|
+
;
|
|
1245
1252
|
|
|
1246
|
-
declare const Allocation_ExecuteTransfer: damlTypes.Serializable<Allocation_ExecuteTransfer> & {}
|
|
1247
1253
|
|
|
1248
1254
|
declare type AllocationView = {
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}
|
|
1255
|
+
allocation: AllocationSpecification;
|
|
1256
|
+
holdingCids: damlTypes.ContractId<Holding>[];
|
|
1257
|
+
meta: Metadata;
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
declare const AllocationView:
|
|
1261
|
+
damlTypes.Serializable<AllocationView> & {
|
|
1262
|
+
}
|
|
1263
|
+
;
|
|
1253
1264
|
|
|
1254
|
-
declare const AllocationView: damlTypes.Serializable<AllocationView> & {}
|
|
1255
1265
|
|
|
1256
1266
|
declare type AllocationSpecification = {
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
}
|
|
1267
|
+
settlement: SettlementInfo;
|
|
1268
|
+
transferLegId: string;
|
|
1269
|
+
transferLeg: TransferLeg;
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
declare const AllocationSpecification:
|
|
1273
|
+
damlTypes.Serializable<AllocationSpecification> & {
|
|
1274
|
+
}
|
|
1275
|
+
;
|
|
1261
1276
|
|
|
1262
|
-
declare const AllocationSpecification: damlTypes.Serializable<AllocationSpecification> & {}
|
|
1263
1277
|
|
|
1264
1278
|
declare type TransferLeg = {
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
}
|
|
1279
|
+
sender: damlTypes.Party;
|
|
1280
|
+
receiver: damlTypes.Party;
|
|
1281
|
+
amount: damlTypes.Numeric;
|
|
1282
|
+
instrumentId: InstrumentId;
|
|
1283
|
+
meta: Metadata;
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1286
|
+
declare const TransferLeg:
|
|
1287
|
+
damlTypes.Serializable<TransferLeg> & {
|
|
1288
|
+
}
|
|
1289
|
+
;
|
|
1271
1290
|
|
|
1272
|
-
declare const TransferLeg: damlTypes.Serializable<TransferLeg> & {}
|
|
1273
1291
|
|
|
1274
1292
|
declare type SettlementInfo = {
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}
|
|
1293
|
+
executor: damlTypes.Party;
|
|
1294
|
+
settlementRef: Reference;
|
|
1295
|
+
requestedAt: damlTypes.Time;
|
|
1296
|
+
allocateBefore: damlTypes.Time;
|
|
1297
|
+
settleBefore: damlTypes.Time;
|
|
1298
|
+
meta: Metadata;
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
declare const SettlementInfo:
|
|
1302
|
+
damlTypes.Serializable<SettlementInfo> & {
|
|
1303
|
+
}
|
|
1304
|
+
;
|
|
1282
1305
|
|
|
1283
|
-
declare const SettlementInfo: damlTypes.Serializable<SettlementInfo> & {}
|
|
1284
1306
|
|
|
1285
1307
|
declare type Reference = {
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
>
|
|
1290
|
-
}
|
|
1308
|
+
id: string;
|
|
1309
|
+
cid: damlTypes.Optional<damlTypes.ContractId<AnyContract>>;
|
|
1310
|
+
};
|
|
1291
1311
|
|
|
1292
|
-
declare const Reference:
|
|
1312
|
+
declare const Reference:
|
|
1313
|
+
damlTypes.Serializable<Reference> & {
|
|
1314
|
+
}
|
|
1315
|
+
;
|
|
1293
1316
|
|
|
1294
1317
|
// Generated from Splice/Api/Token/AllocationInstructionV1.daml
|
|
1295
1318
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
@@ -1297,171 +1320,140 @@ declare const Reference: damlTypes.Serializable<Reference> & {}
|
|
|
1297
1320
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1298
1321
|
|
|
1299
1322
|
declare interface AllocationFactoryInterface {
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
{},
|
|
1304
|
-
undefined
|
|
1305
|
-
> &
|
|
1306
|
-
damlTypes.ChoiceFrom<
|
|
1307
|
-
damlTypes.InterfaceCompanion<AllocationFactory, undefined>
|
|
1308
|
-
>
|
|
1309
|
-
AllocationFactory_Allocate: damlTypes.Choice<
|
|
1310
|
-
AllocationFactory,
|
|
1311
|
-
AllocationFactory_Allocate,
|
|
1312
|
-
AllocationInstructionResult,
|
|
1313
|
-
undefined
|
|
1314
|
-
> &
|
|
1315
|
-
damlTypes.ChoiceFrom<
|
|
1316
|
-
damlTypes.InterfaceCompanion<AllocationFactory, undefined>
|
|
1317
|
-
>
|
|
1318
|
-
AllocationFactory_PublicFetch: damlTypes.Choice<
|
|
1319
|
-
AllocationFactory,
|
|
1320
|
-
AllocationFactory_PublicFetch,
|
|
1321
|
-
AllocationFactoryView,
|
|
1322
|
-
undefined
|
|
1323
|
-
> &
|
|
1324
|
-
damlTypes.ChoiceFrom<
|
|
1325
|
-
damlTypes.InterfaceCompanion<AllocationFactory, undefined>
|
|
1326
|
-
>
|
|
1323
|
+
Archive: damlTypes.Choice<AllocationFactory, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
|
|
1324
|
+
AllocationFactory_Allocate: damlTypes.Choice<AllocationFactory, AllocationFactory_Allocate, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
|
|
1325
|
+
AllocationFactory_PublicFetch: damlTypes.Choice<AllocationFactory, AllocationFactory_PublicFetch, AllocationFactoryView, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
|
|
1327
1326
|
}
|
|
1328
1327
|
|
|
1329
|
-
declare type AllocationFactory =
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
undefined,
|
|
1335
|
-
'#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'
|
|
1336
|
-
> &
|
|
1337
|
-
damlTypes.FromTemplate<AllocationFactory, unknown> &
|
|
1338
|
-
AllocationFactoryInterface
|
|
1328
|
+
declare type AllocationFactory = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & AllocationFactoryView;
|
|
1329
|
+
declare const AllocationFactory:
|
|
1330
|
+
damlTypes.InterfaceCompanion<AllocationFactory, undefined, '#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> &
|
|
1331
|
+
damlTypes.FromTemplate<AllocationFactory, unknown> &
|
|
1332
|
+
AllocationFactoryInterface;
|
|
1339
1333
|
declare interface AllocationInstructionInterface {
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
{},
|
|
1344
|
-
undefined
|
|
1345
|
-
> &
|
|
1346
|
-
damlTypes.ChoiceFrom<
|
|
1347
|
-
damlTypes.InterfaceCompanion<AllocationInstruction, undefined>
|
|
1348
|
-
>
|
|
1349
|
-
AllocationInstruction_Withdraw: damlTypes.Choice<
|
|
1350
|
-
AllocationInstruction,
|
|
1351
|
-
AllocationInstruction_Withdraw,
|
|
1352
|
-
AllocationInstructionResult,
|
|
1353
|
-
undefined
|
|
1354
|
-
> &
|
|
1355
|
-
damlTypes.ChoiceFrom<
|
|
1356
|
-
damlTypes.InterfaceCompanion<AllocationInstruction, undefined>
|
|
1357
|
-
>
|
|
1358
|
-
AllocationInstruction_Update: damlTypes.Choice<
|
|
1359
|
-
AllocationInstruction,
|
|
1360
|
-
AllocationInstruction_Update,
|
|
1361
|
-
AllocationInstructionResult,
|
|
1362
|
-
undefined
|
|
1363
|
-
> &
|
|
1364
|
-
damlTypes.ChoiceFrom<
|
|
1365
|
-
damlTypes.InterfaceCompanion<AllocationInstruction, undefined>
|
|
1366
|
-
>
|
|
1334
|
+
Archive: damlTypes.Choice<AllocationInstruction, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
|
|
1335
|
+
AllocationInstruction_Withdraw: damlTypes.Choice<AllocationInstruction, AllocationInstruction_Withdraw, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
|
|
1336
|
+
AllocationInstruction_Update: damlTypes.Choice<AllocationInstruction, AllocationInstruction_Update, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
|
|
1367
1337
|
}
|
|
1368
1338
|
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
> &
|
|
1377
|
-
damlTypes.FromTemplate<AllocationInstruction, unknown> &
|
|
1378
|
-
AllocationInstructionInterface
|
|
1339
|
+
|
|
1340
|
+
declare type AllocationInstruction = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView;
|
|
1341
|
+
declare const AllocationInstruction:
|
|
1342
|
+
damlTypes.InterfaceCompanion<AllocationInstruction, undefined, '#token-standard-models:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> &
|
|
1343
|
+
damlTypes.FromTemplate<AllocationInstruction, unknown> &
|
|
1344
|
+
AllocationInstructionInterface;
|
|
1345
|
+
|
|
1379
1346
|
|
|
1380
1347
|
declare type AllocationInstructionResult_Output =
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>
|
|
1394
|
-
}
|
|
1348
|
+
| { tag: 'AllocationInstructionResult_Pending'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending }
|
|
1349
|
+
| { tag: 'AllocationInstructionResult_Completed'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed }
|
|
1350
|
+
| { tag: 'AllocationInstructionResult_Failed'; value: {} }
|
|
1351
|
+
;
|
|
1352
|
+
|
|
1353
|
+
declare const AllocationInstructionResult_Output:
|
|
1354
|
+
damlTypes.Serializable<AllocationInstructionResult_Output> & {
|
|
1355
|
+
AllocationInstructionResult_Pending: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Pending>;
|
|
1356
|
+
AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>;
|
|
1357
|
+
}
|
|
1358
|
+
;
|
|
1359
|
+
|
|
1395
1360
|
|
|
1396
1361
|
declare namespace AllocationInstructionResult_Output {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1362
|
+
type AllocationInstructionResult_Pending = {
|
|
1363
|
+
allocationInstructionCid: damlTypes.ContractId<AllocationInstruction>;
|
|
1364
|
+
};
|
|
1400
1365
|
} //namespace AllocationInstructionResult_Output
|
|
1401
1366
|
|
|
1367
|
+
|
|
1402
1368
|
declare namespace AllocationInstructionResult_Output {
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1369
|
+
type AllocationInstructionResult_Completed = {
|
|
1370
|
+
allocationCid: damlTypes.ContractId<Allocation>;
|
|
1371
|
+
};
|
|
1406
1372
|
} //namespace AllocationInstructionResult_Output
|
|
1407
1373
|
|
|
1374
|
+
|
|
1408
1375
|
declare type AllocationInstructionResult = {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1376
|
+
output: AllocationInstructionResult_Output;
|
|
1377
|
+
senderChangeCids: damlTypes.ContractId<Holding>[];
|
|
1378
|
+
meta: Metadata;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
declare const AllocationInstructionResult:
|
|
1382
|
+
damlTypes.Serializable<AllocationInstructionResult> & {
|
|
1383
|
+
}
|
|
1384
|
+
;
|
|
1413
1385
|
|
|
1414
|
-
declare const AllocationInstructionResult: damlTypes.Serializable<AllocationInstructionResult> & {}
|
|
1415
1386
|
|
|
1416
1387
|
declare type AllocationFactory_PublicFetch = {
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
}
|
|
1388
|
+
expectedAdmin: damlTypes.Party;
|
|
1389
|
+
actor: damlTypes.Party;
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
declare const AllocationFactory_PublicFetch:
|
|
1393
|
+
damlTypes.Serializable<AllocationFactory_PublicFetch> & {
|
|
1394
|
+
}
|
|
1395
|
+
;
|
|
1420
1396
|
|
|
1421
|
-
declare const AllocationFactory_PublicFetch: damlTypes.Serializable<AllocationFactory_PublicFetch> & {}
|
|
1422
1397
|
|
|
1423
1398
|
declare type AllocationFactory_Allocate = {
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
}
|
|
1399
|
+
expectedAdmin: damlTypes.Party;
|
|
1400
|
+
allocation: AllocationSpecification;
|
|
1401
|
+
requestedAt: damlTypes.Time;
|
|
1402
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1403
|
+
extraArgs: ExtraArgs;
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
declare const AllocationFactory_Allocate:
|
|
1407
|
+
damlTypes.Serializable<AllocationFactory_Allocate> & {
|
|
1408
|
+
}
|
|
1409
|
+
;
|
|
1430
1410
|
|
|
1431
|
-
declare const AllocationFactory_Allocate: damlTypes.Serializable<AllocationFactory_Allocate> & {}
|
|
1432
1411
|
|
|
1433
1412
|
declare type AllocationFactoryView = {
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
}
|
|
1413
|
+
admin: damlTypes.Party;
|
|
1414
|
+
meta: Metadata;
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
declare const AllocationFactoryView:
|
|
1418
|
+
damlTypes.Serializable<AllocationFactoryView> & {
|
|
1419
|
+
}
|
|
1420
|
+
;
|
|
1437
1421
|
|
|
1438
|
-
declare const AllocationFactoryView: damlTypes.Serializable<AllocationFactoryView> & {}
|
|
1439
1422
|
|
|
1440
1423
|
declare type AllocationInstruction_Update = {
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
}
|
|
1424
|
+
extraActors: damlTypes.Party[];
|
|
1425
|
+
extraArgs: ExtraArgs;
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
declare const AllocationInstruction_Update:
|
|
1429
|
+
damlTypes.Serializable<AllocationInstruction_Update> & {
|
|
1430
|
+
}
|
|
1431
|
+
;
|
|
1444
1432
|
|
|
1445
|
-
declare const AllocationInstruction_Update: damlTypes.Serializable<AllocationInstruction_Update> & {}
|
|
1446
1433
|
|
|
1447
1434
|
declare type AllocationInstruction_Withdraw = {
|
|
1448
|
-
|
|
1449
|
-
}
|
|
1435
|
+
extraArgs: ExtraArgs;
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
declare const AllocationInstruction_Withdraw:
|
|
1439
|
+
damlTypes.Serializable<AllocationInstruction_Withdraw> & {
|
|
1440
|
+
}
|
|
1441
|
+
;
|
|
1450
1442
|
|
|
1451
|
-
declare const AllocationInstruction_Withdraw: damlTypes.Serializable<AllocationInstruction_Withdraw> & {}
|
|
1452
1443
|
|
|
1453
1444
|
declare type AllocationInstructionView = {
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
meta: Metadata
|
|
1462
|
-
}
|
|
1445
|
+
originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<AllocationInstruction>>;
|
|
1446
|
+
allocation: AllocationSpecification;
|
|
1447
|
+
pendingActions: damlTypes.Map<damlTypes.Party, string>;
|
|
1448
|
+
requestedAt: damlTypes.Time;
|
|
1449
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1450
|
+
meta: Metadata;
|
|
1451
|
+
};
|
|
1463
1452
|
|
|
1464
|
-
declare const AllocationInstructionView:
|
|
1453
|
+
declare const AllocationInstructionView:
|
|
1454
|
+
damlTypes.Serializable<AllocationInstructionView> & {
|
|
1455
|
+
}
|
|
1456
|
+
;
|
|
1465
1457
|
|
|
1466
1458
|
declare const index_d$8_AllocationFactory: typeof AllocationFactory;
|
|
1467
1459
|
type index_d$8_AllocationFactoryInterface = AllocationFactoryInterface;
|
|
@@ -1486,66 +1478,49 @@ declare namespace index_d$8 {
|
|
|
1486
1478
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1487
1479
|
|
|
1488
1480
|
declare interface AllocationRequestInterface {
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
{},
|
|
1493
|
-
undefined
|
|
1494
|
-
> &
|
|
1495
|
-
damlTypes.ChoiceFrom<
|
|
1496
|
-
damlTypes.InterfaceCompanion<AllocationRequest, undefined>
|
|
1497
|
-
>
|
|
1498
|
-
AllocationRequest_Reject: damlTypes.Choice<
|
|
1499
|
-
AllocationRequest,
|
|
1500
|
-
AllocationRequest_Reject,
|
|
1501
|
-
ChoiceExecutionMetadata,
|
|
1502
|
-
undefined
|
|
1503
|
-
> &
|
|
1504
|
-
damlTypes.ChoiceFrom<
|
|
1505
|
-
damlTypes.InterfaceCompanion<AllocationRequest, undefined>
|
|
1506
|
-
>
|
|
1507
|
-
AllocationRequest_Withdraw: damlTypes.Choice<
|
|
1508
|
-
AllocationRequest,
|
|
1509
|
-
AllocationRequest_Withdraw,
|
|
1510
|
-
ChoiceExecutionMetadata,
|
|
1511
|
-
undefined
|
|
1512
|
-
> &
|
|
1513
|
-
damlTypes.ChoiceFrom<
|
|
1514
|
-
damlTypes.InterfaceCompanion<AllocationRequest, undefined>
|
|
1515
|
-
>
|
|
1481
|
+
Archive: damlTypes.Choice<AllocationRequest, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
|
|
1482
|
+
AllocationRequest_Reject: damlTypes.Choice<AllocationRequest, AllocationRequest_Reject, ChoiceExecutionMetadata, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
|
|
1483
|
+
AllocationRequest_Withdraw: damlTypes.Choice<AllocationRequest, AllocationRequest_Withdraw, ChoiceExecutionMetadata, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationRequest, undefined>>;
|
|
1516
1484
|
}
|
|
1517
1485
|
|
|
1518
|
-
declare type AllocationRequest =
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
'#token-standard-models:Splice.Api.Token.AllocationRequestV1:AllocationRequest'
|
|
1525
|
-
> &
|
|
1526
|
-
damlTypes.FromTemplate<AllocationRequest, unknown> &
|
|
1527
|
-
AllocationRequestInterface
|
|
1486
|
+
declare type AllocationRequest = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> & AllocationRequestView;
|
|
1487
|
+
declare const AllocationRequest:
|
|
1488
|
+
damlTypes.InterfaceCompanion<AllocationRequest, undefined, '#token-standard-models:Splice.Api.Token.AllocationRequestV1:AllocationRequest'> &
|
|
1489
|
+
damlTypes.FromTemplate<AllocationRequest, unknown> &
|
|
1490
|
+
AllocationRequestInterface;
|
|
1491
|
+
|
|
1528
1492
|
|
|
1529
1493
|
declare type AllocationRequestView = {
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
}
|
|
1494
|
+
settlement: SettlementInfo;
|
|
1495
|
+
transferLegs: { [key: string]: TransferLeg };
|
|
1496
|
+
meta: Metadata;
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
declare const AllocationRequestView:
|
|
1500
|
+
damlTypes.Serializable<AllocationRequestView> & {
|
|
1501
|
+
}
|
|
1502
|
+
;
|
|
1534
1503
|
|
|
1535
|
-
declare const AllocationRequestView: damlTypes.Serializable<AllocationRequestView> & {}
|
|
1536
1504
|
|
|
1537
1505
|
declare type AllocationRequest_Withdraw = {
|
|
1538
|
-
|
|
1539
|
-
}
|
|
1506
|
+
extraArgs: ExtraArgs;
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
declare const AllocationRequest_Withdraw:
|
|
1510
|
+
damlTypes.Serializable<AllocationRequest_Withdraw> & {
|
|
1511
|
+
}
|
|
1512
|
+
;
|
|
1540
1513
|
|
|
1541
|
-
declare const AllocationRequest_Withdraw: damlTypes.Serializable<AllocationRequest_Withdraw> & {}
|
|
1542
1514
|
|
|
1543
1515
|
declare type AllocationRequest_Reject = {
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
}
|
|
1516
|
+
actor: damlTypes.Party;
|
|
1517
|
+
extraArgs: ExtraArgs;
|
|
1518
|
+
};
|
|
1547
1519
|
|
|
1548
|
-
declare const AllocationRequest_Reject:
|
|
1520
|
+
declare const AllocationRequest_Reject:
|
|
1521
|
+
damlTypes.Serializable<AllocationRequest_Reject> & {
|
|
1522
|
+
}
|
|
1523
|
+
;
|
|
1549
1524
|
|
|
1550
1525
|
declare const index_d$7_AllocationRequest: typeof AllocationRequest;
|
|
1551
1526
|
type index_d$7_AllocationRequestInterface = AllocationRequestInterface;
|
|
@@ -1604,227 +1579,194 @@ declare namespace index_d$4 {
|
|
|
1604
1579
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
1605
1580
|
|
|
1606
1581
|
declare interface TransferFactoryInterface {
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
{},
|
|
1611
|
-
undefined
|
|
1612
|
-
> &
|
|
1613
|
-
damlTypes.ChoiceFrom<
|
|
1614
|
-
damlTypes.InterfaceCompanion<TransferFactory, undefined>
|
|
1615
|
-
>
|
|
1616
|
-
TransferFactory_Transfer: damlTypes.Choice<
|
|
1617
|
-
TransferFactory,
|
|
1618
|
-
TransferFactory_Transfer,
|
|
1619
|
-
TransferInstructionResult,
|
|
1620
|
-
undefined
|
|
1621
|
-
> &
|
|
1622
|
-
damlTypes.ChoiceFrom<
|
|
1623
|
-
damlTypes.InterfaceCompanion<TransferFactory, undefined>
|
|
1624
|
-
>
|
|
1625
|
-
TransferFactory_PublicFetch: damlTypes.Choice<
|
|
1626
|
-
TransferFactory,
|
|
1627
|
-
TransferFactory_PublicFetch,
|
|
1628
|
-
TransferFactoryView,
|
|
1629
|
-
undefined
|
|
1630
|
-
> &
|
|
1631
|
-
damlTypes.ChoiceFrom<
|
|
1632
|
-
damlTypes.InterfaceCompanion<TransferFactory, undefined>
|
|
1633
|
-
>
|
|
1582
|
+
Archive: damlTypes.Choice<TransferFactory, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
|
|
1583
|
+
TransferFactory_Transfer: damlTypes.Choice<TransferFactory, TransferFactory_Transfer, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
|
|
1584
|
+
TransferFactory_PublicFetch: damlTypes.Choice<TransferFactory, TransferFactory_PublicFetch, TransferFactoryView, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferFactory, undefined>>;
|
|
1634
1585
|
}
|
|
1635
1586
|
|
|
1636
|
-
declare type TransferFactory =
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
undefined,
|
|
1642
|
-
'#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferFactory'
|
|
1643
|
-
> &
|
|
1644
|
-
damlTypes.FromTemplate<TransferFactory, unknown> &
|
|
1645
|
-
TransferFactoryInterface
|
|
1587
|
+
declare type TransferFactory = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferFactory'> & TransferFactoryView;
|
|
1588
|
+
declare const TransferFactory:
|
|
1589
|
+
damlTypes.InterfaceCompanion<TransferFactory, undefined, '#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferFactory'> &
|
|
1590
|
+
damlTypes.FromTemplate<TransferFactory, unknown> &
|
|
1591
|
+
TransferFactoryInterface;
|
|
1646
1592
|
declare interface TransferInstructionInterface {
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
> &
|
|
1653
|
-
damlTypes.ChoiceFrom<
|
|
1654
|
-
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1655
|
-
>
|
|
1656
|
-
TransferInstruction_Accept: damlTypes.Choice<
|
|
1657
|
-
TransferInstruction,
|
|
1658
|
-
TransferInstruction_Accept,
|
|
1659
|
-
TransferInstructionResult,
|
|
1660
|
-
undefined
|
|
1661
|
-
> &
|
|
1662
|
-
damlTypes.ChoiceFrom<
|
|
1663
|
-
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1664
|
-
>
|
|
1665
|
-
TransferInstruction_Reject: damlTypes.Choice<
|
|
1666
|
-
TransferInstruction,
|
|
1667
|
-
TransferInstruction_Reject,
|
|
1668
|
-
TransferInstructionResult,
|
|
1669
|
-
undefined
|
|
1670
|
-
> &
|
|
1671
|
-
damlTypes.ChoiceFrom<
|
|
1672
|
-
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1673
|
-
>
|
|
1674
|
-
TransferInstruction_Withdraw: damlTypes.Choice<
|
|
1675
|
-
TransferInstruction,
|
|
1676
|
-
TransferInstruction_Withdraw,
|
|
1677
|
-
TransferInstructionResult,
|
|
1678
|
-
undefined
|
|
1679
|
-
> &
|
|
1680
|
-
damlTypes.ChoiceFrom<
|
|
1681
|
-
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1682
|
-
>
|
|
1683
|
-
TransferInstruction_Update: damlTypes.Choice<
|
|
1684
|
-
TransferInstruction,
|
|
1685
|
-
TransferInstruction_Update,
|
|
1686
|
-
TransferInstructionResult,
|
|
1687
|
-
undefined
|
|
1688
|
-
> &
|
|
1689
|
-
damlTypes.ChoiceFrom<
|
|
1690
|
-
damlTypes.InterfaceCompanion<TransferInstruction, undefined>
|
|
1691
|
-
>
|
|
1593
|
+
Archive: damlTypes.Choice<TransferInstruction, Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1594
|
+
TransferInstruction_Accept: damlTypes.Choice<TransferInstruction, TransferInstruction_Accept, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1595
|
+
TransferInstruction_Reject: damlTypes.Choice<TransferInstruction, TransferInstruction_Reject, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1596
|
+
TransferInstruction_Withdraw: damlTypes.Choice<TransferInstruction, TransferInstruction_Withdraw, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1597
|
+
TransferInstruction_Update: damlTypes.Choice<TransferInstruction, TransferInstruction_Update, TransferInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<TransferInstruction, undefined>>;
|
|
1692
1598
|
}
|
|
1693
1599
|
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
> &
|
|
1702
|
-
damlTypes.FromTemplate<TransferInstruction, unknown> &
|
|
1703
|
-
TransferInstructionInterface
|
|
1600
|
+
|
|
1601
|
+
declare type TransferInstruction = damlTypes.Interface<'#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> & TransferInstructionView;
|
|
1602
|
+
declare const TransferInstruction:
|
|
1603
|
+
damlTypes.InterfaceCompanion<TransferInstruction, undefined, '#token-standard-models:Splice.Api.Token.TransferInstructionV1:TransferInstruction'> &
|
|
1604
|
+
damlTypes.FromTemplate<TransferInstruction, unknown> &
|
|
1605
|
+
TransferInstructionInterface;
|
|
1606
|
+
|
|
1704
1607
|
|
|
1705
1608
|
declare type TransferFactoryView = {
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
}
|
|
1609
|
+
admin: damlTypes.Party;
|
|
1610
|
+
meta: Metadata;
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
declare const TransferFactoryView:
|
|
1614
|
+
damlTypes.Serializable<TransferFactoryView> & {
|
|
1615
|
+
}
|
|
1616
|
+
;
|
|
1709
1617
|
|
|
1710
|
-
declare const TransferFactoryView: damlTypes.Serializable<TransferFactoryView> & {}
|
|
1711
1618
|
|
|
1712
1619
|
declare type TransferFactory_PublicFetch = {
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
}
|
|
1620
|
+
expectedAdmin: damlTypes.Party;
|
|
1621
|
+
actor: damlTypes.Party;
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1624
|
+
declare const TransferFactory_PublicFetch:
|
|
1625
|
+
damlTypes.Serializable<TransferFactory_PublicFetch> & {
|
|
1626
|
+
}
|
|
1627
|
+
;
|
|
1716
1628
|
|
|
1717
|
-
declare const TransferFactory_PublicFetch: damlTypes.Serializable<TransferFactory_PublicFetch> & {}
|
|
1718
1629
|
|
|
1719
1630
|
declare type TransferFactory_Transfer = {
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
}
|
|
1631
|
+
expectedAdmin: damlTypes.Party;
|
|
1632
|
+
transfer: Transfer;
|
|
1633
|
+
extraArgs: ExtraArgs;
|
|
1634
|
+
};
|
|
1635
|
+
|
|
1636
|
+
declare const TransferFactory_Transfer:
|
|
1637
|
+
damlTypes.Serializable<TransferFactory_Transfer> & {
|
|
1638
|
+
}
|
|
1639
|
+
;
|
|
1724
1640
|
|
|
1725
|
-
declare const TransferFactory_Transfer: damlTypes.Serializable<TransferFactory_Transfer> & {}
|
|
1726
1641
|
|
|
1727
1642
|
declare type TransferInstruction_Update = {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
}
|
|
1643
|
+
extraActors: damlTypes.Party[];
|
|
1644
|
+
extraArgs: ExtraArgs;
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
declare const TransferInstruction_Update:
|
|
1648
|
+
damlTypes.Serializable<TransferInstruction_Update> & {
|
|
1649
|
+
}
|
|
1650
|
+
;
|
|
1731
1651
|
|
|
1732
|
-
declare const TransferInstruction_Update: damlTypes.Serializable<TransferInstruction_Update> & {}
|
|
1733
1652
|
|
|
1734
1653
|
declare type TransferInstruction_Withdraw = {
|
|
1735
|
-
|
|
1736
|
-
}
|
|
1654
|
+
extraArgs: ExtraArgs;
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
declare const TransferInstruction_Withdraw:
|
|
1658
|
+
damlTypes.Serializable<TransferInstruction_Withdraw> & {
|
|
1659
|
+
}
|
|
1660
|
+
;
|
|
1737
1661
|
|
|
1738
|
-
declare const TransferInstruction_Withdraw: damlTypes.Serializable<TransferInstruction_Withdraw> & {}
|
|
1739
1662
|
|
|
1740
1663
|
declare type TransferInstruction_Reject = {
|
|
1741
|
-
|
|
1742
|
-
}
|
|
1664
|
+
extraArgs: ExtraArgs;
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
declare const TransferInstruction_Reject:
|
|
1668
|
+
damlTypes.Serializable<TransferInstruction_Reject> & {
|
|
1669
|
+
}
|
|
1670
|
+
;
|
|
1743
1671
|
|
|
1744
|
-
declare const TransferInstruction_Reject: damlTypes.Serializable<TransferInstruction_Reject> & {}
|
|
1745
1672
|
|
|
1746
1673
|
declare type TransferInstruction_Accept = {
|
|
1747
|
-
|
|
1748
|
-
}
|
|
1674
|
+
extraArgs: ExtraArgs;
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
declare const TransferInstruction_Accept:
|
|
1678
|
+
damlTypes.Serializable<TransferInstruction_Accept> & {
|
|
1679
|
+
}
|
|
1680
|
+
;
|
|
1749
1681
|
|
|
1750
|
-
declare const TransferInstruction_Accept: damlTypes.Serializable<TransferInstruction_Accept> & {}
|
|
1751
1682
|
|
|
1752
1683
|
declare type TransferInstructionView = {
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1684
|
+
originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<TransferInstruction>>;
|
|
1685
|
+
transfer: Transfer;
|
|
1686
|
+
status: TransferInstructionStatus;
|
|
1687
|
+
meta: Metadata;
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
declare const TransferInstructionView:
|
|
1691
|
+
damlTypes.Serializable<TransferInstructionView> & {
|
|
1692
|
+
}
|
|
1693
|
+
;
|
|
1760
1694
|
|
|
1761
|
-
declare const TransferInstructionView: damlTypes.Serializable<TransferInstructionView> & {}
|
|
1762
1695
|
|
|
1763
1696
|
declare type TransferInstructionStatus =
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1697
|
+
| { tag: 'TransferPendingReceiverAcceptance'; value: {} }
|
|
1698
|
+
| { tag: 'TransferPendingInternalWorkflow'; value: TransferInstructionStatus.TransferPendingInternalWorkflow }
|
|
1699
|
+
;
|
|
1700
|
+
|
|
1701
|
+
declare const TransferInstructionStatus:
|
|
1702
|
+
damlTypes.Serializable<TransferInstructionStatus> & {
|
|
1703
|
+
TransferPendingInternalWorkflow: damlTypes.Serializable<TransferInstructionStatus.TransferPendingInternalWorkflow>;
|
|
1704
|
+
}
|
|
1705
|
+
;
|
|
1706
|
+
|
|
1773
1707
|
|
|
1774
1708
|
declare namespace TransferInstructionStatus {
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1709
|
+
type TransferPendingInternalWorkflow = {
|
|
1710
|
+
pendingActions: damlTypes.Map<damlTypes.Party, string>;
|
|
1711
|
+
};
|
|
1778
1712
|
} //namespace TransferInstructionStatus
|
|
1779
1713
|
|
|
1714
|
+
|
|
1780
1715
|
declare type TransferInstructionResult_Output =
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>
|
|
1794
|
-
}
|
|
1716
|
+
| { tag: 'TransferInstructionResult_Pending'; value: TransferInstructionResult_Output.TransferInstructionResult_Pending }
|
|
1717
|
+
| { tag: 'TransferInstructionResult_Completed'; value: TransferInstructionResult_Output.TransferInstructionResult_Completed }
|
|
1718
|
+
| { tag: 'TransferInstructionResult_Failed'; value: {} }
|
|
1719
|
+
;
|
|
1720
|
+
|
|
1721
|
+
declare const TransferInstructionResult_Output:
|
|
1722
|
+
damlTypes.Serializable<TransferInstructionResult_Output> & {
|
|
1723
|
+
TransferInstructionResult_Pending: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Pending>;
|
|
1724
|
+
TransferInstructionResult_Completed: damlTypes.Serializable<TransferInstructionResult_Output.TransferInstructionResult_Completed>;
|
|
1725
|
+
}
|
|
1726
|
+
;
|
|
1727
|
+
|
|
1795
1728
|
|
|
1796
1729
|
declare namespace TransferInstructionResult_Output {
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1730
|
+
type TransferInstructionResult_Pending = {
|
|
1731
|
+
transferInstructionCid: damlTypes.ContractId<TransferInstruction>;
|
|
1732
|
+
};
|
|
1800
1733
|
} //namespace TransferInstructionResult_Output
|
|
1801
1734
|
|
|
1735
|
+
|
|
1802
1736
|
declare namespace TransferInstructionResult_Output {
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1737
|
+
type TransferInstructionResult_Completed = {
|
|
1738
|
+
receiverHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1739
|
+
};
|
|
1806
1740
|
} //namespace TransferInstructionResult_Output
|
|
1807
1741
|
|
|
1742
|
+
|
|
1808
1743
|
declare type TransferInstructionResult = {
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
}
|
|
1744
|
+
output: TransferInstructionResult_Output;
|
|
1745
|
+
senderChangeCids: damlTypes.ContractId<Holding>[];
|
|
1746
|
+
meta: Metadata;
|
|
1747
|
+
};
|
|
1748
|
+
|
|
1749
|
+
declare const TransferInstructionResult:
|
|
1750
|
+
damlTypes.Serializable<TransferInstructionResult> & {
|
|
1751
|
+
}
|
|
1752
|
+
;
|
|
1813
1753
|
|
|
1814
|
-
declare const TransferInstructionResult: damlTypes.Serializable<TransferInstructionResult> & {}
|
|
1815
1754
|
|
|
1816
1755
|
declare type Transfer = {
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
}
|
|
1756
|
+
sender: damlTypes.Party;
|
|
1757
|
+
receiver: damlTypes.Party;
|
|
1758
|
+
amount: damlTypes.Numeric;
|
|
1759
|
+
instrumentId: InstrumentId;
|
|
1760
|
+
requestedAt: damlTypes.Time;
|
|
1761
|
+
executeBefore: damlTypes.Time;
|
|
1762
|
+
inputHoldingCids: damlTypes.ContractId<Holding>[];
|
|
1763
|
+
meta: Metadata;
|
|
1764
|
+
};
|
|
1826
1765
|
|
|
1827
|
-
declare const Transfer:
|
|
1766
|
+
declare const Transfer:
|
|
1767
|
+
damlTypes.Serializable<Transfer> & {
|
|
1768
|
+
}
|
|
1769
|
+
;
|
|
1828
1770
|
|
|
1829
1771
|
declare const index_d$3_Transfer: typeof Transfer;
|
|
1830
1772
|
declare const index_d$3_TransferFactory: typeof TransferFactory;
|
|
@@ -1870,8 +1812,7 @@ declare namespace index_d {
|
|
|
1870
1812
|
};
|
|
1871
1813
|
}
|
|
1872
1814
|
|
|
1873
|
-
declare const packageId =
|
|
1874
|
-
'3c373f302ebb5531459ceca3b6f0409365d119767ffe2026a04e6bd750dae10d'
|
|
1815
|
+
declare const packageId = '3c373f302ebb5531459ceca3b6f0409365d119767ffe2026a04e6bd750dae10d';
|
|
1875
1816
|
|
|
1876
1817
|
declare const TransferInstructionV1: typeof index_d$3;
|
|
1877
1818
|
declare const AllocationInstructionV1: typeof index_d$8;
|