@merkl/api 1.4.3 → 1.4.5
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.
- package/dist/src/eden/index.d.ts +1795 -2646
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/eulerEarn/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/eulerEarn/metadata.js.map +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/tvl.js.map +1 -1
- package/dist/src/hooks/checkQueryAddressValidity.d.ts +6 -0
- package/dist/src/hooks/checkQueryChainIdValidity.d.ts +6 -0
- package/dist/src/index.d.ts +4437 -6187
- package/dist/src/index.js.map +1 -1
- package/dist/src/jobs/prices.js.map +1 -1
- package/dist/src/libs/computeFee.d.ts +6 -6
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +8 -5
- package/dist/src/modules/v4/authentication/authentication.controller.d.ts +3 -2
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +6 -5
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/boost/boost.controller.d.ts +3 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +34 -174
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +18 -15
- package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +9 -6
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +99 -500
- package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +18 -22
- package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +3 -3
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +3 -3
- package/dist/src/modules/v4/campaignBatch/campaignBatch.service.js.map +1 -1
- package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -4
- package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -4
- package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +58 -51
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +11 -11
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +9 -9
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.d.ts +17 -2
- package/dist/src/modules/v4/chain/chain.controller.d.ts +9 -5
- package/dist/src/modules/v4/claims/claims.controller.d.ts +3 -0
- package/dist/src/modules/v4/clamm/clamm.controller.d.ts +4 -1
- package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +4 -4
- package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
- package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
- package/dist/src/modules/v4/config/config.controller.d.ts +9 -7
- package/dist/src/modules/v4/creator/creator.controller.d.ts +13 -6
- package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +5 -2
- package/dist/src/modules/v4/euler/euler.controller.d.ts +5 -2
- package/dist/src/modules/v4/explorer/explorer.controller.d.ts +3 -0
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +4 -9
- package/dist/src/modules/v4/interaction/interaction.controller.js.map +1 -1
- package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +2 -2
- package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +3 -0
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +10 -9
- package/dist/src/modules/v4/node/node.controller.d.ts +3 -0
- package/dist/src/modules/v4/node/node.repository.d.ts +3 -3
- package/dist/src/modules/v4/node/node.service.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +67 -62
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +12 -12
- package/dist/src/modules/v4/parse/parse.controller.d.ts +3 -0
- package/dist/src/modules/v4/payload/payload.controller.d.ts +231 -234
- package/dist/src/modules/v4/payload/payload.service.d.ts +0 -7
- package/dist/src/modules/v4/payload/payload.service.js.map +1 -1
- package/dist/src/modules/v4/priceSource/priceFetchers/implementations/dexScreenerService.js.map +1 -1
- package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +21 -9
- package/dist/src/modules/v4/priceSource/priceSource.repository.d.ts +6 -6
- package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +6 -6
- package/dist/src/modules/v4/program/program.controller.d.ts +23 -17
- package/dist/src/modules/v4/program/program.repository.d.ts +2 -2
- package/dist/src/modules/v4/program/program.service.d.ts +2 -2
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +835 -797
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -4
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -1
- package/dist/src/modules/v4/referral/referral.controller.d.ts +3 -0
- package/dist/src/modules/v4/reward/reward.controller.d.ts +10 -23
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
- package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +37 -36
- package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +1880 -2411
- package/dist/src/modules/v4/router.js.map +1 -1
- package/dist/src/modules/v4/token/token.controller.d.ts +32 -52
- package/dist/src/modules/v4/token/token.controller.js.map +1 -1
- package/dist/src/modules/v4/ton/ton.controller.d.ts +3 -0
- package/dist/src/modules/v4/turtle/turtle.controller.d.ts +4 -1
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +416 -405
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +9 -6
- package/dist/src/modules/v4/user/user.controller.js.map +1 -1
- package/dist/src/modules/v4/user/user.model.d.ts +5 -0
- package/dist/src/modules/v4/user/user.model.js.map +1 -1
- package/dist/src/plugins/errorHandler.d.ts +13 -0
- package/dist/src/routes/v1/allowances.d.ts +7 -1
- package/dist/src/routes/v1/balances.d.ts +7 -1
- package/dist/src/routes/v1/prices.d.ts +6 -0
- package/dist/src/routes/v1/router.d.ts +7 -12
- package/dist/src/routes/v1/router.js.map +1 -1
- package/dist/src/routes/v1/tokens.d.ts +8 -10
- package/dist/src/routes/v2/merkl.d.ts +7 -112
- package/dist/src/routes/v2/router.d.ts +4 -112
- package/dist/src/routes/v2/router.js.map +1 -1
- package/dist/src/routes/v3/app.d.ts +7 -1
- package/dist/src/routes/v3/blacklist.d.ts +6 -0
- package/dist/src/routes/v3/campaign/delay.d.ts +10 -4
- package/dist/src/routes/v3/campaignClaims.d.ts +6 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +7 -3
- package/dist/src/routes/v3/campaigns.d.ts +8 -10
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +6 -0
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +6 -0
- package/dist/src/routes/v3/claims.d.ts +6 -0
- package/dist/src/routes/v3/compoundV2.d.ts +8 -10
- package/dist/src/routes/v3/createCampaign.d.ts +6 -0
- package/dist/src/routes/v3/dolomite.d.ts +8 -10
- package/dist/src/routes/v3/euler.d.ts +16 -1
- package/dist/src/routes/v3/fetch.d.ts +6 -0
- package/dist/src/routes/v3/health.d.ts +3 -0
- package/dist/src/routes/v3/lostyield.d.ts +8 -10
- package/dist/src/routes/v3/merkl.d.ts +8 -113
- package/dist/src/routes/v3/morphoMarkets.d.ts +8 -10
- package/dist/src/routes/v3/morphoVaults.d.ts +8 -10
- package/dist/src/routes/v3/multiChainPositions.d.ts +6 -2
- package/dist/src/routes/v3/opportunity.d.ts +7 -1
- package/dist/src/routes/v3/overview.d.ts +26 -19
- package/dist/src/routes/v3/parse.d.ts +6 -0
- package/dist/src/routes/v3/payload.d.ts +6 -0
- package/dist/src/routes/v3/poolInfo.d.ts +14 -7
- package/dist/src/routes/v3/positions.d.ts +6 -2
- package/dist/src/routes/v3/radiant.d.ts +8 -10
- package/dist/src/routes/v3/recipients.d.ts +6 -0
- package/dist/src/routes/v3/rewards.d.ts +6 -0
- package/dist/src/routes/v3/rewardsReport.d.ts +6 -0
- package/dist/src/routes/v3/router.d.ts +37 -211
- package/dist/src/routes/v3/router.js.map +1 -1
- package/dist/src/routes/v3/silo.d.ts +8 -10
- package/dist/src/routes/v3/token.d.ts +6 -0
- package/dist/src/routes/v3/twt/participants.d.ts +8 -10
- package/dist/src/routes/v3/updates.d.ts +10 -8
- package/dist/src/routes/v3/userRewards.d.ts +6 -0
- package/dist/src/utils/error.d.ts +8 -0
- package/dist/src/utils/models.d.ts +12 -6
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/package.json +3 -3
- package/dist/src/scripts/campaign-config.test.d.ts +0 -1
- package/dist/src/scripts/campaign-config.test.js.map +0 -1
|
@@ -14,6 +14,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
14
14
|
macro: {};
|
|
15
15
|
macroFn: {};
|
|
16
16
|
parser: {};
|
|
17
|
+
response: {};
|
|
17
18
|
}, {
|
|
18
19
|
campaigns: {
|
|
19
20
|
"dry-run": {
|
|
@@ -24,7 +25,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
24
25
|
body: unknown;
|
|
25
26
|
params: {
|
|
26
27
|
campaignId: string;
|
|
27
|
-
}
|
|
28
|
+
};
|
|
28
29
|
query: unknown;
|
|
29
30
|
headers: {
|
|
30
31
|
authorization: string;
|
|
@@ -165,7 +166,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
165
166
|
body: unknown;
|
|
166
167
|
params: {
|
|
167
168
|
opportunityId: string;
|
|
168
|
-
}
|
|
169
|
+
};
|
|
169
170
|
query: unknown;
|
|
170
171
|
headers: {
|
|
171
172
|
authorization: string;
|
|
@@ -746,14 +747,14 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
746
747
|
authorization: string;
|
|
747
748
|
};
|
|
748
749
|
response: {
|
|
749
|
-
200: {
|
|
750
|
+
200: Omit<import("./campaign.model").CampaignWithParams, "manualOverrides"> | {
|
|
750
751
|
id: string;
|
|
751
752
|
chainId: number;
|
|
752
753
|
type: string;
|
|
753
754
|
identifier: string;
|
|
754
755
|
name: string;
|
|
755
756
|
status: "LIVE" | "PAST" | "SOON";
|
|
756
|
-
action:
|
|
757
|
+
action: OpportunityAction;
|
|
757
758
|
tokens: ({
|
|
758
759
|
address: string;
|
|
759
760
|
chainId: number;
|
|
@@ -779,27 +780,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
779
780
|
depositUrl: string | undefined;
|
|
780
781
|
explorerAddress: string | undefined;
|
|
781
782
|
tags: string[];
|
|
782
|
-
} | {
|
|
783
|
-
id: string;
|
|
784
|
-
chainId: number;
|
|
785
|
-
type: string;
|
|
786
|
-
identifier: string;
|
|
787
|
-
name: string;
|
|
788
|
-
description: string;
|
|
789
|
-
howToSteps: string[];
|
|
790
|
-
depositUrl: string | null;
|
|
791
|
-
explorerAddress: string | null;
|
|
792
|
-
status: import("@package/databases").Status;
|
|
793
|
-
action: import("@package/databases").OpportunityAction;
|
|
794
|
-
mainProtocolId: string | null;
|
|
795
|
-
tvl: number;
|
|
796
|
-
apr: number;
|
|
797
|
-
maxApr: number | null;
|
|
798
|
-
dailyRewards: number;
|
|
799
|
-
tags: string[];
|
|
800
|
-
lastCampaignCreatedAt: Date;
|
|
801
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
802
|
-
liveCampaigns: number;
|
|
783
|
+
} | ({
|
|
803
784
|
Protocols: {
|
|
804
785
|
id: string;
|
|
805
786
|
tags: string[];
|
|
@@ -825,143 +806,28 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
825
806
|
updatedAt: number | null;
|
|
826
807
|
priceSource: string | null;
|
|
827
808
|
}[];
|
|
828
|
-
}
|
|
829
|
-
distributionChain?: ({
|
|
830
|
-
endOfDisputePeriod: number;
|
|
831
|
-
icon: string;
|
|
832
|
-
id: number;
|
|
833
|
-
liveCampaigns: number;
|
|
834
|
-
name: string;
|
|
835
|
-
} & {}) | undefined;
|
|
836
|
-
creator?: {
|
|
837
|
-
address: string;
|
|
838
|
-
tags?: string[] | undefined;
|
|
839
|
-
creatorId: string | null;
|
|
840
|
-
} | undefined;
|
|
841
|
-
Opportunity?: ({
|
|
842
|
-
action: import("@package/databases").OpportunityAction;
|
|
843
|
-
apr: number;
|
|
844
|
-
chainId: number;
|
|
845
|
-
dailyRewards: number;
|
|
846
|
-
description: string;
|
|
847
|
-
howToSteps: string[];
|
|
848
|
-
id: string;
|
|
849
|
-
identifier: string;
|
|
850
|
-
lastCampaignCreatedAt: number;
|
|
851
|
-
liveCampaigns: number;
|
|
852
|
-
maxApr: number | null;
|
|
853
|
-
name: string;
|
|
854
|
-
status: import("@package/databases").Status;
|
|
855
|
-
tags: string[];
|
|
856
|
-
tvl: number;
|
|
857
|
-
type: string;
|
|
858
|
-
} & {
|
|
859
|
-
depositUrl?: string | undefined;
|
|
860
|
-
explorerAddress?: string | undefined;
|
|
861
|
-
mainProtocolId?: string | undefined;
|
|
862
|
-
liveCampaignsForCreator?: number | undefined;
|
|
863
|
-
}) | undefined;
|
|
864
|
-
dailyRewards?: number | undefined;
|
|
865
|
-
apr?: number | undefined;
|
|
866
|
-
description?: string | undefined;
|
|
867
|
-
childCampaignIds?: string[] | undefined;
|
|
868
|
-
rootCampaignId?: string | undefined;
|
|
869
|
-
parentCampaignId?: string | undefined;
|
|
870
|
-
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
|
871
|
-
poolId: string;
|
|
872
|
-
poolManager: string;
|
|
873
|
-
lpFee: number;
|
|
874
|
-
currency0: string;
|
|
875
|
-
currency1: string;
|
|
876
|
-
decimalsCurrency0: number;
|
|
877
|
-
decimalsCurrency1: number;
|
|
878
|
-
symbolCurrency0: string;
|
|
879
|
-
symbolCurrency1: string;
|
|
880
|
-
isOutOfRangeIncentivized: boolean;
|
|
881
|
-
weightFees: number;
|
|
882
|
-
weightToken0: number;
|
|
883
|
-
weightToken1: number;
|
|
884
|
-
whitelist: string[];
|
|
885
|
-
blacklist: string[];
|
|
886
|
-
} & ({
|
|
887
|
-
lowerPriceTolerance?: number | undefined;
|
|
888
|
-
upperPriceTolerance?: number | undefined;
|
|
889
|
-
lowerPriceBond?: undefined;
|
|
890
|
-
upperPriceBond?: undefined;
|
|
891
|
-
} | {
|
|
892
|
-
lowerPriceBond?: number | undefined;
|
|
893
|
-
upperPriceBond?: number | undefined;
|
|
894
|
-
lowerPriceTolerance?: undefined;
|
|
895
|
-
upperPriceTolerance?: undefined;
|
|
896
|
-
}))) & {
|
|
897
|
-
config: string;
|
|
898
|
-
}) | import("@package/sdk").AaveCampaignParameters | import("@package/sdk").AjnaCampaignParameters | import("@package/sdk").AmbientCampaignParameters | import("@package/sdk").BadgerCampaignParameters | import("@package/sdk").CompoundV3CampaignParameters | import("@package/sdk").ConvexCampaignParameters | import("@package/sdk").DolomiteCampaignParameters | import("@package/sdk").ERC20CampaignParameters | import("@package/sdk").ERC20ExpiryCampaignParameters | import("@package/sdk").ERC20FixAPRCampaignParameters | import("@package/sdk").ERC20IncomingTransferCampaignParameters | import("@package/sdk").ERC20LogCampaignParameters | import("@package/sdk").ERC20RebaseCampaignParameters | import("@package/sdk").ERC20RebaseFixAPRCampaignParameters | import("@package/sdk").ERC6909CampaignParameters | import("@package/sdk").ERC721CampaignParameters | import("@package/sdk").EigenLayerCampaignParameters | import("@package/sdk").EkuboPositionManagerCampaignParameters | import("@package/sdk").EncompassingCampaignParameters | import("@package/sdk").EulerCampaignParameters | import("@package/sdk").EventBasedCampaignParameters | import("@package/sdk").FluidVaultCampaignParameters | import("@package/sdk").FraxLendCampaignParameters | import("@package/sdk").FraxLendFixAPRCampaignParameters | import("@package/sdk").HyperDriveLogCampaignParameters | import("@package/sdk").HyperDriveLogFixCampaignParameters | import("@package/sdk").JSON_AIRDROPCampaignParameters | import("@package/sdk").LockerCampaignParameters | import("@package/sdk").M0CampaignParameters | import("@package/sdk").MappingCampaignParameters | import("@package/sdk").MaverickBPCampaignParameters | import("@package/sdk").MorphoBorrowCampaignParameters | import("@package/sdk").MorphoBorrowFixAPRCampaignParameters | import("@package/sdk").MorphoCollateralCampaignParameters | import("@package/sdk").MorphoCollateralFixAPRCampaignParameters | import("@package/sdk").MorphoSupplyCampaignParameters | import("@package/sdk").MorphoSupplyFixAPRCampaignParameters | import("@package/sdk").MultiLendBorrowCampaignParameters | import("@package/sdk").MultiLogCampaignParameters | import("@package/sdk").RadiantCampaignParameters | import("@package/sdk").SILOCampaignParameters | import("@package/sdk").StabullStakingCampaignParameters | import("@package/sdk").StakeDAOCampaignParameters | import("@package/sdk").StakingVaultCampaignParameters | import("@package/sdk").SymbioticVaultCampaignParameters | import("@package/sdk").TargetTokenCampaignParameters | import("@package/sdk").TermFinanceCampaignParameters | import("@package/sdk").VestCampaignParameters | import("@package/sdk").oldCLAMMCampaignParameters | (import("@package/sdk").BaseCampaignParameters & {
|
|
899
|
-
subCampaignType: import("@package/resources/enums").CompoundSubCampaignType;
|
|
900
|
-
decimalsTargetToken: number;
|
|
901
|
-
compFork: import("@package/resources/enums").CompFork;
|
|
902
|
-
symbolTargetToken: string;
|
|
903
|
-
targetToken: string;
|
|
904
|
-
underlyingToken: string;
|
|
905
|
-
symbolUnderlyingToken: string;
|
|
906
|
-
decimalsUnderlyingToken: number;
|
|
907
|
-
}));
|
|
908
|
-
amount: string;
|
|
909
|
-
campaignId: string;
|
|
910
|
-
campaignStatus: {
|
|
911
|
-
computedUntil: number;
|
|
912
|
-
details: import("@prisma/client/runtime/library").JsonValue;
|
|
913
|
-
error: string;
|
|
914
|
-
processingStarted: number;
|
|
915
|
-
status: import("@package/databases").RunStatus;
|
|
916
|
-
} & {
|
|
917
|
-
delay?: number | undefined;
|
|
918
|
-
};
|
|
919
|
-
chain: {
|
|
920
|
-
endOfDisputePeriod: number;
|
|
921
|
-
icon: string;
|
|
922
|
-
id: number;
|
|
923
|
-
liveCampaigns: number;
|
|
924
|
-
name: string;
|
|
925
|
-
} & {};
|
|
926
|
-
computeChainId: number;
|
|
927
|
-
createdAt: string;
|
|
928
|
-
creatorAddress: string;
|
|
929
|
-
distributionChainId: number;
|
|
930
|
-
distributionType: import("@package/databases").DistributionType;
|
|
931
|
-
endTimestamp: number;
|
|
809
|
+
} & {
|
|
932
810
|
id: string;
|
|
933
|
-
|
|
934
|
-
program: ({
|
|
935
|
-
description: string;
|
|
936
|
-
icon: string;
|
|
937
|
-
id: string;
|
|
938
|
-
name: string;
|
|
939
|
-
slug: string | null;
|
|
940
|
-
} & {}) | null;
|
|
941
|
-
rewardToken: {
|
|
942
|
-
address: string;
|
|
943
|
-
chainId: number;
|
|
944
|
-
decimals: number;
|
|
945
|
-
icon: string;
|
|
946
|
-
id: string;
|
|
947
|
-
isNative: boolean;
|
|
948
|
-
isTest: boolean;
|
|
949
|
-
name: string | null;
|
|
950
|
-
symbol: string;
|
|
951
|
-
type: import("@package/databases").TokenType;
|
|
952
|
-
verified: boolean;
|
|
953
|
-
} & {
|
|
954
|
-
price?: number | null | undefined;
|
|
955
|
-
updatedAt?: number | null | undefined;
|
|
956
|
-
priceSource?: string | null | undefined;
|
|
957
|
-
isTokenWrapper?: boolean | undefined;
|
|
958
|
-
tokenWrapperAddress?: string | undefined;
|
|
959
|
-
};
|
|
960
|
-
rewardTokenId: string;
|
|
961
|
-
startTimestamp: number;
|
|
962
|
-
subType: number | null;
|
|
811
|
+
chainId: number;
|
|
963
812
|
type: string;
|
|
964
|
-
|
|
813
|
+
identifier: string;
|
|
814
|
+
name: string;
|
|
815
|
+
description: string;
|
|
816
|
+
howToSteps: string[];
|
|
817
|
+
depositUrl: string | null;
|
|
818
|
+
explorerAddress: string | null;
|
|
819
|
+
status: import("@package/databases").Status;
|
|
820
|
+
action: import("@package/databases").OpportunityAction;
|
|
821
|
+
mainProtocolId: string | null;
|
|
822
|
+
tvl: number;
|
|
823
|
+
apr: number;
|
|
824
|
+
maxApr: number | null;
|
|
825
|
+
dailyRewards: number;
|
|
826
|
+
tags: string[];
|
|
827
|
+
lastCampaignCreatedAt: Date;
|
|
828
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
829
|
+
liveCampaigns: number;
|
|
830
|
+
});
|
|
965
831
|
422: {
|
|
966
832
|
type: "validation";
|
|
967
833
|
on: string;
|
|
@@ -984,7 +850,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
984
850
|
body: unknown;
|
|
985
851
|
params: {
|
|
986
852
|
opportunityId: string;
|
|
987
|
-
}
|
|
853
|
+
};
|
|
988
854
|
query: unknown;
|
|
989
855
|
headers: {
|
|
990
856
|
authorization: string;
|
|
@@ -997,7 +863,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
997
863
|
identifier: string;
|
|
998
864
|
name: string;
|
|
999
865
|
status: "LIVE" | "PAST" | "SOON";
|
|
1000
|
-
action:
|
|
866
|
+
action: OpportunityAction;
|
|
1001
867
|
tokens: ({
|
|
1002
868
|
address: string;
|
|
1003
869
|
chainId: number;
|
|
@@ -1023,27 +889,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1023
889
|
depositUrl: string | undefined;
|
|
1024
890
|
explorerAddress: string | undefined;
|
|
1025
891
|
tags: string[];
|
|
1026
|
-
} | {
|
|
1027
|
-
id: string;
|
|
1028
|
-
chainId: number;
|
|
1029
|
-
type: string;
|
|
1030
|
-
identifier: string;
|
|
1031
|
-
name: string;
|
|
1032
|
-
description: string;
|
|
1033
|
-
howToSteps: string[];
|
|
1034
|
-
depositUrl: string | null;
|
|
1035
|
-
explorerAddress: string | null;
|
|
1036
|
-
status: import("@package/databases").Status;
|
|
1037
|
-
action: import("@package/databases").OpportunityAction;
|
|
1038
|
-
mainProtocolId: string | null;
|
|
1039
|
-
tvl: number;
|
|
1040
|
-
apr: number;
|
|
1041
|
-
maxApr: number | null;
|
|
1042
|
-
dailyRewards: number;
|
|
1043
|
-
tags: string[];
|
|
1044
|
-
lastCampaignCreatedAt: Date;
|
|
1045
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1046
|
-
liveCampaigns: number;
|
|
892
|
+
} | ({
|
|
1047
893
|
Protocols: {
|
|
1048
894
|
id: string;
|
|
1049
895
|
tags: string[];
|
|
@@ -1069,7 +915,28 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1069
915
|
updatedAt: number | null;
|
|
1070
916
|
priceSource: string | null;
|
|
1071
917
|
}[];
|
|
1072
|
-
}
|
|
918
|
+
} & {
|
|
919
|
+
id: string;
|
|
920
|
+
chainId: number;
|
|
921
|
+
type: string;
|
|
922
|
+
identifier: string;
|
|
923
|
+
name: string;
|
|
924
|
+
description: string;
|
|
925
|
+
howToSteps: string[];
|
|
926
|
+
depositUrl: string | null;
|
|
927
|
+
explorerAddress: string | null;
|
|
928
|
+
status: import("@package/databases").Status;
|
|
929
|
+
action: import("@package/databases").OpportunityAction;
|
|
930
|
+
mainProtocolId: string | null;
|
|
931
|
+
tvl: number;
|
|
932
|
+
apr: number;
|
|
933
|
+
maxApr: number | null;
|
|
934
|
+
dailyRewards: number;
|
|
935
|
+
tags: string[];
|
|
936
|
+
lastCampaignCreatedAt: Date;
|
|
937
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
938
|
+
liveCampaigns: number;
|
|
939
|
+
});
|
|
1073
940
|
422: {
|
|
1074
941
|
type: "validation";
|
|
1075
942
|
on: string;
|
|
@@ -1099,14 +966,14 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1099
966
|
authorization: string;
|
|
1100
967
|
};
|
|
1101
968
|
response: {
|
|
1102
|
-
200: {
|
|
969
|
+
200: Omit<import("./campaign.model").CampaignWithParams, "manualOverrides"> | {
|
|
1103
970
|
id: string;
|
|
1104
971
|
chainId: number;
|
|
1105
972
|
type: string;
|
|
1106
973
|
identifier: string;
|
|
1107
974
|
name: string;
|
|
1108
975
|
status: "LIVE" | "PAST" | "SOON";
|
|
1109
|
-
action:
|
|
976
|
+
action: OpportunityAction;
|
|
1110
977
|
tokens: ({
|
|
1111
978
|
address: string;
|
|
1112
979
|
chainId: number;
|
|
@@ -1132,27 +999,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1132
999
|
depositUrl: string | undefined;
|
|
1133
1000
|
explorerAddress: string | undefined;
|
|
1134
1001
|
tags: string[];
|
|
1135
|
-
} | {
|
|
1136
|
-
id: string;
|
|
1137
|
-
chainId: number;
|
|
1138
|
-
type: string;
|
|
1139
|
-
identifier: string;
|
|
1140
|
-
name: string;
|
|
1141
|
-
description: string;
|
|
1142
|
-
howToSteps: string[];
|
|
1143
|
-
depositUrl: string | null;
|
|
1144
|
-
explorerAddress: string | null;
|
|
1145
|
-
status: import("@package/databases").Status;
|
|
1146
|
-
action: import("@package/databases").OpportunityAction;
|
|
1147
|
-
mainProtocolId: string | null;
|
|
1148
|
-
tvl: number;
|
|
1149
|
-
apr: number;
|
|
1150
|
-
maxApr: number | null;
|
|
1151
|
-
dailyRewards: number;
|
|
1152
|
-
tags: string[];
|
|
1153
|
-
lastCampaignCreatedAt: Date;
|
|
1154
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1155
|
-
liveCampaigns: number;
|
|
1002
|
+
} | ({
|
|
1156
1003
|
Protocols: {
|
|
1157
1004
|
id: string;
|
|
1158
1005
|
tags: string[];
|
|
@@ -1178,143 +1025,28 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1178
1025
|
updatedAt: number | null;
|
|
1179
1026
|
priceSource: string | null;
|
|
1180
1027
|
}[];
|
|
1181
|
-
}
|
|
1182
|
-
distributionChain?: ({
|
|
1183
|
-
endOfDisputePeriod: number;
|
|
1184
|
-
icon: string;
|
|
1185
|
-
id: number;
|
|
1186
|
-
liveCampaigns: number;
|
|
1187
|
-
name: string;
|
|
1188
|
-
} & {}) | undefined;
|
|
1189
|
-
creator?: {
|
|
1190
|
-
address: string;
|
|
1191
|
-
tags?: string[] | undefined;
|
|
1192
|
-
creatorId: string | null;
|
|
1193
|
-
} | undefined;
|
|
1194
|
-
Opportunity?: ({
|
|
1195
|
-
action: import("@package/databases").OpportunityAction;
|
|
1196
|
-
apr: number;
|
|
1197
|
-
chainId: number;
|
|
1198
|
-
dailyRewards: number;
|
|
1199
|
-
description: string;
|
|
1200
|
-
howToSteps: string[];
|
|
1201
|
-
id: string;
|
|
1202
|
-
identifier: string;
|
|
1203
|
-
lastCampaignCreatedAt: number;
|
|
1204
|
-
liveCampaigns: number;
|
|
1205
|
-
maxApr: number | null;
|
|
1206
|
-
name: string;
|
|
1207
|
-
status: import("@package/databases").Status;
|
|
1208
|
-
tags: string[];
|
|
1209
|
-
tvl: number;
|
|
1210
|
-
type: string;
|
|
1211
|
-
} & {
|
|
1212
|
-
depositUrl?: string | undefined;
|
|
1213
|
-
explorerAddress?: string | undefined;
|
|
1214
|
-
mainProtocolId?: string | undefined;
|
|
1215
|
-
liveCampaignsForCreator?: number | undefined;
|
|
1216
|
-
}) | undefined;
|
|
1217
|
-
dailyRewards?: number | undefined;
|
|
1218
|
-
apr?: number | undefined;
|
|
1219
|
-
description?: string | undefined;
|
|
1220
|
-
childCampaignIds?: string[] | undefined;
|
|
1221
|
-
rootCampaignId?: string | undefined;
|
|
1222
|
-
parentCampaignId?: string | undefined;
|
|
1223
|
-
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
|
1224
|
-
poolId: string;
|
|
1225
|
-
poolManager: string;
|
|
1226
|
-
lpFee: number;
|
|
1227
|
-
currency0: string;
|
|
1228
|
-
currency1: string;
|
|
1229
|
-
decimalsCurrency0: number;
|
|
1230
|
-
decimalsCurrency1: number;
|
|
1231
|
-
symbolCurrency0: string;
|
|
1232
|
-
symbolCurrency1: string;
|
|
1233
|
-
isOutOfRangeIncentivized: boolean;
|
|
1234
|
-
weightFees: number;
|
|
1235
|
-
weightToken0: number;
|
|
1236
|
-
weightToken1: number;
|
|
1237
|
-
whitelist: string[];
|
|
1238
|
-
blacklist: string[];
|
|
1239
|
-
} & ({
|
|
1240
|
-
lowerPriceTolerance?: number | undefined;
|
|
1241
|
-
upperPriceTolerance?: number | undefined;
|
|
1242
|
-
lowerPriceBond?: undefined;
|
|
1243
|
-
upperPriceBond?: undefined;
|
|
1244
|
-
} | {
|
|
1245
|
-
lowerPriceBond?: number | undefined;
|
|
1246
|
-
upperPriceBond?: number | undefined;
|
|
1247
|
-
lowerPriceTolerance?: undefined;
|
|
1248
|
-
upperPriceTolerance?: undefined;
|
|
1249
|
-
}))) & {
|
|
1250
|
-
config: string;
|
|
1251
|
-
}) | import("@package/sdk").AaveCampaignParameters | import("@package/sdk").AjnaCampaignParameters | import("@package/sdk").AmbientCampaignParameters | import("@package/sdk").BadgerCampaignParameters | import("@package/sdk").CompoundV3CampaignParameters | import("@package/sdk").ConvexCampaignParameters | import("@package/sdk").DolomiteCampaignParameters | import("@package/sdk").ERC20CampaignParameters | import("@package/sdk").ERC20ExpiryCampaignParameters | import("@package/sdk").ERC20FixAPRCampaignParameters | import("@package/sdk").ERC20IncomingTransferCampaignParameters | import("@package/sdk").ERC20LogCampaignParameters | import("@package/sdk").ERC20RebaseCampaignParameters | import("@package/sdk").ERC20RebaseFixAPRCampaignParameters | import("@package/sdk").ERC6909CampaignParameters | import("@package/sdk").ERC721CampaignParameters | import("@package/sdk").EigenLayerCampaignParameters | import("@package/sdk").EkuboPositionManagerCampaignParameters | import("@package/sdk").EncompassingCampaignParameters | import("@package/sdk").EulerCampaignParameters | import("@package/sdk").EventBasedCampaignParameters | import("@package/sdk").FluidVaultCampaignParameters | import("@package/sdk").FraxLendCampaignParameters | import("@package/sdk").FraxLendFixAPRCampaignParameters | import("@package/sdk").HyperDriveLogCampaignParameters | import("@package/sdk").HyperDriveLogFixCampaignParameters | import("@package/sdk").JSON_AIRDROPCampaignParameters | import("@package/sdk").LockerCampaignParameters | import("@package/sdk").M0CampaignParameters | import("@package/sdk").MappingCampaignParameters | import("@package/sdk").MaverickBPCampaignParameters | import("@package/sdk").MorphoBorrowCampaignParameters | import("@package/sdk").MorphoBorrowFixAPRCampaignParameters | import("@package/sdk").MorphoCollateralCampaignParameters | import("@package/sdk").MorphoCollateralFixAPRCampaignParameters | import("@package/sdk").MorphoSupplyCampaignParameters | import("@package/sdk").MorphoSupplyFixAPRCampaignParameters | import("@package/sdk").MultiLendBorrowCampaignParameters | import("@package/sdk").MultiLogCampaignParameters | import("@package/sdk").RadiantCampaignParameters | import("@package/sdk").SILOCampaignParameters | import("@package/sdk").StabullStakingCampaignParameters | import("@package/sdk").StakeDAOCampaignParameters | import("@package/sdk").StakingVaultCampaignParameters | import("@package/sdk").SymbioticVaultCampaignParameters | import("@package/sdk").TargetTokenCampaignParameters | import("@package/sdk").TermFinanceCampaignParameters | import("@package/sdk").VestCampaignParameters | import("@package/sdk").oldCLAMMCampaignParameters | (import("@package/sdk").BaseCampaignParameters & {
|
|
1252
|
-
subCampaignType: import("@package/resources/enums").CompoundSubCampaignType;
|
|
1253
|
-
decimalsTargetToken: number;
|
|
1254
|
-
compFork: import("@package/resources/enums").CompFork;
|
|
1255
|
-
symbolTargetToken: string;
|
|
1256
|
-
targetToken: string;
|
|
1257
|
-
underlyingToken: string;
|
|
1258
|
-
symbolUnderlyingToken: string;
|
|
1259
|
-
decimalsUnderlyingToken: number;
|
|
1260
|
-
}));
|
|
1261
|
-
amount: string;
|
|
1262
|
-
campaignId: string;
|
|
1263
|
-
campaignStatus: {
|
|
1264
|
-
computedUntil: number;
|
|
1265
|
-
details: import("@prisma/client/runtime/library").JsonValue;
|
|
1266
|
-
error: string;
|
|
1267
|
-
processingStarted: number;
|
|
1268
|
-
status: import("@package/databases").RunStatus;
|
|
1269
|
-
} & {
|
|
1270
|
-
delay?: number | undefined;
|
|
1271
|
-
};
|
|
1272
|
-
chain: {
|
|
1273
|
-
endOfDisputePeriod: number;
|
|
1274
|
-
icon: string;
|
|
1275
|
-
id: number;
|
|
1276
|
-
liveCampaigns: number;
|
|
1277
|
-
name: string;
|
|
1278
|
-
} & {};
|
|
1279
|
-
computeChainId: number;
|
|
1280
|
-
createdAt: string;
|
|
1281
|
-
creatorAddress: string;
|
|
1282
|
-
distributionChainId: number;
|
|
1283
|
-
distributionType: import("@package/databases").DistributionType;
|
|
1284
|
-
endTimestamp: number;
|
|
1028
|
+
} & {
|
|
1285
1029
|
id: string;
|
|
1286
|
-
|
|
1287
|
-
program: ({
|
|
1288
|
-
description: string;
|
|
1289
|
-
icon: string;
|
|
1290
|
-
id: string;
|
|
1291
|
-
name: string;
|
|
1292
|
-
slug: string | null;
|
|
1293
|
-
} & {}) | null;
|
|
1294
|
-
rewardToken: {
|
|
1295
|
-
address: string;
|
|
1296
|
-
chainId: number;
|
|
1297
|
-
decimals: number;
|
|
1298
|
-
icon: string;
|
|
1299
|
-
id: string;
|
|
1300
|
-
isNative: boolean;
|
|
1301
|
-
isTest: boolean;
|
|
1302
|
-
name: string | null;
|
|
1303
|
-
symbol: string;
|
|
1304
|
-
type: import("@package/databases").TokenType;
|
|
1305
|
-
verified: boolean;
|
|
1306
|
-
} & {
|
|
1307
|
-
price?: number | null | undefined;
|
|
1308
|
-
updatedAt?: number | null | undefined;
|
|
1309
|
-
priceSource?: string | null | undefined;
|
|
1310
|
-
isTokenWrapper?: boolean | undefined;
|
|
1311
|
-
tokenWrapperAddress?: string | undefined;
|
|
1312
|
-
};
|
|
1313
|
-
rewardTokenId: string;
|
|
1314
|
-
startTimestamp: number;
|
|
1315
|
-
subType: number | null;
|
|
1030
|
+
chainId: number;
|
|
1316
1031
|
type: string;
|
|
1317
|
-
|
|
1032
|
+
identifier: string;
|
|
1033
|
+
name: string;
|
|
1034
|
+
description: string;
|
|
1035
|
+
howToSteps: string[];
|
|
1036
|
+
depositUrl: string | null;
|
|
1037
|
+
explorerAddress: string | null;
|
|
1038
|
+
status: import("@package/databases").Status;
|
|
1039
|
+
action: import("@package/databases").OpportunityAction;
|
|
1040
|
+
mainProtocolId: string | null;
|
|
1041
|
+
tvl: number;
|
|
1042
|
+
apr: number;
|
|
1043
|
+
maxApr: number | null;
|
|
1044
|
+
dailyRewards: number;
|
|
1045
|
+
tags: string[];
|
|
1046
|
+
lastCampaignCreatedAt: Date;
|
|
1047
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1048
|
+
liveCampaigns: number;
|
|
1049
|
+
});
|
|
1318
1050
|
422: {
|
|
1319
1051
|
type: "validation";
|
|
1320
1052
|
on: string;
|
|
@@ -1343,14 +1075,14 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1343
1075
|
authorization: string;
|
|
1344
1076
|
};
|
|
1345
1077
|
response: {
|
|
1346
|
-
200: {
|
|
1078
|
+
200: Omit<import("./campaign.model").CampaignWithParams, "manualOverrides"> | {
|
|
1347
1079
|
id: string;
|
|
1348
1080
|
chainId: number;
|
|
1349
1081
|
type: string;
|
|
1350
1082
|
identifier: string;
|
|
1351
1083
|
name: string;
|
|
1352
1084
|
status: "LIVE" | "PAST" | "SOON";
|
|
1353
|
-
action:
|
|
1085
|
+
action: OpportunityAction;
|
|
1354
1086
|
tokens: ({
|
|
1355
1087
|
address: string;
|
|
1356
1088
|
chainId: number;
|
|
@@ -1376,27 +1108,7 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1376
1108
|
depositUrl: string | undefined;
|
|
1377
1109
|
explorerAddress: string | undefined;
|
|
1378
1110
|
tags: string[];
|
|
1379
|
-
} | {
|
|
1380
|
-
id: string;
|
|
1381
|
-
chainId: number;
|
|
1382
|
-
type: string;
|
|
1383
|
-
identifier: string;
|
|
1384
|
-
name: string;
|
|
1385
|
-
description: string;
|
|
1386
|
-
howToSteps: string[];
|
|
1387
|
-
depositUrl: string | null;
|
|
1388
|
-
explorerAddress: string | null;
|
|
1389
|
-
status: import("@package/databases").Status;
|
|
1390
|
-
action: import("@package/databases").OpportunityAction;
|
|
1391
|
-
mainProtocolId: string | null;
|
|
1392
|
-
tvl: number;
|
|
1393
|
-
apr: number;
|
|
1394
|
-
maxApr: number | null;
|
|
1395
|
-
dailyRewards: number;
|
|
1396
|
-
tags: string[];
|
|
1397
|
-
lastCampaignCreatedAt: Date;
|
|
1398
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1399
|
-
liveCampaigns: number;
|
|
1111
|
+
} | ({
|
|
1400
1112
|
Protocols: {
|
|
1401
1113
|
id: string;
|
|
1402
1114
|
tags: string[];
|
|
@@ -1422,143 +1134,28 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1422
1134
|
updatedAt: number | null;
|
|
1423
1135
|
priceSource: string | null;
|
|
1424
1136
|
}[];
|
|
1425
|
-
}
|
|
1426
|
-
distributionChain?: ({
|
|
1427
|
-
endOfDisputePeriod: number;
|
|
1428
|
-
icon: string;
|
|
1429
|
-
id: number;
|
|
1430
|
-
liveCampaigns: number;
|
|
1431
|
-
name: string;
|
|
1432
|
-
} & {}) | undefined;
|
|
1433
|
-
creator?: {
|
|
1434
|
-
address: string;
|
|
1435
|
-
tags?: string[] | undefined;
|
|
1436
|
-
creatorId: string | null;
|
|
1437
|
-
} | undefined;
|
|
1438
|
-
Opportunity?: ({
|
|
1439
|
-
action: import("@package/databases").OpportunityAction;
|
|
1440
|
-
apr: number;
|
|
1441
|
-
chainId: number;
|
|
1442
|
-
dailyRewards: number;
|
|
1443
|
-
description: string;
|
|
1444
|
-
howToSteps: string[];
|
|
1445
|
-
id: string;
|
|
1446
|
-
identifier: string;
|
|
1447
|
-
lastCampaignCreatedAt: number;
|
|
1448
|
-
liveCampaigns: number;
|
|
1449
|
-
maxApr: number | null;
|
|
1450
|
-
name: string;
|
|
1451
|
-
status: import("@package/databases").Status;
|
|
1452
|
-
tags: string[];
|
|
1453
|
-
tvl: number;
|
|
1454
|
-
type: string;
|
|
1455
|
-
} & {
|
|
1456
|
-
depositUrl?: string | undefined;
|
|
1457
|
-
explorerAddress?: string | undefined;
|
|
1458
|
-
mainProtocolId?: string | undefined;
|
|
1459
|
-
liveCampaignsForCreator?: number | undefined;
|
|
1460
|
-
}) | undefined;
|
|
1461
|
-
dailyRewards?: number | undefined;
|
|
1462
|
-
apr?: number | undefined;
|
|
1463
|
-
description?: string | undefined;
|
|
1464
|
-
childCampaignIds?: string[] | undefined;
|
|
1465
|
-
rootCampaignId?: string | undefined;
|
|
1466
|
-
parentCampaignId?: string | undefined;
|
|
1467
|
-
params: import("@prisma/client/runtime/library").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | ((import("@package/sdk").BaseCampaignParameters & ({
|
|
1468
|
-
poolId: string;
|
|
1469
|
-
poolManager: string;
|
|
1470
|
-
lpFee: number;
|
|
1471
|
-
currency0: string;
|
|
1472
|
-
currency1: string;
|
|
1473
|
-
decimalsCurrency0: number;
|
|
1474
|
-
decimalsCurrency1: number;
|
|
1475
|
-
symbolCurrency0: string;
|
|
1476
|
-
symbolCurrency1: string;
|
|
1477
|
-
isOutOfRangeIncentivized: boolean;
|
|
1478
|
-
weightFees: number;
|
|
1479
|
-
weightToken0: number;
|
|
1480
|
-
weightToken1: number;
|
|
1481
|
-
whitelist: string[];
|
|
1482
|
-
blacklist: string[];
|
|
1483
|
-
} & ({
|
|
1484
|
-
lowerPriceTolerance?: number | undefined;
|
|
1485
|
-
upperPriceTolerance?: number | undefined;
|
|
1486
|
-
lowerPriceBond?: undefined;
|
|
1487
|
-
upperPriceBond?: undefined;
|
|
1488
|
-
} | {
|
|
1489
|
-
lowerPriceBond?: number | undefined;
|
|
1490
|
-
upperPriceBond?: number | undefined;
|
|
1491
|
-
lowerPriceTolerance?: undefined;
|
|
1492
|
-
upperPriceTolerance?: undefined;
|
|
1493
|
-
}))) & {
|
|
1494
|
-
config: string;
|
|
1495
|
-
}) | import("@package/sdk").AaveCampaignParameters | import("@package/sdk").AjnaCampaignParameters | import("@package/sdk").AmbientCampaignParameters | import("@package/sdk").BadgerCampaignParameters | import("@package/sdk").CompoundV3CampaignParameters | import("@package/sdk").ConvexCampaignParameters | import("@package/sdk").DolomiteCampaignParameters | import("@package/sdk").ERC20CampaignParameters | import("@package/sdk").ERC20ExpiryCampaignParameters | import("@package/sdk").ERC20FixAPRCampaignParameters | import("@package/sdk").ERC20IncomingTransferCampaignParameters | import("@package/sdk").ERC20LogCampaignParameters | import("@package/sdk").ERC20RebaseCampaignParameters | import("@package/sdk").ERC20RebaseFixAPRCampaignParameters | import("@package/sdk").ERC6909CampaignParameters | import("@package/sdk").ERC721CampaignParameters | import("@package/sdk").EigenLayerCampaignParameters | import("@package/sdk").EkuboPositionManagerCampaignParameters | import("@package/sdk").EncompassingCampaignParameters | import("@package/sdk").EulerCampaignParameters | import("@package/sdk").EventBasedCampaignParameters | import("@package/sdk").FluidVaultCampaignParameters | import("@package/sdk").FraxLendCampaignParameters | import("@package/sdk").FraxLendFixAPRCampaignParameters | import("@package/sdk").HyperDriveLogCampaignParameters | import("@package/sdk").HyperDriveLogFixCampaignParameters | import("@package/sdk").JSON_AIRDROPCampaignParameters | import("@package/sdk").LockerCampaignParameters | import("@package/sdk").M0CampaignParameters | import("@package/sdk").MappingCampaignParameters | import("@package/sdk").MaverickBPCampaignParameters | import("@package/sdk").MorphoBorrowCampaignParameters | import("@package/sdk").MorphoBorrowFixAPRCampaignParameters | import("@package/sdk").MorphoCollateralCampaignParameters | import("@package/sdk").MorphoCollateralFixAPRCampaignParameters | import("@package/sdk").MorphoSupplyCampaignParameters | import("@package/sdk").MorphoSupplyFixAPRCampaignParameters | import("@package/sdk").MultiLendBorrowCampaignParameters | import("@package/sdk").MultiLogCampaignParameters | import("@package/sdk").RadiantCampaignParameters | import("@package/sdk").SILOCampaignParameters | import("@package/sdk").StabullStakingCampaignParameters | import("@package/sdk").StakeDAOCampaignParameters | import("@package/sdk").StakingVaultCampaignParameters | import("@package/sdk").SymbioticVaultCampaignParameters | import("@package/sdk").TargetTokenCampaignParameters | import("@package/sdk").TermFinanceCampaignParameters | import("@package/sdk").VestCampaignParameters | import("@package/sdk").oldCLAMMCampaignParameters | (import("@package/sdk").BaseCampaignParameters & {
|
|
1496
|
-
subCampaignType: import("@package/resources/enums").CompoundSubCampaignType;
|
|
1497
|
-
decimalsTargetToken: number;
|
|
1498
|
-
compFork: import("@package/resources/enums").CompFork;
|
|
1499
|
-
symbolTargetToken: string;
|
|
1500
|
-
targetToken: string;
|
|
1501
|
-
underlyingToken: string;
|
|
1502
|
-
symbolUnderlyingToken: string;
|
|
1503
|
-
decimalsUnderlyingToken: number;
|
|
1504
|
-
}));
|
|
1505
|
-
amount: string;
|
|
1506
|
-
campaignId: string;
|
|
1507
|
-
campaignStatus: {
|
|
1508
|
-
computedUntil: number;
|
|
1509
|
-
details: import("@prisma/client/runtime/library").JsonValue;
|
|
1510
|
-
error: string;
|
|
1511
|
-
processingStarted: number;
|
|
1512
|
-
status: import("@package/databases").RunStatus;
|
|
1513
|
-
} & {
|
|
1514
|
-
delay?: number | undefined;
|
|
1515
|
-
};
|
|
1516
|
-
chain: {
|
|
1517
|
-
endOfDisputePeriod: number;
|
|
1518
|
-
icon: string;
|
|
1519
|
-
id: number;
|
|
1520
|
-
liveCampaigns: number;
|
|
1521
|
-
name: string;
|
|
1522
|
-
} & {};
|
|
1523
|
-
computeChainId: number;
|
|
1524
|
-
createdAt: string;
|
|
1525
|
-
creatorAddress: string;
|
|
1526
|
-
distributionChainId: number;
|
|
1527
|
-
distributionType: import("@package/databases").DistributionType;
|
|
1528
|
-
endTimestamp: number;
|
|
1137
|
+
} & {
|
|
1529
1138
|
id: string;
|
|
1530
|
-
|
|
1531
|
-
program: ({
|
|
1532
|
-
description: string;
|
|
1533
|
-
icon: string;
|
|
1534
|
-
id: string;
|
|
1535
|
-
name: string;
|
|
1536
|
-
slug: string | null;
|
|
1537
|
-
} & {}) | null;
|
|
1538
|
-
rewardToken: {
|
|
1539
|
-
address: string;
|
|
1540
|
-
chainId: number;
|
|
1541
|
-
decimals: number;
|
|
1542
|
-
icon: string;
|
|
1543
|
-
id: string;
|
|
1544
|
-
isNative: boolean;
|
|
1545
|
-
isTest: boolean;
|
|
1546
|
-
name: string | null;
|
|
1547
|
-
symbol: string;
|
|
1548
|
-
type: import("@package/databases").TokenType;
|
|
1549
|
-
verified: boolean;
|
|
1550
|
-
} & {
|
|
1551
|
-
price?: number | null | undefined;
|
|
1552
|
-
updatedAt?: number | null | undefined;
|
|
1553
|
-
priceSource?: string | null | undefined;
|
|
1554
|
-
isTokenWrapper?: boolean | undefined;
|
|
1555
|
-
tokenWrapperAddress?: string | undefined;
|
|
1556
|
-
};
|
|
1557
|
-
rewardTokenId: string;
|
|
1558
|
-
startTimestamp: number;
|
|
1559
|
-
subType: number | null;
|
|
1139
|
+
chainId: number;
|
|
1560
1140
|
type: string;
|
|
1561
|
-
|
|
1141
|
+
identifier: string;
|
|
1142
|
+
name: string;
|
|
1143
|
+
description: string;
|
|
1144
|
+
howToSteps: string[];
|
|
1145
|
+
depositUrl: string | null;
|
|
1146
|
+
explorerAddress: string | null;
|
|
1147
|
+
status: import("@package/databases").Status;
|
|
1148
|
+
action: import("@package/databases").OpportunityAction;
|
|
1149
|
+
mainProtocolId: string | null;
|
|
1150
|
+
tvl: number;
|
|
1151
|
+
apr: number;
|
|
1152
|
+
maxApr: number | null;
|
|
1153
|
+
dailyRewards: number;
|
|
1154
|
+
tags: string[];
|
|
1155
|
+
lastCampaignCreatedAt: Date;
|
|
1156
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
|
1157
|
+
liveCampaigns: number;
|
|
1158
|
+
});
|
|
1562
1159
|
422: {
|
|
1563
1160
|
type: "validation";
|
|
1564
1161
|
on: string;
|
|
@@ -1579,9 +1176,11 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1579
1176
|
resolve: {};
|
|
1580
1177
|
schema: {};
|
|
1581
1178
|
standaloneSchema: {};
|
|
1179
|
+
response: {};
|
|
1582
1180
|
}, {
|
|
1583
1181
|
derive: {};
|
|
1584
1182
|
resolve: {};
|
|
1585
1183
|
schema: {};
|
|
1586
1184
|
standaloneSchema: {};
|
|
1185
|
+
response: {};
|
|
1587
1186
|
}>;
|