// Generated from ../../../../Splice/Api/Token/AllocationInstructionV1/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 pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d from '../AllocationV1'; import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template'; export declare type AllocationFactory = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & AllocationFactoryView export declare interface AllocationFactoryInterface { AllocationFactory_Allocate: damlTypes.Choice & damlTypes.ChoiceFrom>; AllocationFactory_PublicFetch: damlTypes.Choice & damlTypes.ChoiceFrom>; Archive: damlTypes.Choice & damlTypes.ChoiceFrom>; } export declare const AllocationFactory: damlTypes.InterfaceCompanion & damlTypes.FromTemplate & AllocationFactoryInterface export declare type AllocationInstruction = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView export declare interface AllocationInstructionInterface { AllocationInstruction_Update: damlTypes.Choice & damlTypes.ChoiceFrom>; AllocationInstruction_Withdraw: damlTypes.Choice & damlTypes.ChoiceFrom>; Archive: damlTypes.Choice & damlTypes.ChoiceFrom>; } export declare const AllocationInstruction: damlTypes.InterfaceCompanion & damlTypes.FromTemplate & AllocationInstructionInterface export declare type AllocationFactoryView = { admin: damlTypes.Party, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationFactoryView: damlTypes.Serializable export declare type AllocationFactory_Allocate = { expectedAdmin: damlTypes.Party, allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification, requestedAt: damlTypes.Time, inputHoldingCids: damlTypes.ContractId[], extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const AllocationFactory_Allocate: damlTypes.Serializable export declare type AllocationFactory_PublicFetch = { expectedAdmin: damlTypes.Party, actor: damlTypes.Party, } export declare const AllocationFactory_PublicFetch: damlTypes.Serializable export declare type AllocationInstructionResult = { output: AllocationInstructionResult_Output, senderChangeCids: damlTypes.ContractId[], meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationInstructionResult: damlTypes.Serializable export declare type AllocationInstructionResult_Output = | { tag: 'AllocationInstructionResult_Pending'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending } | { tag: 'AllocationInstructionResult_Completed'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed } | { tag: 'AllocationInstructionResult_Failed'; value: {} } export declare const AllocationInstructionResult_Output: damlTypes.Serializable & { AllocationInstructionResult_Completed: damlTypes.Serializable; AllocationInstructionResult_Pending: damlTypes.Serializable; } export namespace AllocationInstructionResult_Output { type AllocationInstructionResult_Completed = { allocationCid: damlTypes.ContractId, } type AllocationInstructionResult_Pending = { allocationInstructionCid: damlTypes.ContractId, } } export declare type AllocationInstructionView = { originalInstructionCid: damlTypes.Optional>, allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification, pendingActions: damlTypes.Map, requestedAt: damlTypes.Time, inputHoldingCids: damlTypes.ContractId[], meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata, } export declare const AllocationInstructionView: damlTypes.Serializable export declare type AllocationInstruction_Update = { extraActors: damlTypes.Party[], extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const AllocationInstruction_Update: damlTypes.Serializable export declare type AllocationInstruction_Withdraw = { extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs, } export declare const AllocationInstruction_Withdraw: damlTypes.Serializable