@merkl/api 1.0.63 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,14 +2,6 @@ import type { ChainId } from "@angleprotocol/sdk/ts";
2
2
  import type { AddBlacklistModel, FindManyBlacklistModel } from "./blacklist.model";
3
3
  export declare class BlacklistService {
4
4
  static hashId(chainId: ChainId, userAddress: string, poolAddress: string): string;
5
- static findManyWithoutCache(query: FindManyBlacklistModel): Promise<{
6
- id: string;
7
- poolAddress: string;
8
- chainId: number;
9
- userAddress: string;
10
- arrestTimestamp: bigint;
11
- arrestDetails: import("@prisma/client/runtime/library").JsonValue;
12
- }[]>;
13
5
  static findMany(query?: FindManyBlacklistModel): Promise<{
14
6
  id: string;
15
7
  poolAddress: string;
@@ -365,8 +365,8 @@ export declare abstract class CampaignService {
365
365
  static getDailyAmount<T extends bigint | number>(start: T, end: T, amount: bigint): bigint;
366
366
  static createFakeCampaign<C extends CampaignType>(body: CampaignConfigMinimalModel): CampaignParameters<C>;
367
367
  static createFakeCampaignEngine(body: CampaignConfigMinimalModel): {
368
- computeChainId: number;
369
- chainId: number;
368
+ computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA;
369
+ chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA;
370
370
  campaignId: string;
371
371
  creator: string;
372
372
  type: CampaignType;
@@ -57,6 +57,10 @@ export declare abstract class OpportunityConvertor {
57
57
  [id: `53_${string}`]: OpportunityV3;
58
58
  [id: `54_${string}`]: OpportunityV3;
59
59
  [id: `55_${string}`]: OpportunityV3;
60
+ [id: `56_${string}`]: OpportunityV3;
61
+ [id: `57_${string}`]: OpportunityV3;
62
+ [id: `58_${string}`]: OpportunityV3;
63
+ [id: `59_${string}`]: OpportunityV3;
60
64
  }>;
61
65
  static logKeyAndTTLV3Opportunities(showCampaigns: boolean, test: boolean | undefined, identifier: string | undefined, chainId: string | undefined): Promise<void>;
62
66
  static wrapV3Opportunities(showCampaigns: boolean, test: boolean | undefined, identifier: string | undefined, chainId: string | undefined): Promise<{
@@ -115,5 +119,9 @@ export declare abstract class OpportunityConvertor {
115
119
  [id: `53_${string}`]: OpportunityV3;
116
120
  [id: `54_${string}`]: OpportunityV3;
117
121
  [id: `55_${string}`]: OpportunityV3;
122
+ [id: `56_${string}`]: OpportunityV3;
123
+ [id: `57_${string}`]: OpportunityV3;
124
+ [id: `58_${string}`]: OpportunityV3;
125
+ [id: `59_${string}`]: OpportunityV3;
118
126
  }>;
119
127
  }
@@ -96,7 +96,7 @@ export declare const PayloadController: Elysia<"/payload", {
96
96
  fee?: undefined;
97
97
  } | {
98
98
  args: import("@angleprotocol/sdk/ts").OnChainCampaignDto;
99
- parsedCampaign: import("@angleprotocol/sdk/ts").M0Campaign | import("@angleprotocol/sdk/ts").EigenLayerCampaign | import("@angleprotocol/sdk/ts").ERC20LogCampaign | import("@angleprotocol/sdk/ts").ERC20FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseLogCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseFixAPRCampaign | import("@angleprotocol/sdk/ts").EulerCampaign | import("@angleprotocol/sdk/ts").EventBasedCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogFixCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyFixAPRCampaign | import("@angleprotocol/sdk/ts").InvalidCampaign | import("@angleprotocol/sdk/ts").ERC20Campaign | import("@angleprotocol/sdk/ts").CLAMMCampaign | import("@angleprotocol/sdk/ts").ERC20_SNAPSHOTCampaign | import("@angleprotocol/sdk/ts").JSON_AIRDROPCampaign | import("@angleprotocol/sdk/ts").SILOCampaign | import("@angleprotocol/sdk/ts").RadiantCampaign | import("@angleprotocol/sdk/ts").DolomiteCampaign | import("@angleprotocol/sdk/ts").BadgerCampaign | import("@angleprotocol/sdk/ts").CompoundCampaign | import("@angleprotocol/sdk/ts").AjnaCampaign | import("@angleprotocol/sdk/ts").UniswapV4Campaign | import("@angleprotocol/sdk/ts").IonCampaign | import("@angleprotocol/sdk/ts").VestCampaign | import("@angleprotocol/sdk/ts").SyncswapVaultCampaign | import("@angleprotocol/sdk/ts").AmbientCampaign | import("@angleprotocol/sdk/ts").EncompassingCampaign | import("@angleprotocol/sdk/ts").MaverickBPCampaign | import("@angleprotocol/sdk/ts").ERC6909Campaign | import("@angleprotocol/sdk/ts").ERC6909FixAPRCampaign | import("@angleprotocol/sdk/ts").CompoundV3Campaign | import("@angleprotocol/sdk/ts").CompoundV3FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC721Campaign | import("@angleprotocol/sdk/ts").ERC721FixAPRCampaign | import("@angleprotocol/sdk/ts").MultiLogCampaign | import("@angleprotocol/sdk/ts").LockerCampaign | import("@angleprotocol/sdk/ts").ConvexCampaign | import("@angleprotocol/sdk/ts").StakeDAOCampaign | import("@angleprotocol/sdk/ts").MappingCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowFixAPRCampaign | import("@angleprotocol/sdk/ts").FraxLendCampaign | import("@angleprotocol/sdk/ts").FraxLendFixAPRCampaign | import("@angleprotocol/sdk/ts").SymbioticVaultCampaign | import("@angleprotocol/sdk/ts").MorphoCampaign<import("@angleprotocol/sdk/ts").MorphoSubCampaignType>;
99
+ parsedCampaign: import("@angleprotocol/sdk/ts").M0Campaign | import("@angleprotocol/sdk/ts").EigenLayerCampaign | import("@angleprotocol/sdk/ts").ERC20LogCampaign | import("@angleprotocol/sdk/ts").ERC20FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseLogCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseFixAPRCampaign | import("@angleprotocol/sdk/ts").EulerCampaign | import("@angleprotocol/sdk/ts").EventBasedCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogFixCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyFixAPRCampaign | import("@angleprotocol/sdk/ts").InvalidCampaign | import("@angleprotocol/sdk/ts").ERC20Campaign | import("@angleprotocol/sdk/ts").CLAMMCampaign | import("@angleprotocol/sdk/ts").ERC20_SNAPSHOTCampaign | import("@angleprotocol/sdk/ts").JSON_AIRDROPCampaign | import("@angleprotocol/sdk/ts").SILOCampaign | import("@angleprotocol/sdk/ts").RadiantCampaign | import("@angleprotocol/sdk/ts").DolomiteCampaign | import("@angleprotocol/sdk/ts").BadgerCampaign | import("@angleprotocol/sdk/ts").CompoundCampaign | import("@angleprotocol/sdk/ts").AjnaCampaign | import("@angleprotocol/sdk/ts").UniswapV4Campaign | import("@angleprotocol/sdk/ts").IonCampaign | import("@angleprotocol/sdk/ts").VestCampaign | import("@angleprotocol/sdk/ts").SyncswapVaultCampaign | import("@angleprotocol/sdk/ts").AmbientCampaign | import("@angleprotocol/sdk/ts").EncompassingCampaign | import("@angleprotocol/sdk/ts").MaverickBPCampaign | import("@angleprotocol/sdk/ts").ERC6909Campaign | import("@angleprotocol/sdk/ts").ERC6909FixAPRCampaign | import("@angleprotocol/sdk/ts").CompoundV3Campaign | import("@angleprotocol/sdk/ts").CompoundV3FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC721Campaign | import("@angleprotocol/sdk/ts").ERC721FixAPRCampaign | import("@angleprotocol/sdk/ts").MultiLogCampaign | import("@angleprotocol/sdk/ts").LockerCampaign | import("@angleprotocol/sdk/ts").ConvexCampaign | import("@angleprotocol/sdk/ts").StakeDAOCampaign | import("@angleprotocol/sdk/ts").MappingCampaign | import("@angleprotocol/sdk/ts").FraxLendCampaign | import("@angleprotocol/sdk/ts").FraxLendFixAPRCampaign | import("@angleprotocol/sdk/ts").SymbioticVaultCampaign | import("@angleprotocol/sdk/ts").TargetTokenCampaign | import("@angleprotocol/sdk/ts").MorphoCampaign<import("@angleprotocol/sdk/ts").MorphoSubCampaignType>;
100
100
  payload: string;
101
101
  fee: string | undefined;
102
102
  message?: undefined;
@@ -16,7 +16,7 @@ export declare class PayloadService {
16
16
  fee?: undefined;
17
17
  } | {
18
18
  args: import("@angleprotocol/sdk/ts").OnChainCampaignDto;
19
- parsedCampaign: import("@angleprotocol/sdk/ts").M0Campaign | import("@angleprotocol/sdk/ts").EigenLayerCampaign | import("@angleprotocol/sdk/ts").ERC20LogCampaign | import("@angleprotocol/sdk/ts").ERC20FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseLogCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseFixAPRCampaign | import("@angleprotocol/sdk/ts").EulerCampaign | import("@angleprotocol/sdk/ts").EventBasedCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogFixCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyFixAPRCampaign | import("@angleprotocol/sdk/ts").InvalidCampaign | import("@angleprotocol/sdk/ts").ERC20Campaign | import("@angleprotocol/sdk/ts").CLAMMCampaign | import("@angleprotocol/sdk/ts").ERC20_SNAPSHOTCampaign | import("@angleprotocol/sdk/ts").JSON_AIRDROPCampaign | import("@angleprotocol/sdk/ts").SILOCampaign | import("@angleprotocol/sdk/ts").RadiantCampaign | import("@angleprotocol/sdk/ts").DolomiteCampaign | import("@angleprotocol/sdk/ts").BadgerCampaign | import("@angleprotocol/sdk/ts").CompoundCampaign | import("@angleprotocol/sdk/ts").AjnaCampaign | import("@angleprotocol/sdk/ts").UniswapV4Campaign | import("@angleprotocol/sdk/ts").IonCampaign | import("@angleprotocol/sdk/ts").VestCampaign | import("@angleprotocol/sdk/ts").SyncswapVaultCampaign | import("@angleprotocol/sdk/ts").AmbientCampaign | import("@angleprotocol/sdk/ts").EncompassingCampaign | import("@angleprotocol/sdk/ts").MaverickBPCampaign | import("@angleprotocol/sdk/ts").ERC6909Campaign | import("@angleprotocol/sdk/ts").ERC6909FixAPRCampaign | import("@angleprotocol/sdk/ts").CompoundV3Campaign | import("@angleprotocol/sdk/ts").CompoundV3FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC721Campaign | import("@angleprotocol/sdk/ts").ERC721FixAPRCampaign | import("@angleprotocol/sdk/ts").MultiLogCampaign | import("@angleprotocol/sdk/ts").LockerCampaign | import("@angleprotocol/sdk/ts").ConvexCampaign | import("@angleprotocol/sdk/ts").StakeDAOCampaign | import("@angleprotocol/sdk/ts").MappingCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowFixAPRCampaign | import("@angleprotocol/sdk/ts").FraxLendCampaign | import("@angleprotocol/sdk/ts").FraxLendFixAPRCampaign | import("@angleprotocol/sdk/ts").SymbioticVaultCampaign | import("@angleprotocol/sdk/ts").MorphoCampaign<import("@angleprotocol/sdk/ts").MorphoSubCampaignType>;
19
+ parsedCampaign: import("@angleprotocol/sdk/ts").M0Campaign | import("@angleprotocol/sdk/ts").EigenLayerCampaign | import("@angleprotocol/sdk/ts").ERC20LogCampaign | import("@angleprotocol/sdk/ts").ERC20FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseLogCampaign | import("@angleprotocol/sdk/ts").ERC20RebaseFixAPRCampaign | import("@angleprotocol/sdk/ts").EulerCampaign | import("@angleprotocol/sdk/ts").EventBasedCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogCampaign | import("@angleprotocol/sdk/ts").HyperDriveLogFixCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowCampaign | import("@angleprotocol/sdk/ts").MorphoBorrowFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralCampaign | import("@angleprotocol/sdk/ts").MorphoCollateralFixAPRCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyCampaign | import("@angleprotocol/sdk/ts").MorphoSupplyFixAPRCampaign | import("@angleprotocol/sdk/ts").InvalidCampaign | import("@angleprotocol/sdk/ts").ERC20Campaign | import("@angleprotocol/sdk/ts").CLAMMCampaign | import("@angleprotocol/sdk/ts").ERC20_SNAPSHOTCampaign | import("@angleprotocol/sdk/ts").JSON_AIRDROPCampaign | import("@angleprotocol/sdk/ts").SILOCampaign | import("@angleprotocol/sdk/ts").RadiantCampaign | import("@angleprotocol/sdk/ts").DolomiteCampaign | import("@angleprotocol/sdk/ts").BadgerCampaign | import("@angleprotocol/sdk/ts").CompoundCampaign | import("@angleprotocol/sdk/ts").AjnaCampaign | import("@angleprotocol/sdk/ts").UniswapV4Campaign | import("@angleprotocol/sdk/ts").IonCampaign | import("@angleprotocol/sdk/ts").VestCampaign | import("@angleprotocol/sdk/ts").SyncswapVaultCampaign | import("@angleprotocol/sdk/ts").AmbientCampaign | import("@angleprotocol/sdk/ts").EncompassingCampaign | import("@angleprotocol/sdk/ts").MaverickBPCampaign | import("@angleprotocol/sdk/ts").ERC6909Campaign | import("@angleprotocol/sdk/ts").ERC6909FixAPRCampaign | import("@angleprotocol/sdk/ts").CompoundV3Campaign | import("@angleprotocol/sdk/ts").CompoundV3FixAPRCampaign | import("@angleprotocol/sdk/ts").ERC721Campaign | import("@angleprotocol/sdk/ts").ERC721FixAPRCampaign | import("@angleprotocol/sdk/ts").MultiLogCampaign | import("@angleprotocol/sdk/ts").LockerCampaign | import("@angleprotocol/sdk/ts").ConvexCampaign | import("@angleprotocol/sdk/ts").StakeDAOCampaign | import("@angleprotocol/sdk/ts").MappingCampaign | import("@angleprotocol/sdk/ts").FraxLendCampaign | import("@angleprotocol/sdk/ts").FraxLendFixAPRCampaign | import("@angleprotocol/sdk/ts").SymbioticVaultCampaign | import("@angleprotocol/sdk/ts").TargetTokenCampaign | import("@angleprotocol/sdk/ts").MorphoCampaign<import("@angleprotocol/sdk/ts").MorphoSubCampaignType>;
20
20
  payload: string;
21
21
  fee: string | undefined;
22
22
  message?: undefined;
@@ -80,6 +80,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
80
80
  creator?: string | undefined;
81
81
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
82
82
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
83
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
83
84
  campaignType: import("@angleprotocol/sdk/ts").Campaign.M0;
84
85
  endTimestamp: number;
85
86
  markets: string[];
@@ -95,6 +96,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
95
96
  creator?: string | undefined;
96
97
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
97
98
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
99
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
98
100
  campaignType: import("@angleprotocol/sdk/ts").Campaign.EIGENLAYER;
99
101
  endTimestamp: number;
100
102
  strategy: string;
@@ -110,6 +112,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
110
112
  creator?: string | undefined;
111
113
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
112
114
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
115
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
113
116
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20LOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.ERC20_FIX_APR;
114
117
  endTimestamp: number;
115
118
  targetToken: string;
@@ -125,6 +128,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
125
128
  creator?: string | undefined;
126
129
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
127
130
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
131
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
128
132
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20LOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.ERC20_FIX_APR;
129
133
  endTimestamp: number;
130
134
  targetToken: string;
@@ -143,6 +147,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
143
147
  creator?: string | undefined;
144
148
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
145
149
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
150
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
146
151
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20REBASELOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.ERC20REBASEFIXAPR;
147
152
  endTimestamp: number;
148
153
  targetToken: string;
@@ -158,6 +163,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
158
163
  creator?: string | undefined;
159
164
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
160
165
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
166
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
161
167
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20REBASELOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.ERC20REBASEFIXAPR;
162
168
  endTimestamp: number;
163
169
  targetToken: string;
@@ -176,6 +182,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
176
182
  creator?: string | undefined;
177
183
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
178
184
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
185
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
179
186
  blacklist: string[];
180
187
  campaignType: import("@angleprotocol/sdk/ts").Campaign.EULER;
181
188
  collateralAddress?: string | undefined;
@@ -192,6 +199,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
192
199
  creator?: string | undefined;
193
200
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
194
201
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
202
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
195
203
  campaignType: import("@angleprotocol/sdk/ts").Campaign.EVENT_BASED;
196
204
  contract: string;
197
205
  eventID: string;
@@ -221,6 +229,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
221
229
  creator?: string | undefined;
222
230
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
223
231
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
232
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
224
233
  campaignType: import("@angleprotocol/sdk/ts").Campaign.HYPERDRIVELOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.HYPERDRIVELOGFIXPROCESSOR;
225
234
  subCampaignType: import("@angleprotocol/sdk/ts").HyperDriveSubCampaignType;
226
235
  tokenId: string;
@@ -238,6 +247,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
238
247
  creator?: string | undefined;
239
248
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
240
249
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
250
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
241
251
  campaignType: import("@angleprotocol/sdk/ts").Campaign.HYPERDRIVELOGPROCESSOR | import("@angleprotocol/sdk/ts").Campaign.HYPERDRIVELOGFIXPROCESSOR;
242
252
  subCampaignType: import("@angleprotocol/sdk/ts").HyperDriveSubCampaignType;
243
253
  tokenId: string;
@@ -258,13 +268,13 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
258
268
  creator?: string | undefined;
259
269
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
260
270
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
261
- campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHO;
271
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
272
+ campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW | import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW_FIXAPR;
262
273
  endTimestamp: number;
274
+ market: string;
263
275
  whitelist: string[];
264
276
  blacklist: string[];
265
- forwarders: string[];
266
- subCampaignType: import("@angleprotocol/sdk/ts").MorphoSubCampaignType.META;
267
- targetToken: string;
277
+ url?: string | undefined;
268
278
  } | {
269
279
  rewardToken: string;
270
280
  amount: string;
@@ -273,13 +283,16 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
273
283
  creator?: string | undefined;
274
284
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
275
285
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
276
- campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHO;
286
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
287
+ campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW | import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW_FIXAPR;
277
288
  endTimestamp: number;
289
+ market: string;
278
290
  whitelist: string[];
279
291
  blacklist: string[];
280
- forwarders: string[];
281
- subCampaignType: import("@angleprotocol/sdk/ts").MorphoSubCampaignType.SUPPLY_BLUE | import("@angleprotocol/sdk/ts").MorphoSubCampaignType.COLLATERAL_BLUE | import("@angleprotocol/sdk/ts").MorphoSubCampaignType.BORROWING_BLUE;
282
- marketId: string;
292
+ url?: string | undefined;
293
+ apr: string;
294
+ targetTokenPricing: boolean;
295
+ rewardTokenPricing: boolean;
283
296
  } | {
284
297
  rewardToken: string;
285
298
  amount: string;
@@ -288,6 +301,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
288
301
  creator?: string | undefined;
289
302
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
290
303
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
304
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
291
305
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL | import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL_FIXAPR;
292
306
  endTimestamp: number;
293
307
  market: string;
@@ -302,6 +316,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
302
316
  creator?: string | undefined;
303
317
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
304
318
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
319
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
305
320
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL | import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL_FIXAPR;
306
321
  endTimestamp: number;
307
322
  market: string;
@@ -319,6 +334,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
319
334
  creator?: string | undefined;
320
335
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
321
336
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
337
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
322
338
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOSUPPLY | import("@angleprotocol/sdk/ts").Campaign.MORPHOSUPPLY_FIXAPR;
323
339
  endTimestamp: number;
324
340
  market: string;
@@ -333,6 +349,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
333
349
  creator?: string | undefined;
334
350
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
335
351
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
352
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
336
353
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOSUPPLY | import("@angleprotocol/sdk/ts").Campaign.MORPHOSUPPLY_FIXAPR;
337
354
  endTimestamp: number;
338
355
  market: string;
@@ -350,6 +367,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
350
367
  creator?: string | undefined;
351
368
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
352
369
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
370
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
353
371
  whitelist: string[];
354
372
  weightToken1: number;
355
373
  weightToken0: number;
@@ -372,6 +390,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
372
390
  creator?: string | undefined;
373
391
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
374
392
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
393
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
375
394
  whitelist: string[];
376
395
  weightToken1: number;
377
396
  weightToken0: number;
@@ -394,6 +413,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
394
413
  creator?: string | undefined;
395
414
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
396
415
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
416
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
397
417
  campaignType: import("@angleprotocol/sdk/ts").Campaign.SYNCSWAP_VAULT;
398
418
  endTimestamp: number;
399
419
  targetToken: string;
@@ -409,6 +429,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
409
429
  creator?: string | undefined;
410
430
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
411
431
  computeScoreParameters: import("@angleprotocol/sdk/ts").cappedScore | import("@angleprotocol/sdk/ts").cappedScoreHistorical | import("@angleprotocol/sdk/ts").cappedScorePercentage | import("@angleprotocol/sdk/ts").genericScorePunctual | import("@angleprotocol/sdk/ts").genericTimeWeighted | import("@angleprotocol/sdk/ts").maxBalance | import("@angleprotocol/sdk/ts").maxDeposit | (import("@angleprotocol/sdk/ts").cappedScore & string) | (import("@angleprotocol/sdk/ts").cappedScoreHistorical & string) | (import("@angleprotocol/sdk/ts").cappedScorePercentage & string) | (import("@angleprotocol/sdk/ts").genericScorePunctual & string) | (import("@angleprotocol/sdk/ts").genericTimeWeighted & string) | (import("@angleprotocol/sdk/ts").maxBalance & string) | (import("@angleprotocol/sdk/ts").maxDeposit & string);
432
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
412
433
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MULTILOG | import("@angleprotocol/sdk/ts").Campaign.MULTILOG_DUTCH;
413
434
  composedCampaigns: import("@angleprotocol/sdk/ts").GenericCampaignConfigComposed[];
414
435
  composedCampaignsCompute: string;
@@ -424,6 +445,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
424
445
  creator?: string | undefined;
425
446
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
426
447
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
448
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
427
449
  campaignType: import("@angleprotocol/sdk/ts").Campaign.AJNA;
428
450
  endTimestamp: number;
429
451
  subCampaignType: import("@angleprotocol/sdk/ts").AjnaSubCampaignType;
@@ -439,6 +461,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
439
461
  creator?: string | undefined;
440
462
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
441
463
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
464
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
442
465
  campaignType: import("@angleprotocol/sdk/ts").Campaign.AMBIENTPROCESSOR;
443
466
  endTimestamp: number;
444
467
  isOutOfRangeIncentivized: boolean;
@@ -461,6 +484,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
461
484
  creator?: string | undefined;
462
485
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
463
486
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
487
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
464
488
  campaignType: import("@angleprotocol/sdk/ts").Campaign.BADGER;
465
489
  endTimestamp: number;
466
490
  whitelist: string[];
@@ -476,6 +500,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
476
500
  creator?: string | undefined;
477
501
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
478
502
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
503
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
479
504
  campaignType: import("@angleprotocol/sdk/ts").Campaign.CLAMM;
480
505
  endTimestamp: number;
481
506
  poolAddress: string;
@@ -494,6 +519,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
494
519
  creator?: string | undefined;
495
520
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
496
521
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
522
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
497
523
  campaignType: import("@angleprotocol/sdk/ts").Campaign.COMPOUND;
498
524
  endTimestamp: number;
499
525
  subCampaignType: import("@angleprotocol/sdk/ts").CompoundSubCampaignType;
@@ -510,6 +536,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
510
536
  creator?: string | undefined;
511
537
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
512
538
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
539
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
513
540
  campaignType: import("@angleprotocol/sdk/ts").Campaign.COMPOUND_V3 | import("@angleprotocol/sdk/ts").Campaign.COMPOUND_V3_FIXAPR;
514
541
  endTimestamp: number;
515
542
  targetToken: string;
@@ -525,6 +552,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
525
552
  creator?: string | undefined;
526
553
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
527
554
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
555
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
528
556
  campaignType: import("@angleprotocol/sdk/ts").Campaign.COMPOUND_V3 | import("@angleprotocol/sdk/ts").Campaign.COMPOUND_V3_FIXAPR;
529
557
  endTimestamp: number;
530
558
  targetToken: string;
@@ -543,6 +571,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
543
571
  creator?: string | undefined;
544
572
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
545
573
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
574
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
546
575
  campaignType: import("@angleprotocol/sdk/ts").Campaign.CONVEX;
547
576
  endTimestamp: number;
548
577
  targetToken: string;
@@ -557,6 +586,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
557
586
  creator?: string | undefined;
558
587
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
559
588
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
589
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
560
590
  campaignType: import("@angleprotocol/sdk/ts").Campaign.DOLOMITE;
561
591
  subCampaignType: import("@angleprotocol/sdk/ts").DolomiteSubCampaignType;
562
592
  endTimestamp: number;
@@ -572,6 +602,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
572
602
  creator?: string | undefined;
573
603
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
574
604
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
605
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
575
606
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ENCOMPASSING;
576
607
  rewardsUrl: string;
577
608
  endTimestamp?: number | undefined;
@@ -584,6 +615,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
584
615
  creator?: string | undefined;
585
616
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
586
617
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
618
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
587
619
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20;
588
620
  endTimestamp: number;
589
621
  targetToken: string;
@@ -599,6 +631,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
599
631
  creator?: string | undefined;
600
632
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
601
633
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
634
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
602
635
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20_SNAPSHOT;
603
636
  targetToken: string;
604
637
  whitelist: string[];
@@ -615,6 +648,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
615
648
  creator?: string | undefined;
616
649
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
617
650
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
651
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
618
652
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC20_SNAPSHOT;
619
653
  targetToken: string;
620
654
  whitelist: string[];
@@ -631,6 +665,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
631
665
  creator?: string | undefined;
632
666
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
633
667
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
668
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
634
669
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC721 | import("@angleprotocol/sdk/ts").Campaign.ERC721FIXAPR;
635
670
  subCampaignType: import("@angleprotocol/sdk/ts").ERC721SubCampaignType;
636
671
  endTimestamp: number;
@@ -646,6 +681,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
646
681
  creator?: string | undefined;
647
682
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
648
683
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
684
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
649
685
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC721 | import("@angleprotocol/sdk/ts").Campaign.ERC721FIXAPR;
650
686
  subCampaignType: import("@angleprotocol/sdk/ts").ERC721SubCampaignType;
651
687
  endTimestamp: number;
@@ -664,6 +700,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
664
700
  creator?: string | undefined;
665
701
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
666
702
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
703
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
667
704
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC6909 | import("@angleprotocol/sdk/ts").Campaign.ERC6909FIXAPR | import("@angleprotocol/sdk/ts").Campaign.ERC1155 | import("@angleprotocol/sdk/ts").Campaign.ERC1155FIXAPR;
668
705
  endTimestamp: number;
669
706
  targetToken: string;
@@ -679,6 +716,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
679
716
  creator?: string | undefined;
680
717
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
681
718
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
719
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
682
720
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ERC6909 | import("@angleprotocol/sdk/ts").Campaign.ERC6909FIXAPR | import("@angleprotocol/sdk/ts").Campaign.ERC1155 | import("@angleprotocol/sdk/ts").Campaign.ERC1155FIXAPR;
683
721
  endTimestamp: number;
684
722
  targetToken: string;
@@ -697,6 +735,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
697
735
  creator?: string | undefined;
698
736
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
699
737
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
738
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
700
739
  campaignType: import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_BORROW | import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_BORROW_FIXAPR | import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_COLLATERAL | import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_COLLATERAL_FIXAPR;
701
740
  endTimestamp: number;
702
741
  targetToken: string;
@@ -711,6 +750,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
711
750
  creator?: string | undefined;
712
751
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
713
752
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
753
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
714
754
  campaignType: import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_BORROW | import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_BORROW_FIXAPR | import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_COLLATERAL | import("@angleprotocol/sdk/ts").Campaign.FRAXLEND_COLLATERAL_FIXAPR;
715
755
  endTimestamp: number;
716
756
  targetToken: string;
@@ -728,6 +768,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
728
768
  creator?: string | undefined;
729
769
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
730
770
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
771
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
731
772
  campaignType: import("@angleprotocol/sdk/ts").Campaign.ION;
732
773
  endTimestamp: number;
733
774
  whitelist: string[];
@@ -744,6 +785,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
744
785
  creator?: string | undefined;
745
786
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
746
787
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
788
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
747
789
  campaignType: import("@angleprotocol/sdk/ts").Campaign.JSON_AIRDROP;
748
790
  jsonUrl: string;
749
791
  url?: string | undefined;
@@ -755,6 +797,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
755
797
  creator?: string | undefined;
756
798
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
757
799
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
800
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
758
801
  campaignType: import("@angleprotocol/sdk/ts").Campaign.LOCKER;
759
802
  endTimestamp: number;
760
803
  hasSlots: boolean;
@@ -775,6 +818,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
775
818
  creator?: string | undefined;
776
819
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
777
820
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
821
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
778
822
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MAPPING;
779
823
  endTimestamp: number;
780
824
  protocol: import("@angleprotocol/sdk/ts").MappingType;
@@ -788,6 +832,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
788
832
  creator?: string | undefined;
789
833
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
790
834
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
835
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
791
836
  campaignType: import("@angleprotocol/sdk/ts").Campaign.MAVERICK_BP;
792
837
  endTimestamp: number;
793
838
  sender: string;
@@ -803,12 +848,14 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
803
848
  creator?: string | undefined;
804
849
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
805
850
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
806
- campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW | import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW_FIXAPR | import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL | import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL_FIXAPR;
851
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
852
+ campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHO;
807
853
  endTimestamp: number;
808
- market: string;
809
854
  whitelist: string[];
810
855
  blacklist: string[];
811
- url?: string | undefined;
856
+ forwarders: string[];
857
+ subCampaignType: import("@angleprotocol/sdk/ts").MorphoSubCampaignType.META;
858
+ targetToken: string;
812
859
  } | {
813
860
  rewardToken: string;
814
861
  amount: string;
@@ -817,15 +864,14 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
817
864
  creator?: string | undefined;
818
865
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
819
866
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
820
- campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW | import("@angleprotocol/sdk/ts").Campaign.MORPHOBORROW_FIXAPR | import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL | import("@angleprotocol/sdk/ts").Campaign.MORPHOCOLLATERAL_FIXAPR;
867
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
868
+ campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHO;
821
869
  endTimestamp: number;
822
- market: string;
823
870
  whitelist: string[];
824
871
  blacklist: string[];
825
- url?: string | undefined;
826
- apr: string;
827
- targetTokenPricing: boolean;
828
- rewardTokenPricing: boolean;
872
+ forwarders: string[];
873
+ subCampaignType: import("@angleprotocol/sdk/ts").MorphoSubCampaignType.SUPPLY_BLUE | import("@angleprotocol/sdk/ts").MorphoSubCampaignType.COLLATERAL_BLUE | import("@angleprotocol/sdk/ts").MorphoSubCampaignType.BORROWING_BLUE;
874
+ marketId: string;
829
875
  } | {
830
876
  rewardToken: string;
831
877
  amount: string;
@@ -834,6 +880,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
834
880
  creator?: string | undefined;
835
881
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
836
882
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
883
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
837
884
  campaignType: import("@angleprotocol/sdk/ts").Campaign.RADIANT;
838
885
  endTimestamp: number;
839
886
  targetToken: string;
@@ -849,6 +896,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
849
896
  creator?: string | undefined;
850
897
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
851
898
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
899
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
852
900
  campaignType: import("@angleprotocol/sdk/ts").Campaign.SILO;
853
901
  subCampaignType: import("@angleprotocol/sdk/ts").SILOSubCampaignType;
854
902
  endTimestamp: number;
@@ -865,6 +913,7 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
865
913
  creator?: string | undefined;
866
914
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
867
915
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
916
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
868
917
  campaignType: import("@angleprotocol/sdk/ts").Campaign.STAKEDAO_CURVEVAULT | import("@angleprotocol/sdk/ts").Campaign.STAKEDAO_VAULT;
869
918
  endTimestamp: number;
870
919
  targetToken: string;
@@ -879,13 +928,13 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
879
928
  creator?: string | undefined;
880
929
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
881
930
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
931
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
882
932
  campaignType: import("@angleprotocol/sdk/ts").Campaign.SYMBIOTIC_VAULT;
883
933
  endTimestamp: number;
884
934
  vaultContract: string;
885
935
  whitelist: string[];
886
936
  blacklist: string[];
887
937
  url?: string | undefined;
888
- distributionMethodParameters: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod>;
889
938
  } | {
890
939
  rewardToken: string;
891
940
  amount: string;
@@ -894,6 +943,22 @@ export declare const ProgramPayloadController: Elysia<"/program-payload", {
894
943
  creator?: string | undefined;
895
944
  hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
896
945
  computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
946
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
947
+ campaignType: import("@angleprotocol/sdk/ts").Campaign.MORPHOVAULT | import("@angleprotocol/sdk/ts").MORPHO_SINGLETOKEN;
948
+ endTimestamp: number;
949
+ targetToken: string;
950
+ whitelist: string[];
951
+ blacklist: string[];
952
+ url?: string | undefined;
953
+ } | {
954
+ rewardToken: string;
955
+ amount: string;
956
+ startTimestamp: number;
957
+ computeChainId?: import("@angleprotocol/sdk/ts").MerklChainId | undefined;
958
+ creator?: string | undefined;
959
+ hooks?: (import("@angleprotocol/sdk/ts").HookParameters<import("@angleprotocol/sdk/ts").HOOK> | string)[] | undefined;
960
+ computeScoreParameters?: import("@angleprotocol/sdk/ts").ComputeScoreParameters<import("@angleprotocol/sdk/ts").ComputeScoreMethod> | undefined;
961
+ distributionMethodParameters?: import("@angleprotocol/sdk/ts").DistributionParameters<import("@angleprotocol/sdk/ts").DistributionMethod> | undefined;
897
962
  campaignType: import("@angleprotocol/sdk/ts").Campaign.VEST;
898
963
  token: string;
899
964
  endTimestamp: number;