Type alias Campaign

Campaign: {
    advertiser: Advertiser;
    attributable?: boolean;
    chain: Chains;
    details: CampaignDetails;
    disableVerification?: boolean;
    events: {
        contractAddress?: string;
        contractEvent?: string;
        description?: string;
        nativeLimit?: number;
        perCommit?: number;
        rate: number;
        strategy: CampaignStrategies;
    }[];
    id: string;
    origin: string;
    owner: string;
    reward: CampaignReward;
    unlisted?: boolean;
    whitelist?: {
        externalLink: string;
        partners: string[];
    };
}

Type declaration

  • advertiser: Advertiser
  • Optional attributable?: boolean
  • chain: Chains
  • details: CampaignDetails
  • Optional disableVerification?: boolean
  • events: {
        contractAddress?: string;
        contractEvent?: string;
        description?: string;
        nativeLimit?: number;
        perCommit?: number;
        rate: number;
        strategy: CampaignStrategies;
    }[]
  • id: string
  • origin: string
  • owner: string
  • reward: CampaignReward
  • Optional unlisted?: boolean
  • Optional whitelist?: {
        externalLink: string;
        partners: string[];
    }
    • externalLink: string
    • partners: string[]

Generated using TypeDoc