+ {clientContractAddress &&
+ clientContractAddress !== null &&
+ [
+ 'KYCRequested',
+ 'Submitted',
+ 'AdditionalInfoRequired',
+ 'AdditionalInfoSubmitted',
+ ].includes(application?.Lifecycle?.State) && (
+
+
+
+ Deviation type
+
+ {
+ setAllocationConfig({
+ ...allocationConfig,
+ deviationType: (e.target as HTMLInputElement)
+ .value as DeviationType,
+ })
+ }}
+ >
+ }
+ label="Directly"
+ />
+ }
+ label={'Contract'}
+ />
+
+
+
+ )}
+
+ {clientContractAddress &&
+ clientContractAddress !== null &&
+ [
+ 'KYCRequested',
+ 'Submitted',
+ 'AdditionalInfoRequired',
+ 'AdditionalInfoSubmitted',
+ ].includes(application?.Lifecycle?.State) && (
+ Allocation
+ )}
+
+
+
+
+
+ ) => {
+ setAllocationConfig((prev: AllocationConfig) => ({
+ ...prev,
+ amount: e.target.value,
+ }))
+ }}
+ variant="outlined"
+ required
+ />
+
+
+
+
+
+
+ Unit
+
+
+
+
+
+
+