@merkl/api 0.21.37 → 0.21.38
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 +562 -554
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/factoryFinder.js +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/detect.js +4 -0
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js +8 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.d.ts +17 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/metadata.js +38 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/pino/tvl.js +83 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.d.ts +30 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/metadata.js +65 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/uniswapV2/tvl.js +94 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/engine/implementations/Erc20/subTypes/index.js +1 -0
- package/dist/src/index.d.ts +151 -147
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.test.controller.js +2 -2
- package/dist/src/modules/v4/creator/creator.controller.d.ts +149 -145
- package/dist/src/modules/v4/creator/creator.controller.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -1
- package/dist/src/modules/v4/router.d.ts +151 -147
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -2303,7 +2303,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2303
2303
|
} & {
|
2304
2304
|
"dry-run": {
|
2305
2305
|
metadata: {
|
2306
|
-
|
2306
|
+
index: {
|
2307
2307
|
post: {
|
2308
2308
|
body: {
|
2309
2309
|
id?: string | undefined;
|
@@ -2427,7 +2427,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2427
2427
|
} & {
|
2428
2428
|
"dry-run": {
|
2429
2429
|
metadata: {
|
2430
|
-
|
2430
|
+
index: {
|
2431
2431
|
get: {
|
2432
2432
|
body: unknown;
|
2433
2433
|
params: {};
|
@@ -5641,24 +5641,26 @@ export declare const v4: Elysia<"/v4", false, {
|
|
5641
5641
|
};
|
5642
5642
|
} & {
|
5643
5643
|
creators: {
|
5644
|
-
|
5645
|
-
|
5646
|
-
|
5647
|
-
|
5648
|
-
|
5649
|
-
|
5650
|
-
|
5651
|
-
|
5652
|
-
|
5653
|
-
|
5654
|
-
|
5655
|
-
|
5656
|
-
|
5657
|
-
|
5658
|
-
|
5659
|
-
|
5660
|
-
|
5661
|
-
|
5644
|
+
user: {
|
5645
|
+
":address": {
|
5646
|
+
dashboard: {
|
5647
|
+
get: {
|
5648
|
+
body: unknown;
|
5649
|
+
params: {
|
5650
|
+
address: string;
|
5651
|
+
};
|
5652
|
+
query: unknown;
|
5653
|
+
headers: unknown;
|
5654
|
+
response: {
|
5655
|
+
200: {
|
5656
|
+
pastCampaigns: number;
|
5657
|
+
liveCampaigns: number;
|
5658
|
+
futureCampaigns: number;
|
5659
|
+
totalTvl: number;
|
5660
|
+
totalWallets: number;
|
5661
|
+
totalCampaigns: number;
|
5662
|
+
creatorId: string | null;
|
5663
|
+
};
|
5662
5664
|
};
|
5663
5665
|
};
|
5664
5666
|
};
|
@@ -5667,138 +5669,140 @@ export declare const v4: Elysia<"/v4", false, {
|
|
5667
5669
|
};
|
5668
5670
|
} & {
|
5669
5671
|
creators: {
|
5670
|
-
|
5671
|
-
|
5672
|
-
|
5673
|
-
|
5674
|
-
|
5675
|
-
|
5676
|
-
|
5677
|
-
|
5678
|
-
|
5679
|
-
|
5680
|
-
|
5681
|
-
|
5682
|
-
|
5683
|
-
|
5684
|
-
|
5672
|
+
user: {
|
5673
|
+
":address": {
|
5674
|
+
campaigns: {
|
5675
|
+
get: {
|
5676
|
+
body: unknown;
|
5677
|
+
params: {
|
5678
|
+
address: string;
|
5679
|
+
};
|
5680
|
+
query: {
|
5681
|
+
status?: "PAST" | "LIVE" | "FUTURE" | undefined;
|
5682
|
+
};
|
5683
|
+
headers: unknown;
|
5684
|
+
response: {
|
5685
|
+
200: ({
|
5686
|
+
Opportunity: {
|
5687
|
+
status: import("@db/api").$Enums.Status;
|
5688
|
+
type: string;
|
5689
|
+
name: string;
|
5690
|
+
description: string;
|
5691
|
+
id: string;
|
5692
|
+
tags: string[];
|
5693
|
+
identifier: string;
|
5694
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
5695
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5696
|
+
chainId: number;
|
5697
|
+
howToSteps: string[];
|
5698
|
+
depositUrl: string | null;
|
5699
|
+
explorerAddress: string | null;
|
5700
|
+
mainProtocolId: string | null;
|
5701
|
+
tvl: number;
|
5702
|
+
apr: number;
|
5703
|
+
dailyRewards: number;
|
5704
|
+
lastCampaignCreatedAt: Date;
|
5705
|
+
};
|
5706
|
+
} & {
|
5685
5707
|
type: string;
|
5686
|
-
|
5687
|
-
description: string;
|
5688
|
-
id: string;
|
5689
|
-
tags: string[];
|
5690
|
-
identifier: string;
|
5691
|
-
action: import("@db/api").$Enums.OpportunityAction;
|
5692
|
-
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5693
|
-
chainId: number;
|
5694
|
-
howToSteps: string[];
|
5695
|
-
depositUrl: string | null;
|
5696
|
-
explorerAddress: string | null;
|
5697
|
-
mainProtocolId: string | null;
|
5698
|
-
tvl: number;
|
5699
|
-
apr: number;
|
5700
|
-
dailyRewards: number;
|
5701
|
-
lastCampaignCreatedAt: Date;
|
5702
|
-
};
|
5703
|
-
} & {
|
5704
|
-
type: string;
|
5705
|
-
description: string | null;
|
5706
|
-
id: string;
|
5707
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
5708
|
-
subType: number | null;
|
5709
|
-
computeChainId: number;
|
5710
|
-
distributionChainId: number;
|
5711
|
-
campaignId: string;
|
5712
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
5713
|
-
rewardTokenId: string;
|
5714
|
-
amount: string;
|
5715
|
-
opportunityId: string;
|
5716
|
-
startTimestamp: bigint;
|
5717
|
-
endTimestamp: bigint;
|
5718
|
-
creatorAddress: string;
|
5719
|
-
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
5720
|
-
createdAt: Date;
|
5721
|
-
rootCampaignId: string | null;
|
5722
|
-
parentCampaignId: string | null;
|
5723
|
-
})[] | {
|
5724
|
-
params: any;
|
5725
|
-
chain: {
|
5726
|
-
name: string;
|
5727
|
-
id: number;
|
5728
|
-
icon: string;
|
5729
|
-
};
|
5730
|
-
endTimestamp: number;
|
5731
|
-
startTimestamp: number;
|
5732
|
-
rewardToken: {
|
5733
|
-
symbol: string;
|
5734
|
-
name: string | null;
|
5708
|
+
description: string | null;
|
5735
5709
|
id: string;
|
5736
|
-
|
5737
|
-
|
5738
|
-
|
5739
|
-
|
5740
|
-
verified: boolean;
|
5741
|
-
isTest: boolean;
|
5742
|
-
isPoint: boolean;
|
5743
|
-
isPreTGE: boolean;
|
5744
|
-
isNative: boolean;
|
5745
|
-
} & {
|
5746
|
-
price?: number | null | undefined;
|
5747
|
-
};
|
5748
|
-
distributionChain: {
|
5749
|
-
name: string;
|
5750
|
-
id: number;
|
5751
|
-
icon: string;
|
5752
|
-
} | undefined;
|
5753
|
-
campaignStatus: {
|
5754
|
-
computedUntil: number;
|
5755
|
-
processingStarted: number;
|
5756
|
-
status: import("@db/api").$Enums.RunStatus;
|
5757
|
-
error: string;
|
5758
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
5710
|
+
params: import("database/api/.generated/runtime/library").JsonValue;
|
5711
|
+
subType: number | null;
|
5712
|
+
computeChainId: number;
|
5713
|
+
distributionChainId: number;
|
5759
5714
|
campaignId: string;
|
5760
|
-
|
5761
|
-
|
5762
|
-
|
5763
|
-
|
5764
|
-
|
5765
|
-
|
5766
|
-
|
5767
|
-
|
5768
|
-
|
5769
|
-
|
5770
|
-
|
5771
|
-
|
5772
|
-
|
5715
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5716
|
+
rewardTokenId: string;
|
5717
|
+
amount: string;
|
5718
|
+
opportunityId: string;
|
5719
|
+
startTimestamp: bigint;
|
5720
|
+
endTimestamp: bigint;
|
5721
|
+
creatorAddress: string;
|
5722
|
+
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
5723
|
+
createdAt: Date;
|
5724
|
+
rootCampaignId: string | null;
|
5725
|
+
parentCampaignId: string | null;
|
5726
|
+
})[] | {
|
5727
|
+
params: any;
|
5728
|
+
chain: {
|
5729
|
+
name: string;
|
5730
|
+
id: number;
|
5731
|
+
icon: string;
|
5732
|
+
};
|
5733
|
+
endTimestamp: number;
|
5734
|
+
startTimestamp: number;
|
5735
|
+
rewardToken: {
|
5736
|
+
symbol: string;
|
5737
|
+
name: string | null;
|
5738
|
+
id: string;
|
5739
|
+
icon: string;
|
5740
|
+
address: string;
|
5741
|
+
chainId: number;
|
5742
|
+
decimals: number;
|
5743
|
+
verified: boolean;
|
5744
|
+
isTest: boolean;
|
5745
|
+
isPoint: boolean;
|
5746
|
+
isPreTGE: boolean;
|
5747
|
+
isNative: boolean;
|
5748
|
+
} & {
|
5749
|
+
price?: number | null | undefined;
|
5750
|
+
};
|
5751
|
+
distributionChain: {
|
5752
|
+
name: string;
|
5753
|
+
id: number;
|
5754
|
+
icon: string;
|
5755
|
+
} | undefined;
|
5756
|
+
campaignStatus: {
|
5757
|
+
computedUntil: number;
|
5758
|
+
processingStarted: number;
|
5759
|
+
status: import("@db/api").$Enums.RunStatus;
|
5760
|
+
error: string;
|
5761
|
+
details: import("database/api/.generated/runtime/library").JsonValue;
|
5762
|
+
campaignId: string;
|
5763
|
+
} | undefined;
|
5764
|
+
creatorAddress: string;
|
5765
|
+
creator: {
|
5766
|
+
tags: string[];
|
5767
|
+
address: string;
|
5768
|
+
creatorId: string | null;
|
5769
|
+
};
|
5770
|
+
createdAt: string;
|
5771
|
+
description: string | undefined;
|
5772
|
+
parentCampaignId: string | undefined;
|
5773
|
+
rootCampaignId: string | undefined;
|
5774
|
+
Opportunity: {
|
5775
|
+
status: import("@db/api").$Enums.Status;
|
5776
|
+
type: string;
|
5777
|
+
name: string;
|
5778
|
+
description: string;
|
5779
|
+
id: string;
|
5780
|
+
tags: string[];
|
5781
|
+
identifier: string;
|
5782
|
+
action: import("@db/api").$Enums.OpportunityAction;
|
5783
|
+
manualOverrides: import("@db/api").$Enums.OpportunityManualOverride[];
|
5784
|
+
chainId: number;
|
5785
|
+
howToSteps: string[];
|
5786
|
+
depositUrl: string | null;
|
5787
|
+
explorerAddress: string | null;
|
5788
|
+
mainProtocolId: string | null;
|
5789
|
+
tvl: number;
|
5790
|
+
apr: number;
|
5791
|
+
dailyRewards: number;
|
5792
|
+
lastCampaignCreatedAt: Date;
|
5793
|
+
};
|
5773
5794
|
type: string;
|
5774
|
-
name: string;
|
5775
|
-
description: string;
|
5776
5795
|
id: string;
|
5777
|
-
|
5778
|
-
|
5779
|
-
|
5780
|
-
|
5781
|
-
|
5782
|
-
|
5783
|
-
|
5784
|
-
|
5785
|
-
|
5786
|
-
|
5787
|
-
apr: number;
|
5788
|
-
dailyRewards: number;
|
5789
|
-
lastCampaignCreatedAt: Date;
|
5790
|
-
};
|
5791
|
-
type: string;
|
5792
|
-
id: string;
|
5793
|
-
subType: number | null;
|
5794
|
-
computeChainId: number;
|
5795
|
-
distributionChainId: number;
|
5796
|
-
campaignId: string;
|
5797
|
-
distributionType: import("@db/api").$Enums.DistributionType;
|
5798
|
-
rewardTokenId: string;
|
5799
|
-
amount: string;
|
5800
|
-
opportunityId: string;
|
5801
|
-
}[];
|
5796
|
+
subType: number | null;
|
5797
|
+
computeChainId: number;
|
5798
|
+
distributionChainId: number;
|
5799
|
+
campaignId: string;
|
5800
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5801
|
+
rewardTokenId: string;
|
5802
|
+
amount: string;
|
5803
|
+
opportunityId: string;
|
5804
|
+
}[];
|
5805
|
+
};
|
5802
5806
|
};
|
5803
5807
|
};
|
5804
5808
|
};
|