// Generated from ../../../../Splice/Api/Token/AllocationV1/module.daml /* eslint-disable @typescript-eslint/camelcase */ /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable @typescript-eslint/no-use-before-define */ import * as jtv from '@mojotech/json-type-validation'; import * as damlTypes from '@daml/types'; import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '../MetadataV1'; import * as pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b from '../HoldingV1'; import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template'; export declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView export declare interface AllocationInterface { Allocation_Cancel: damlTypes.Choice & damlTypes.ChoiceFrom>; Allocation_ExecuteTransfer: damlTypes.Choice & damlTypes.ChoiceFrom>; Allocation_Withdraw: damlTypes.Choice & damlTypes.ChoiceFrom>; Archive: damlTypes.Choice & damlTypes.ChoiceFrom>; } export declare const Allocation: damlTypes.InterfaceCompanion & damlTypes.FromTemplate & AllocationInterface export declare type AllocationSpecification = { settlement: SettlementInfo, transferLegId: string, transferLeg: TransferLeg, } export declare const AllocationSpecification: damlTypes.Serializable export declare type AllocationView = { allocation: AllocationSpecification, holdingCids: damlTypes.ContractId[], meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationView: damlTypes.Serializable export declare type Allocation_Cancel = { extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const Allocation_Cancel: damlTypes.Serializable export declare type Allocation_CancelResult = { senderHoldingCids: damlTypes.ContractId[], meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const Allocation_CancelResult: damlTypes.Serializable export declare type Allocation_ExecuteTransfer = { extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const Allocation_ExecuteTransfer: damlTypes.Serializable export declare type Allocation_ExecuteTransferResult = { senderHoldingCids: damlTypes.ContractId[], receiverHoldingCids: damlTypes.ContractId[], meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const Allocation_ExecuteTransferResult: damlTypes.Serializable export declare type Allocation_Withdraw = { extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const Allocation_Withdraw: damlTypes.Serializable export declare type Allocation_WithdrawResult = { senderHoldingCids: damlTypes.ContractId[], meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const Allocation_WithdrawResult: damlTypes.Serializable export declare type Reference = { id: string, cid: damlTypes.Optional>, } export declare const Reference: damlTypes.Serializable export declare type SettlementInfo = { executor: damlTypes.Party, settlementRef: Reference, requestedAt: damlTypes.Time, allocateBefore: damlTypes.Time, settleBefore: damlTypes.Time, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const SettlementInfo: damlTypes.Serializable export declare type TransferLeg = { sender: damlTypes.Party, receiver: damlTypes.Party, amount: damlTypes.Numeric, instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const TransferLeg: damlTypes.Serializable