// Generated from CantonPayments/Airdrop/SimpleAirdrop.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 pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';

export declare type SimpleAirdrop_Execute = {
  recipientSpecs: RecipientSpec[];
  initialAmuletInputs: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[];
  openMiningRoundCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Round.OpenMiningRound>;
  amountPerTransfer: damlTypes.Numeric;
};

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


export declare type SimpleAirdrop = {
  config: SimpleAirdropConfig;
};

export declare interface SimpleAirdropInterface {
  Archive: damlTypes.Choice<SimpleAirdrop, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SimpleAirdrop, undefined>>;
  SimpleAirdrop_Execute: damlTypes.Choice<SimpleAirdrop, SimpleAirdrop_Execute, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SimpleAirdrop, undefined>>;
}
export declare const SimpleAirdrop:
  damlTypes.Template<SimpleAirdrop, undefined, '#CantonPayments:CantonPayments.Airdrop.SimpleAirdrop:SimpleAirdrop'> &
  damlTypes.ToInterface<SimpleAirdrop, never> &
  SimpleAirdropInterface;

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



export declare type SimpleAirdropConfig = {
  sender: damlTypes.Party;
  featuredAppRight: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight>>;
  amuletRulesCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.AmuletRules>;
  dso: damlTypes.Party;
};

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


export declare type RecipientSpec = {
  transferPreapprovalCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.TransferPreapproval>;
  numberOfTransfers: damlTypes.Int;
};

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

