// Generated from CantonPayments/Airdrop/PersonalAirdrop.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';
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
import * as damlLedger from '@daml/ledger';

import * as pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 from '../../..';
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';

export declare type PersonalAirdrop_Archive = {
  actor: damlTypes.Party;
};

export declare const PersonalAirdrop_Archive:
  damlTypes.Serializable<PersonalAirdrop_Archive> & {
  }
;


export declare type PersonalAirdrop_ExecuteTransfer = {
  amuletInputs: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[];
  openMiningRoundCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Round.OpenMiningRound>;
  amount: damlTypes.Numeric;
  numberOfTransfers: damlTypes.Int;
  optMergeAmuletInputs: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[]>;
};

export declare const PersonalAirdrop_ExecuteTransfer:
  damlTypes.Serializable<PersonalAirdrop_ExecuteTransfer> & {
  }
;


export declare type PersonalAirdrop = {
  dso: damlTypes.Party;
  sender: damlTypes.Party;
  provider: damlTypes.Party;
  featuredAppRight: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight>;
  amuletRulesCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.AmuletRules>;
  appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
  recipient: damlTypes.Party;
};

export declare interface PersonalAirdropInterface {
  PersonalAirdrop_Archive: damlTypes.Choice<PersonalAirdrop, PersonalAirdrop_Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PersonalAirdrop, undefined>>;
  PersonalAirdrop_ExecuteTransfer: damlTypes.Choice<PersonalAirdrop, PersonalAirdrop_ExecuteTransfer, pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.TransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PersonalAirdrop, undefined>>;
  Archive: damlTypes.Choice<PersonalAirdrop, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PersonalAirdrop, undefined>>;
}
export declare const PersonalAirdrop:
  damlTypes.Template<PersonalAirdrop, undefined, '#CantonPayments:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop'> &
  damlTypes.ToInterface<PersonalAirdrop, never> &
  PersonalAirdropInterface;

export declare namespace PersonalAirdrop {
  export type CreateEvent = damlLedger.CreateEvent<PersonalAirdrop, undefined, typeof PersonalAirdrop.templateId>
  export type ArchiveEvent = damlLedger.ArchiveEvent<PersonalAirdrop, typeof PersonalAirdrop.templateId>
  export type Event = damlLedger.Event<PersonalAirdrop, undefined, typeof PersonalAirdrop.templateId>
  export type QueryResult = damlLedger.QueryResult<PersonalAirdrop, undefined, typeof PersonalAirdrop.templateId>
}


