Type Alias: CreateTarpInput

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / CreateTarpInput

Type Alias: CreateTarpInput

type CreateTarpInput: {
  amount: number;
  audience: null | string;
  blinkOnly: null | boolean;
  content: null | string;
  conversionAudience: {
     campaignIds: string[];
     operation: ConversionAudienceOperation;
    };
  description: null | string;
  endTime: number;
  eventConfig: EventRequirementConfigSchema;
  imageUrl: null | string;
  maxEntries: null | number;
  participants: TarpParticipants;
  startTime: number;
  targetLink: null | string;
  timeConfig: {
     duration: number;
     requirement: TokenHoldingTimeConfigSchema;
     type: TOKEN_HOLDING;
    } | {
     duration: number;
     requirement: OpenPositionTimeConfigSchema;
     type: OPEN_POSITION;
    } | {
     duration: number;
     requirement: StakeSolTimeConfigSchema;
     type: STAKE_SOL;
    };
  title: string;
  tokenMint: string;
  tokenStandard: TokenStandard;
};

Type declaration

Defined in

types/tarp.ts:53

Last updated