@merkl/api 0.10.199 → 0.10.201
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +2 -6398
- package/dist/src/errors/HttpError.d.ts +5 -0
- package/dist/src/errors/HttpError.js +6 -0
- package/dist/src/errors/NotFound.error.d.ts +4 -0
- package/dist/src/errors/NotFound.error.js +5 -0
- package/dist/src/index.d.ts +1 -2464
- package/dist/src/index.js +56 -7
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicData.js +15 -22
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/factoryFinder.js +1 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +3 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +8 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GammaProcessor.d.ts +43 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GammaProcessor.js +63 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.js +3 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/NoLinkVaultProcessor.d.ts +36 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/NoLinkVaultProcessor.js +51 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.d.ts +0 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/StakingProcessor.js +15 -7
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +4 -0
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPrices.d.ts +1 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPrices.js +13 -572
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.d.ts +2 -21
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.js +197 -1174
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2.d.ts +1 -5
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2.js +11 -634
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.d.ts +1 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3.js +10 -380
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4.js +11 -312
- package/dist/src/libs/campaigns/campaignTypes/EulerDynamicData.js +8 -8
- package/dist/src/libs/campaigns/campaignTypes/RadiantDynamicData.js +3 -4
- package/dist/src/libs/campaigns/campaignsDynamicData.js +0 -5
- package/dist/src/modules/v4/accounting/accounting.controller.js +1 -1
- package/dist/src/modules/v4/apr/apr.model.d.ts +26 -0
- package/dist/src/modules/v4/apr/apr.model.js +15 -1
- package/dist/src/modules/v4/blacklist/blacklist.controller.js +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +6 -4
- package/dist/src/modules/v4/campaign/campaign.controller.js +14 -4
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +51 -5
- package/dist/src/modules/v4/campaign/campaign.model.js +48 -13
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.repository.js +10 -2
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
- package/dist/src/modules/v4/chain/chain.controller.d.ts +2 -2
- package/dist/src/modules/v4/chain/chain.controller.js +7 -2
- package/dist/src/modules/v4/chain/chain.model.d.ts +6 -1
- package/dist/src/modules/v4/chain/chain.model.js +8 -1
- package/dist/src/modules/v4/chain/chain.repository.js +1 -1
- package/dist/src/modules/v4/claims/claims.controller.js +1 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.js +4 -1
- package/dist/src/modules/v4/enso/enso.model.d.ts +1 -1
- package/dist/src/modules/v4/enso/enso.model.js +2 -1
- package/dist/src/modules/v4/enso/enso.service.d.ts +0 -1
- package/dist/src/modules/v4/enso/enso.service.js +4 -4
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +26 -17
- package/dist/src/modules/v4/interaction/interaction.controller.js +19 -28
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +17 -5
- package/dist/src/modules/v4/interaction/interaction.model.js +3 -3
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +18 -3
- package/dist/src/modules/v4/interaction/interaction.service.js +89 -11
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +72 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.model.js +79 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +15 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.js +84 -0
- package/dist/src/modules/v4/liquidity/liquidity.controller.js +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +224 -213
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +39 -10
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +252 -22
- package/dist/src/modules/v4/opportunity/opportunity.model.js +58 -15
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +11 -11
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -232
- package/dist/src/modules/v4/opportunity/opportunity.service.js +0 -32
- package/dist/src/modules/v4/price/price.controller.js +1 -1
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +23 -24
- package/dist/src/modules/v4/protocol/protocol.controller.js +15 -9
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +13 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +12 -8
- package/dist/src/modules/v4/reward/reward.controller.js +1 -1
- package/dist/src/modules/v4/reward/reward.model.d.ts +44 -1
- package/dist/src/modules/v4/reward/reward.model.js +15 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.service.d.ts +11 -11
- package/dist/src/modules/v4/reward/reward.service.js +1 -1
- package/dist/src/modules/v4/router.d.ts +289 -268
- package/dist/src/modules/v4/status/status.controller.js +2 -3
- package/dist/src/modules/v4/status/status.model.d.ts +12 -0
- package/dist/src/modules/v4/status/status.model.js +12 -0
- package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
- package/dist/src/modules/v4/token/token.controller.js +1 -1
- package/dist/src/modules/v4/token/token.model.d.ts +12 -0
- package/dist/src/modules/v4/token/token.model.js +12 -0
- package/dist/src/modules/v4/token/token.repository.d.ts +2 -2
- package/dist/src/modules/v4/token/token.service.d.ts +7 -7
- package/dist/src/modules/v4/tvl/tvl.model.d.ts +24 -0
- package/dist/src/modules/v4/tvl/tvl.model.js +15 -1
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +1 -1
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.js +9 -8
- package/dist/src/modules/v4/user/user.controller.d.ts +4 -4
- package/dist/src/modules/v4/user/user.controller.js +20 -17
- package/dist/src/modules/v4/user/user.model.d.ts +30 -0
- package/dist/src/modules/v4/user/user.model.js +27 -0
- package/dist/src/modules/v4/zyfi/zyfi.model.d.ts +45 -0
- package/dist/src/modules/v4/zyfi/zyfi.model.js +1 -0
- package/dist/src/modules/v4/zyfi/zyfi.service.d.ts +30 -0
- package/dist/src/modules/v4/zyfi/zyfi.service.js +35 -0
- package/dist/src/plugins/error-handling.plugin.d.ts +2 -2
- package/dist/src/plugins/error-handling.plugin.js +9 -3
- package/dist/src/plugins/logger.plugin.js +1 -20
- package/dist/src/routes/v1/allowances.d.ts +1 -1
- package/dist/src/routes/v1/allowances.js +1 -1
- package/dist/src/routes/v1/balances.d.ts +1 -1
- package/dist/src/routes/v1/balances.js +1 -1
- package/dist/src/routes/v1/prices.d.ts +1 -1
- package/dist/src/routes/v1/prices.js +1 -1
- package/dist/src/routes/v1/router.d.ts +102 -0
- package/dist/src/routes/v1/router.js +6 -0
- package/dist/src/routes/v1/tokens.d.ts +1 -1
- package/dist/src/routes/v1/tokens.js +1 -1
- package/dist/src/routes/v2/merkl.d.ts +5 -5
- package/dist/src/routes/v2/merkl.js +1 -1
- package/dist/src/routes/v2/router.d.ts +46 -0
- package/dist/src/routes/v2/router.js +3 -0
- package/dist/src/routes/v3/app.d.ts +1 -1
- package/dist/src/routes/v3/app.js +1 -1
- package/dist/src/routes/v3/blacklist.d.ts +1 -2479
- package/dist/src/routes/v3/blacklist.js +1 -1
- package/dist/src/routes/v3/campaignClaims.d.ts +1 -1
- package/dist/src/routes/v3/campaignClaims.js +1 -1
- package/dist/src/routes/v3/campaignReport.d.ts +1 -1
- package/dist/src/routes/v3/campaignReport.js +1 -1
- package/dist/src/routes/v3/campaignUnclaimed.d.ts +1 -1
- package/dist/src/routes/v3/campaignUnclaimed.js +1 -1
- package/dist/src/routes/v3/campaigns.d.ts +1 -2483
- package/dist/src/routes/v3/campaigns.js +1 -1
- package/dist/src/routes/v3/campaignsForMainParameter.d.ts +1 -1
- package/dist/src/routes/v3/campaignsForMainParameter.js +1 -1
- package/dist/src/routes/v3/campaignsInfo.d.ts +1 -2481
- package/dist/src/routes/v3/campaignsInfo.js +1 -1
- package/dist/src/routes/v3/campaignsRewardsReport.d.ts +1 -1
- package/dist/src/routes/v3/campaignsRewardsReport.js +1 -1
- package/dist/src/routes/v3/claims.d.ts +2 -2
- package/dist/src/routes/v3/claims.js +1 -1
- package/dist/src/routes/v3/compoundV2.d.ts +1 -1
- package/dist/src/routes/v3/compoundV2.js +1 -1
- package/dist/src/routes/v3/createCampaign.d.ts +1 -1
- package/dist/src/routes/v3/createCampaign.js +1 -1
- package/dist/src/routes/v3/dolomite.d.ts +1 -1
- package/dist/src/routes/v3/dolomite.js +1 -1
- package/dist/src/routes/v3/euler.d.ts +1 -1
- package/dist/src/routes/v3/euler.js +1 -1
- package/dist/src/routes/v3/fetch.d.ts +1 -1
- package/dist/src/routes/v3/fetch.js +1 -1
- package/dist/src/routes/v3/health.d.ts +1 -1
- package/dist/src/routes/v3/health.js +1 -1
- package/dist/src/routes/v3/lostyield.d.ts +1 -1
- package/dist/src/routes/v3/lostyield.js +1 -1
- package/dist/src/routes/v3/merkl.d.ts +1 -1
- package/dist/src/routes/v3/merkl.js +1 -1
- package/dist/src/routes/v3/morphoMarkets.d.ts +1 -1
- package/dist/src/routes/v3/morphoMarkets.js +1 -1
- package/dist/src/routes/v3/morphoVaults.d.ts +1 -1
- package/dist/src/routes/v3/morphoVaults.js +1 -1
- package/dist/src/routes/v3/multiChainPositions.d.ts +1 -2480
- package/dist/src/routes/v3/multiChainPositions.js +1 -1
- package/dist/src/routes/v3/opportunity.d.ts +1 -2483
- package/dist/src/routes/v3/opportunity.js +1 -1
- package/dist/src/routes/v3/overview.d.ts +1 -1
- package/dist/src/routes/v3/overview.js +1 -1
- package/dist/src/routes/v3/parse.d.ts +1 -1
- package/dist/src/routes/v3/parse.js +1 -1
- package/dist/src/routes/v3/payload.d.ts +1 -1
- package/dist/src/routes/v3/payload.js +1 -1
- package/dist/src/routes/v3/poolInfo.js +1 -1
- package/dist/src/routes/v3/positions.d.ts +1 -2479
- package/dist/src/routes/v3/positions.js +1 -1
- package/dist/src/routes/v3/radiant.d.ts +1 -1
- package/dist/src/routes/v3/radiant.js +1 -1
- package/dist/src/routes/v3/recipients.d.ts +1 -1
- package/dist/src/routes/v3/recipients.js +1 -1
- package/dist/src/routes/v3/rewards.d.ts +1 -2508
- package/dist/src/routes/v3/rewards.js +1 -1
- package/dist/src/routes/v3/rewardsReport.d.ts +1 -1
- package/dist/src/routes/v3/rewardsReport.js +1 -1
- package/dist/src/routes/v3/router.d.ts +1 -0
- package/dist/src/routes/v3/router.js +74 -0
- package/dist/src/routes/v3/silo.d.ts +1 -1
- package/dist/src/routes/v3/silo.js +1 -1
- package/dist/src/routes/v3/token.d.ts +1 -1
- package/dist/src/routes/v3/token.js +1 -1
- package/dist/src/routes/v3/tokenUnclaimed.d.ts +1 -1
- package/dist/src/routes/v3/tokenUnclaimed.js +1 -1
- package/dist/src/routes/v3/updates.d.ts +1 -2483
- package/dist/src/routes/v3/updates.js +1 -1
- package/dist/src/routes/v3/userRewards.d.ts +1 -2499
- package/dist/src/routes/v3/userRewards.js +1 -1
- package/dist/src/utils/decodeCalls.js +12 -1
- package/dist/src/utils/encodeCalls.js +26 -3
- package/dist/src/utils/generateCardName.js +2 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +2 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20DynamicDataRefacto.js +0 -155
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.d.ts +0 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesPricesRefactoFinal.js +0 -24
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.d.ts +0 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +0 -230
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound2RefactoFinal.js +0 -22
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound3RefactoFinal.js +0 -22
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.d.ts +0 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound4RefactoFinal.js +0 -22
- package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.d.ts +0 -3
- package/dist/src/libs/campaigns/campaignsDynamicDataRefacto.js +0 -75
@@ -4,2484 +4,5 @@ export declare const query: import("@sinclair/typebox").TObject<{
|
|
4
4
|
user: import("@sinclair/typebox").TString;
|
5
5
|
creatorTag: import("@sinclair/typebox").TString;
|
6
6
|
}>;
|
7
|
-
declare const _default: (app: App) =>
|
8
|
-
decorator: {};
|
9
|
-
store: {};
|
10
|
-
derive: {};
|
11
|
-
resolve: {};
|
12
|
-
}, {
|
13
|
-
type: {};
|
14
|
-
error: {
|
15
|
-
readonly HttpError: import("../../errors").HttpError;
|
16
|
-
readonly BadRequestError: import("../../errors").BadRequestError;
|
17
|
-
readonly ConflictError: import("../../errors").ConflictError;
|
18
|
-
readonly NotFoundError: import("../../errors").NotFoundError;
|
19
|
-
readonly UnauthorizedError: import("../../errors").UnauthorizedError;
|
20
|
-
readonly InvalidParameter: import("../../utils/error").InvalidParameter;
|
21
|
-
readonly UnsupportedNetwork: import("../../utils/error").UnsupportedNetwork;
|
22
|
-
readonly OpportunityNotFound: import("../../utils/error").OpportunityNotFound;
|
23
|
-
readonly MerkleRootNotFound: import("../../utils/error").MerkleRootNotFound;
|
24
|
-
readonly ValidationError: import("elysia").ValidationError;
|
25
|
-
readonly InvalidCacheCall: import("../../utils/error").InvalidCacheCall;
|
26
|
-
};
|
27
|
-
}, {
|
28
|
-
schema: {};
|
29
|
-
macro: {};
|
30
|
-
macroFn: {};
|
31
|
-
}, false & {
|
32
|
-
index: {
|
33
|
-
get: {
|
34
|
-
body: unknown;
|
35
|
-
params: {};
|
36
|
-
query: unknown;
|
37
|
-
headers: unknown;
|
38
|
-
response: {
|
39
|
-
200: string;
|
40
|
-
};
|
41
|
-
};
|
42
|
-
};
|
43
|
-
} & {
|
44
|
-
v4: {};
|
45
|
-
} & {
|
46
|
-
v4: {
|
47
|
-
opportunities: {
|
48
|
-
index: {
|
49
|
-
post: {
|
50
|
-
body: {
|
51
|
-
name?: string | undefined;
|
52
|
-
type: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4";
|
53
|
-
tokens: {
|
54
|
-
chainId: number;
|
55
|
-
address: string;
|
56
|
-
}[];
|
57
|
-
status: "NONE" | "PAST" | "LIVE" | "SOON";
|
58
|
-
identifier: string;
|
59
|
-
chainId: number;
|
60
|
-
action: "INVALID" | "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW";
|
61
|
-
protocols: string[];
|
62
|
-
mainProtocol: string;
|
63
|
-
};
|
64
|
-
params: {};
|
65
|
-
query: unknown;
|
66
|
-
headers: {
|
67
|
-
authorization: string;
|
68
|
-
};
|
69
|
-
response: {
|
70
|
-
200: void;
|
71
|
-
};
|
72
|
-
};
|
73
|
-
};
|
74
|
-
};
|
75
|
-
} & {
|
76
|
-
opportunities: {
|
77
|
-
":id": {
|
78
|
-
get: {
|
79
|
-
body: unknown;
|
80
|
-
params: {
|
81
|
-
id: string;
|
82
|
-
};
|
83
|
-
query: unknown;
|
84
|
-
headers: unknown;
|
85
|
-
response: {
|
86
|
-
200: {
|
87
|
-
aprRecord: {
|
88
|
-
cumulated: number;
|
89
|
-
timestamp: bigint;
|
90
|
-
breakdowns: {
|
91
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
92
|
-
id: number;
|
93
|
-
identifier: string;
|
94
|
-
value: number;
|
95
|
-
aprRecordId: string;
|
96
|
-
}[];
|
97
|
-
};
|
98
|
-
tvlRecord: {
|
99
|
-
id: string;
|
100
|
-
total: number;
|
101
|
-
timestamp: bigint;
|
102
|
-
breakdowns: {
|
103
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
104
|
-
id: number;
|
105
|
-
identifier: string;
|
106
|
-
value: number;
|
107
|
-
tvlRecordId: string;
|
108
|
-
}[];
|
109
|
-
};
|
110
|
-
rewardsRecord: {
|
111
|
-
id: string;
|
112
|
-
total: number;
|
113
|
-
timestamp: bigint;
|
114
|
-
breakdowns: {
|
115
|
-
id: number;
|
116
|
-
value: number;
|
117
|
-
campaignId: string;
|
118
|
-
dailyRewardsRecordId: string;
|
119
|
-
token: {
|
120
|
-
symbol: string;
|
121
|
-
name: string | null;
|
122
|
-
id: string;
|
123
|
-
chainId: number;
|
124
|
-
address: string;
|
125
|
-
icon: string;
|
126
|
-
decimals: number;
|
127
|
-
displaySymbol: string;
|
128
|
-
verified: boolean;
|
129
|
-
isTest: boolean;
|
130
|
-
price: number | null;
|
131
|
-
};
|
132
|
-
amount: bigint;
|
133
|
-
}[];
|
134
|
-
};
|
135
|
-
id: string;
|
136
|
-
tokens: ({
|
137
|
-
symbol: string;
|
138
|
-
name: string | null;
|
139
|
-
id: string;
|
140
|
-
chainId: number;
|
141
|
-
address: string;
|
142
|
-
icon: string;
|
143
|
-
decimals: number;
|
144
|
-
verified: boolean;
|
145
|
-
isTest: boolean;
|
146
|
-
} & {
|
147
|
-
price?: number | null | undefined;
|
148
|
-
})[];
|
149
|
-
chain: {
|
150
|
-
name: string;
|
151
|
-
id: number;
|
152
|
-
icon: string;
|
153
|
-
};
|
154
|
-
protocol: {
|
155
|
-
name: string;
|
156
|
-
url: string;
|
157
|
-
description: string;
|
158
|
-
id: string;
|
159
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
160
|
-
icon: string;
|
161
|
-
} | undefined;
|
162
|
-
name: string;
|
163
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
164
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
165
|
-
tags: string[];
|
166
|
-
identifier: string;
|
167
|
-
chainId: number;
|
168
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
169
|
-
tvl: number;
|
170
|
-
apr: number;
|
171
|
-
dailyRewards: number;
|
172
|
-
} | undefined;
|
173
|
-
};
|
174
|
-
};
|
175
|
-
};
|
176
|
-
};
|
177
|
-
} & {
|
178
|
-
opportunities: {
|
179
|
-
":id": {
|
180
|
-
campaigns: {
|
181
|
-
get: {
|
182
|
-
body: unknown;
|
183
|
-
params: {
|
184
|
-
id: string;
|
185
|
-
};
|
186
|
-
query: unknown;
|
187
|
-
headers: unknown;
|
188
|
-
response: {
|
189
|
-
200: {
|
190
|
-
aprRecord: {
|
191
|
-
cumulated: number;
|
192
|
-
timestamp: bigint;
|
193
|
-
breakdowns: {
|
194
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
195
|
-
id: number;
|
196
|
-
identifier: string;
|
197
|
-
value: number;
|
198
|
-
aprRecordId: string;
|
199
|
-
}[];
|
200
|
-
};
|
201
|
-
tvlRecord: {
|
202
|
-
id: string;
|
203
|
-
total: number;
|
204
|
-
timestamp: bigint;
|
205
|
-
breakdowns: {
|
206
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
207
|
-
id: number;
|
208
|
-
identifier: string;
|
209
|
-
value: number;
|
210
|
-
tvlRecordId: string;
|
211
|
-
}[];
|
212
|
-
};
|
213
|
-
rewardsRecord: {
|
214
|
-
id: string;
|
215
|
-
total: number;
|
216
|
-
timestamp: bigint;
|
217
|
-
breakdowns: {
|
218
|
-
id: number;
|
219
|
-
value: number;
|
220
|
-
campaignId: string;
|
221
|
-
dailyRewardsRecordId: string;
|
222
|
-
token: {
|
223
|
-
symbol: string;
|
224
|
-
name: string | null;
|
225
|
-
id: string;
|
226
|
-
chainId: number;
|
227
|
-
address: string;
|
228
|
-
icon: string;
|
229
|
-
decimals: number;
|
230
|
-
displaySymbol: string;
|
231
|
-
verified: boolean;
|
232
|
-
isTest: boolean;
|
233
|
-
price: number | null;
|
234
|
-
};
|
235
|
-
amount: bigint;
|
236
|
-
}[];
|
237
|
-
};
|
238
|
-
id: string;
|
239
|
-
tokens: ({
|
240
|
-
symbol: string;
|
241
|
-
name: string | null;
|
242
|
-
id: string;
|
243
|
-
chainId: number;
|
244
|
-
address: string;
|
245
|
-
icon: string;
|
246
|
-
decimals: number;
|
247
|
-
verified: boolean;
|
248
|
-
isTest: boolean;
|
249
|
-
} & {
|
250
|
-
price?: number | null | undefined;
|
251
|
-
})[];
|
252
|
-
chain: {
|
253
|
-
name: string;
|
254
|
-
id: number;
|
255
|
-
icon: string;
|
256
|
-
};
|
257
|
-
protocol: {
|
258
|
-
name: string;
|
259
|
-
url: string;
|
260
|
-
description: string;
|
261
|
-
id: string;
|
262
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
263
|
-
icon: string;
|
264
|
-
} | undefined;
|
265
|
-
name: string;
|
266
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
267
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
268
|
-
tags: string[];
|
269
|
-
identifier: string;
|
270
|
-
chainId: number;
|
271
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
272
|
-
tvl: number;
|
273
|
-
apr: number;
|
274
|
-
dailyRewards: number;
|
275
|
-
campaigns: {
|
276
|
-
params: any;
|
277
|
-
chain: {
|
278
|
-
name: string;
|
279
|
-
id: number;
|
280
|
-
icon: string;
|
281
|
-
};
|
282
|
-
rewardToken: {
|
283
|
-
symbol: string;
|
284
|
-
name: string | null;
|
285
|
-
id: string;
|
286
|
-
chainId: number;
|
287
|
-
address: string;
|
288
|
-
icon: string;
|
289
|
-
decimals: number;
|
290
|
-
verified: boolean;
|
291
|
-
isTest: boolean;
|
292
|
-
} & {
|
293
|
-
price?: number | null | undefined;
|
294
|
-
};
|
295
|
-
distributionChain: {
|
296
|
-
name: string;
|
297
|
-
id: number;
|
298
|
-
icon: string;
|
299
|
-
} | undefined;
|
300
|
-
campaignStatus: {
|
301
|
-
error: string;
|
302
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
303
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
304
|
-
campaignId: string;
|
305
|
-
computedUntil: bigint;
|
306
|
-
processingStarted: bigint;
|
307
|
-
};
|
308
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
309
|
-
id: string;
|
310
|
-
subType: number | null;
|
311
|
-
startTimestamp: bigint;
|
312
|
-
endTimestamp: bigint;
|
313
|
-
computeChainId: number;
|
314
|
-
distributionChainId: number;
|
315
|
-
campaignId: string;
|
316
|
-
rewardTokenId: string;
|
317
|
-
amount: string;
|
318
|
-
opportunityId: string;
|
319
|
-
creatorAddress: string;
|
320
|
-
}[];
|
321
|
-
} | null | undefined;
|
322
|
-
};
|
323
|
-
};
|
324
|
-
};
|
325
|
-
};
|
326
|
-
};
|
327
|
-
} & {
|
328
|
-
opportunities: {
|
329
|
-
index: {
|
330
|
-
get: {
|
331
|
-
body: unknown;
|
332
|
-
params: {};
|
333
|
-
query: {
|
334
|
-
sort?: "tvl" | "apr" | "rewards" | undefined;
|
335
|
-
name?: string | undefined;
|
336
|
-
tokens?: string | undefined;
|
337
|
-
status?: string | undefined;
|
338
|
-
items?: number | undefined;
|
339
|
-
tags?: string | undefined;
|
340
|
-
chainId?: string | undefined;
|
341
|
-
page?: number | undefined;
|
342
|
-
action?: string | undefined;
|
343
|
-
mainProtocolId?: string | undefined;
|
344
|
-
order?: "asc" | "desc" | undefined;
|
345
|
-
test?: boolean | undefined;
|
346
|
-
minimumTvl?: number | undefined;
|
347
|
-
};
|
348
|
-
headers: unknown;
|
349
|
-
response: {
|
350
|
-
200: {
|
351
|
-
aprRecord: {
|
352
|
-
cumulated: number;
|
353
|
-
timestamp: bigint;
|
354
|
-
breakdowns: {
|
355
|
-
type: import("../../../database/api/.generated").$Enums.AprType;
|
356
|
-
id: number;
|
357
|
-
identifier: string;
|
358
|
-
value: number;
|
359
|
-
aprRecordId: string;
|
360
|
-
}[];
|
361
|
-
};
|
362
|
-
tvlRecord: {
|
363
|
-
id: string;
|
364
|
-
total: number;
|
365
|
-
timestamp: bigint;
|
366
|
-
breakdowns: {
|
367
|
-
type: import("../../../database/api/.generated").$Enums.TvlType;
|
368
|
-
id: number;
|
369
|
-
identifier: string;
|
370
|
-
value: number;
|
371
|
-
tvlRecordId: string;
|
372
|
-
}[];
|
373
|
-
};
|
374
|
-
rewardsRecord: {
|
375
|
-
id: string;
|
376
|
-
total: number;
|
377
|
-
timestamp: bigint;
|
378
|
-
breakdowns: {
|
379
|
-
id: number;
|
380
|
-
value: number;
|
381
|
-
campaignId: string;
|
382
|
-
dailyRewardsRecordId: string;
|
383
|
-
token: {
|
384
|
-
symbol: string;
|
385
|
-
name: string | null;
|
386
|
-
id: string;
|
387
|
-
chainId: number;
|
388
|
-
address: string;
|
389
|
-
icon: string;
|
390
|
-
decimals: number;
|
391
|
-
displaySymbol: string;
|
392
|
-
verified: boolean;
|
393
|
-
isTest: boolean;
|
394
|
-
price: number | null;
|
395
|
-
};
|
396
|
-
amount: bigint;
|
397
|
-
}[];
|
398
|
-
};
|
399
|
-
id: string;
|
400
|
-
tokens: ({
|
401
|
-
symbol: string;
|
402
|
-
name: string | null;
|
403
|
-
id: string;
|
404
|
-
chainId: number;
|
405
|
-
address: string;
|
406
|
-
icon: string;
|
407
|
-
decimals: number;
|
408
|
-
verified: boolean;
|
409
|
-
isTest: boolean;
|
410
|
-
} & {
|
411
|
-
price?: number | null | undefined;
|
412
|
-
})[];
|
413
|
-
chain: {
|
414
|
-
name: string;
|
415
|
-
id: number;
|
416
|
-
icon: string;
|
417
|
-
};
|
418
|
-
protocol: {
|
419
|
-
name: string;
|
420
|
-
url: string;
|
421
|
-
description: string;
|
422
|
-
id: string;
|
423
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
424
|
-
icon: string;
|
425
|
-
} | undefined;
|
426
|
-
name: string;
|
427
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
428
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
429
|
-
tags: string[];
|
430
|
-
identifier: string;
|
431
|
-
chainId: number;
|
432
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
433
|
-
tvl: number;
|
434
|
-
apr: number;
|
435
|
-
dailyRewards: number;
|
436
|
-
}[];
|
437
|
-
};
|
438
|
-
};
|
439
|
-
};
|
440
|
-
};
|
441
|
-
} & {
|
442
|
-
opportunities: {
|
443
|
-
count: {
|
444
|
-
get: {
|
445
|
-
body: unknown;
|
446
|
-
params: {};
|
447
|
-
query: {
|
448
|
-
sort?: "tvl" | "apr" | "rewards" | undefined;
|
449
|
-
name?: string | undefined;
|
450
|
-
tokens?: string | undefined;
|
451
|
-
status?: string | undefined;
|
452
|
-
items?: number | undefined;
|
453
|
-
tags?: string | undefined;
|
454
|
-
chainId?: string | undefined;
|
455
|
-
page?: number | undefined;
|
456
|
-
action?: string | undefined;
|
457
|
-
mainProtocolId?: string | undefined;
|
458
|
-
order?: "asc" | "desc" | undefined;
|
459
|
-
test?: boolean | undefined;
|
460
|
-
minimumTvl?: number | undefined;
|
461
|
-
};
|
462
|
-
headers: unknown;
|
463
|
-
response: {
|
464
|
-
200: number;
|
465
|
-
};
|
466
|
-
};
|
467
|
-
};
|
468
|
-
};
|
469
|
-
} & {
|
470
|
-
opportunities: {
|
471
|
-
aggregate: {
|
472
|
-
":field": {
|
473
|
-
get: {
|
474
|
-
body: unknown;
|
475
|
-
params: {
|
476
|
-
field: never;
|
477
|
-
};
|
478
|
-
query: {
|
479
|
-
sort?: "tvl" | "apr" | "rewards" | undefined;
|
480
|
-
name?: string | undefined;
|
481
|
-
tokens?: string | undefined;
|
482
|
-
status?: string | undefined;
|
483
|
-
items?: number | undefined;
|
484
|
-
tags?: string | undefined;
|
485
|
-
chainId?: string | undefined;
|
486
|
-
page?: number | undefined;
|
487
|
-
action?: string | undefined;
|
488
|
-
mainProtocolId?: string | undefined;
|
489
|
-
order?: "asc" | "desc" | undefined;
|
490
|
-
test?: boolean | undefined;
|
491
|
-
minimumTvl?: number | undefined;
|
492
|
-
};
|
493
|
-
headers: unknown;
|
494
|
-
response: {
|
495
|
-
200: {
|
496
|
-
sum: File;
|
497
|
-
};
|
498
|
-
};
|
499
|
-
};
|
500
|
-
};
|
501
|
-
};
|
502
|
-
};
|
503
|
-
} & {
|
504
|
-
opportunities: {
|
505
|
-
":id": {
|
506
|
-
patch: {
|
507
|
-
body: {
|
508
|
-
name?: string | undefined;
|
509
|
-
tags?: string[] | undefined;
|
510
|
-
};
|
511
|
-
params: {
|
512
|
-
id: string;
|
513
|
-
};
|
514
|
-
query: unknown;
|
515
|
-
headers: {
|
516
|
-
authorization: string;
|
517
|
-
};
|
518
|
-
response: {
|
519
|
-
200: {
|
520
|
-
name: string;
|
521
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
522
|
-
id: string;
|
523
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
524
|
-
tags: string[];
|
525
|
-
identifier: string;
|
526
|
-
chainId: number;
|
527
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
528
|
-
mainProtocolId: string | null;
|
529
|
-
tvl: number;
|
530
|
-
apr: number;
|
531
|
-
dailyRewards: number;
|
532
|
-
};
|
533
|
-
};
|
534
|
-
};
|
535
|
-
};
|
536
|
-
};
|
537
|
-
};
|
538
|
-
} & {
|
539
|
-
v4: {
|
540
|
-
campaigns: {
|
541
|
-
index: {
|
542
|
-
post: {
|
543
|
-
body: {
|
544
|
-
identifier?: string | undefined;
|
545
|
-
subType?: number | undefined;
|
546
|
-
type: number;
|
547
|
-
params: string;
|
548
|
-
chainId: number;
|
549
|
-
startTimestamp: string;
|
550
|
-
endTimestamp: string;
|
551
|
-
computeChainId: number;
|
552
|
-
campaignId: string;
|
553
|
-
amount: string;
|
554
|
-
creator: string;
|
555
|
-
rewardTokenAddress: string;
|
556
|
-
opportunityIdentifier: string;
|
557
|
-
};
|
558
|
-
params: {};
|
559
|
-
query: unknown;
|
560
|
-
headers: {
|
561
|
-
authorization: string;
|
562
|
-
};
|
563
|
-
response: {
|
564
|
-
200: {
|
565
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
566
|
-
id: string;
|
567
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
568
|
-
subType: number | null;
|
569
|
-
startTimestamp: bigint;
|
570
|
-
endTimestamp: bigint;
|
571
|
-
computeChainId: number;
|
572
|
-
distributionChainId: number;
|
573
|
-
campaignId: string;
|
574
|
-
rewardTokenId: string;
|
575
|
-
amount: string;
|
576
|
-
opportunityId: string;
|
577
|
-
creatorAddress: string;
|
578
|
-
} | undefined;
|
579
|
-
};
|
580
|
-
};
|
581
|
-
};
|
582
|
-
} & {
|
583
|
-
index: {
|
584
|
-
get: {
|
585
|
-
body: unknown;
|
586
|
-
params: {};
|
587
|
-
query: {
|
588
|
-
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
589
|
-
items?: number | undefined;
|
590
|
-
subType?: number | undefined;
|
591
|
-
chainId?: number | undefined;
|
592
|
-
startTimestamp?: string | undefined;
|
593
|
-
endTimestamp?: string | undefined;
|
594
|
-
tokenAddress?: string | undefined;
|
595
|
-
page?: number | undefined;
|
596
|
-
mainParameter?: string | undefined;
|
597
|
-
campaignId?: string | undefined;
|
598
|
-
opportunityId?: string | undefined;
|
599
|
-
test?: boolean | undefined;
|
600
|
-
tokenSymbol?: string | undefined;
|
601
|
-
};
|
602
|
-
headers: unknown;
|
603
|
-
response: {
|
604
|
-
200: {
|
605
|
-
params: any;
|
606
|
-
chain: {
|
607
|
-
name: string;
|
608
|
-
id: number;
|
609
|
-
icon: string;
|
610
|
-
};
|
611
|
-
rewardToken: {
|
612
|
-
symbol: string;
|
613
|
-
name: string | null;
|
614
|
-
id: string;
|
615
|
-
chainId: number;
|
616
|
-
address: string;
|
617
|
-
icon: string;
|
618
|
-
decimals: number;
|
619
|
-
verified: boolean;
|
620
|
-
isTest: boolean;
|
621
|
-
} & {
|
622
|
-
price?: number | null | undefined;
|
623
|
-
};
|
624
|
-
distributionChain: {
|
625
|
-
name: string;
|
626
|
-
id: number;
|
627
|
-
icon: string;
|
628
|
-
} | undefined;
|
629
|
-
campaignStatus: {
|
630
|
-
error: string;
|
631
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
632
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
633
|
-
campaignId: string;
|
634
|
-
computedUntil: bigint;
|
635
|
-
processingStarted: bigint;
|
636
|
-
};
|
637
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
638
|
-
id: string;
|
639
|
-
subType: number | null;
|
640
|
-
startTimestamp: bigint;
|
641
|
-
endTimestamp: bigint;
|
642
|
-
computeChainId: number;
|
643
|
-
distributionChainId: number;
|
644
|
-
campaignId: string;
|
645
|
-
rewardTokenId: string;
|
646
|
-
amount: string;
|
647
|
-
opportunityId: string;
|
648
|
-
creatorAddress: string;
|
649
|
-
}[];
|
650
|
-
};
|
651
|
-
};
|
652
|
-
};
|
653
|
-
} & {
|
654
|
-
count: {
|
655
|
-
get: {
|
656
|
-
body: unknown;
|
657
|
-
params: {};
|
658
|
-
query: {
|
659
|
-
type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
|
660
|
-
items?: number | undefined;
|
661
|
-
subType?: number | undefined;
|
662
|
-
chainId?: number | undefined;
|
663
|
-
startTimestamp?: string | undefined;
|
664
|
-
endTimestamp?: string | undefined;
|
665
|
-
tokenAddress?: string | undefined;
|
666
|
-
page?: number | undefined;
|
667
|
-
mainParameter?: string | undefined;
|
668
|
-
campaignId?: string | undefined;
|
669
|
-
opportunityId?: string | undefined;
|
670
|
-
test?: boolean | undefined;
|
671
|
-
tokenSymbol?: string | undefined;
|
672
|
-
};
|
673
|
-
headers: unknown;
|
674
|
-
response: {
|
675
|
-
200: number;
|
676
|
-
};
|
677
|
-
};
|
678
|
-
};
|
679
|
-
} & {
|
680
|
-
"campaigns-to-process": {
|
681
|
-
index: {
|
682
|
-
get: {
|
683
|
-
body: unknown;
|
684
|
-
params: {};
|
685
|
-
query: {
|
686
|
-
chainId: number;
|
687
|
-
};
|
688
|
-
headers: unknown;
|
689
|
-
response: {
|
690
|
-
200: {
|
691
|
-
endTimestamp: bigint;
|
692
|
-
campaignId: string;
|
693
|
-
CampaignStatus: {
|
694
|
-
computedUntil: bigint;
|
695
|
-
}[];
|
696
|
-
}[];
|
697
|
-
};
|
698
|
-
};
|
699
|
-
};
|
700
|
-
};
|
701
|
-
} & {
|
702
|
-
"campaigns-to-process": {
|
703
|
-
count: {
|
704
|
-
get: {
|
705
|
-
body: unknown;
|
706
|
-
params: {};
|
707
|
-
query: {
|
708
|
-
chainId: number;
|
709
|
-
};
|
710
|
-
headers: unknown;
|
711
|
-
response: {
|
712
|
-
200: number;
|
713
|
-
};
|
714
|
-
};
|
715
|
-
};
|
716
|
-
};
|
717
|
-
} & {
|
718
|
-
"campaigns-to-process": {
|
719
|
-
engine: {
|
720
|
-
post: {
|
721
|
-
body: unknown;
|
722
|
-
params: {};
|
723
|
-
query: {
|
724
|
-
chainId: number;
|
725
|
-
};
|
726
|
-
headers: {
|
727
|
-
authorization: string;
|
728
|
-
};
|
729
|
-
response: {
|
730
|
-
200: string;
|
731
|
-
};
|
732
|
-
};
|
733
|
-
};
|
734
|
-
};
|
735
|
-
};
|
736
|
-
};
|
737
|
-
} & {
|
738
|
-
v4: {
|
739
|
-
protocols: {
|
740
|
-
":id": {
|
741
|
-
get: {
|
742
|
-
body: unknown;
|
743
|
-
params: {
|
744
|
-
id: string;
|
745
|
-
};
|
746
|
-
query: unknown;
|
747
|
-
headers: unknown;
|
748
|
-
response: {
|
749
|
-
200: {
|
750
|
-
name: string;
|
751
|
-
url: string;
|
752
|
-
description: string;
|
753
|
-
id: string;
|
754
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
755
|
-
icon: string;
|
756
|
-
} | null;
|
757
|
-
};
|
758
|
-
};
|
759
|
-
};
|
760
|
-
};
|
761
|
-
} & {
|
762
|
-
protocols: {
|
763
|
-
index: {
|
764
|
-
get: {
|
765
|
-
body: unknown;
|
766
|
-
params: {};
|
767
|
-
query: {
|
768
|
-
name?: string | undefined;
|
769
|
-
id?: string[] | undefined;
|
770
|
-
items?: number | undefined;
|
771
|
-
tags?: ("AMM" | "ALM" | "DEX" | "LENDING")[] | undefined;
|
772
|
-
page?: number | undefined;
|
773
|
-
};
|
774
|
-
headers: unknown;
|
775
|
-
response: {
|
776
|
-
200: ({
|
777
|
-
name: string;
|
778
|
-
url: string;
|
779
|
-
description: string;
|
780
|
-
id: string;
|
781
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
782
|
-
icon: string;
|
783
|
-
} & {})[];
|
784
|
-
};
|
785
|
-
};
|
786
|
-
};
|
787
|
-
};
|
788
|
-
} & {
|
789
|
-
protocols: {
|
790
|
-
count: {
|
791
|
-
get: {
|
792
|
-
body: unknown;
|
793
|
-
params: {};
|
794
|
-
query: unknown;
|
795
|
-
headers: unknown;
|
796
|
-
response: {
|
797
|
-
200: number;
|
798
|
-
};
|
799
|
-
};
|
800
|
-
};
|
801
|
-
};
|
802
|
-
} & {
|
803
|
-
protocols: {
|
804
|
-
":id": {
|
805
|
-
patch: {
|
806
|
-
body: {
|
807
|
-
url?: string | undefined;
|
808
|
-
description?: string | undefined;
|
809
|
-
icon?: string | undefined;
|
810
|
-
};
|
811
|
-
params: {
|
812
|
-
id: string;
|
813
|
-
};
|
814
|
-
query: unknown;
|
815
|
-
headers: {
|
816
|
-
authorization: string;
|
817
|
-
};
|
818
|
-
response: {
|
819
|
-
200: {
|
820
|
-
name: string;
|
821
|
-
url: string;
|
822
|
-
description: string;
|
823
|
-
id: string;
|
824
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
825
|
-
icon: string;
|
826
|
-
};
|
827
|
-
};
|
828
|
-
};
|
829
|
-
};
|
830
|
-
};
|
831
|
-
};
|
832
|
-
} & {
|
833
|
-
v4: {
|
834
|
-
tokens: {
|
835
|
-
":id": {
|
836
|
-
get: {
|
837
|
-
body: unknown;
|
838
|
-
params: {
|
839
|
-
id: string;
|
840
|
-
};
|
841
|
-
query: unknown;
|
842
|
-
headers: unknown;
|
843
|
-
response: {
|
844
|
-
200: {
|
845
|
-
symbol: string;
|
846
|
-
name: string | null;
|
847
|
-
id: string;
|
848
|
-
chainId: number;
|
849
|
-
address: string;
|
850
|
-
icon: string;
|
851
|
-
decimals: number;
|
852
|
-
verified: boolean;
|
853
|
-
isTest: boolean;
|
854
|
-
price?: number | null | undefined;
|
855
|
-
} | undefined;
|
856
|
-
};
|
857
|
-
};
|
858
|
-
};
|
859
|
-
};
|
860
|
-
} & {
|
861
|
-
tokens: {
|
862
|
-
balances: {
|
863
|
-
get: {
|
864
|
-
body: unknown;
|
865
|
-
params: {};
|
866
|
-
query: {
|
867
|
-
tokenAddress?: string | undefined;
|
868
|
-
additionalTokenAddresses?: string[] | undefined;
|
869
|
-
chainId: number;
|
870
|
-
userAddress: string;
|
871
|
-
};
|
872
|
-
headers: unknown;
|
873
|
-
response: {
|
874
|
-
200: ({
|
875
|
-
symbol: string;
|
876
|
-
name: string | null;
|
877
|
-
id: string;
|
878
|
-
chainId: number;
|
879
|
-
address: string;
|
880
|
-
icon: string;
|
881
|
-
decimals: number;
|
882
|
-
verified: boolean;
|
883
|
-
isTest: boolean;
|
884
|
-
} & {
|
885
|
-
price?: number | null | undefined;
|
886
|
-
} & {
|
887
|
-
balance: bigint;
|
888
|
-
})[];
|
889
|
-
};
|
890
|
-
};
|
891
|
-
};
|
892
|
-
};
|
893
|
-
} & {
|
894
|
-
tokens: {
|
895
|
-
index: {
|
896
|
-
get: {
|
897
|
-
body: unknown;
|
898
|
-
params: {};
|
899
|
-
query: {
|
900
|
-
symbol?: string | undefined;
|
901
|
-
name?: string | undefined;
|
902
|
-
chainId?: any;
|
903
|
-
address?: string | undefined;
|
904
|
-
verified?: boolean | undefined;
|
905
|
-
test?: boolean | undefined;
|
906
|
-
};
|
907
|
-
headers: unknown;
|
908
|
-
response: {
|
909
|
-
200: ({
|
910
|
-
symbol: string;
|
911
|
-
name: string | null;
|
912
|
-
id: string;
|
913
|
-
chainId: number;
|
914
|
-
address: string;
|
915
|
-
icon: string;
|
916
|
-
decimals: number;
|
917
|
-
verified: boolean;
|
918
|
-
isTest: boolean;
|
919
|
-
} & {
|
920
|
-
price?: number | null | undefined;
|
921
|
-
})[];
|
922
|
-
};
|
923
|
-
};
|
924
|
-
};
|
925
|
-
};
|
926
|
-
} & {
|
927
|
-
tokens: {
|
928
|
-
count: {
|
929
|
-
get: {
|
930
|
-
body: unknown;
|
931
|
-
params: {};
|
932
|
-
query: {
|
933
|
-
symbol?: string | undefined;
|
934
|
-
name?: string | undefined;
|
935
|
-
chainId?: any;
|
936
|
-
address?: string | undefined;
|
937
|
-
verified?: boolean | undefined;
|
938
|
-
test?: boolean | undefined;
|
939
|
-
};
|
940
|
-
headers: unknown;
|
941
|
-
response: {
|
942
|
-
200: number;
|
943
|
-
};
|
944
|
-
};
|
945
|
-
};
|
946
|
-
};
|
947
|
-
} & {
|
948
|
-
tokens: {
|
949
|
-
":id": {
|
950
|
-
patch: {
|
951
|
-
body: {
|
952
|
-
icon?: string | undefined;
|
953
|
-
displaySymbol?: string | undefined;
|
954
|
-
isTest?: boolean | undefined;
|
955
|
-
};
|
956
|
-
params: {
|
957
|
-
id: string;
|
958
|
-
};
|
959
|
-
query: unknown;
|
960
|
-
headers: {
|
961
|
-
authorization: string;
|
962
|
-
};
|
963
|
-
response: {
|
964
|
-
200: {
|
965
|
-
symbol: string;
|
966
|
-
name: string | null;
|
967
|
-
id: string;
|
968
|
-
chainId: number;
|
969
|
-
address: string;
|
970
|
-
icon: string;
|
971
|
-
decimals: number;
|
972
|
-
displaySymbol: string;
|
973
|
-
verified: boolean;
|
974
|
-
isTest: boolean;
|
975
|
-
price: number | null;
|
976
|
-
};
|
977
|
-
};
|
978
|
-
};
|
979
|
-
};
|
980
|
-
};
|
981
|
-
};
|
982
|
-
} & {
|
983
|
-
v4: {
|
984
|
-
rewards: {
|
985
|
-
index: {
|
986
|
-
get: {
|
987
|
-
body: unknown;
|
988
|
-
params: {};
|
989
|
-
query: {
|
990
|
-
items?: number | undefined;
|
991
|
-
page?: number | undefined;
|
992
|
-
chainId: number;
|
993
|
-
campaignId: string;
|
994
|
-
};
|
995
|
-
headers: unknown;
|
996
|
-
response: {
|
997
|
-
200: import("../../modules/v4/reward").BreakdownForCampaignsRaw[];
|
998
|
-
};
|
999
|
-
};
|
1000
|
-
};
|
1001
|
-
} & {
|
1002
|
-
total: {
|
1003
|
-
get: {
|
1004
|
-
body: unknown;
|
1005
|
-
params: {};
|
1006
|
-
query: {
|
1007
|
-
items?: number | undefined;
|
1008
|
-
page?: number | undefined;
|
1009
|
-
chainId: number;
|
1010
|
-
campaignId: string;
|
1011
|
-
};
|
1012
|
-
headers: unknown;
|
1013
|
-
response: {
|
1014
|
-
200: {
|
1015
|
-
campaignId: string;
|
1016
|
-
amount: bigint;
|
1017
|
-
};
|
1018
|
-
};
|
1019
|
-
};
|
1020
|
-
};
|
1021
|
-
} & {
|
1022
|
-
engine: {
|
1023
|
-
post: {
|
1024
|
-
body: {
|
1025
|
-
recipient: string;
|
1026
|
-
distributionChainId: number;
|
1027
|
-
root: string;
|
1028
|
-
proofs: string[];
|
1029
|
-
rewardToken: string;
|
1030
|
-
}[];
|
1031
|
-
params: {};
|
1032
|
-
query: unknown;
|
1033
|
-
headers: {
|
1034
|
-
authorization: string;
|
1035
|
-
};
|
1036
|
-
response: {
|
1037
|
-
200: {
|
1038
|
-
count: number;
|
1039
|
-
};
|
1040
|
-
};
|
1041
|
-
};
|
1042
|
-
};
|
1043
|
-
} & {
|
1044
|
-
engine: {
|
1045
|
-
breakdowns: {
|
1046
|
-
post: {
|
1047
|
-
body: {
|
1048
|
-
distributionChainId: number;
|
1049
|
-
campaignId: string;
|
1050
|
-
root: string;
|
1051
|
-
rewardToken: string;
|
1052
|
-
breakdowns: {
|
1053
|
-
protocolId?: string | undefined;
|
1054
|
-
auxiliaryData1?: string | undefined;
|
1055
|
-
auxiliaryData2?: string | undefined;
|
1056
|
-
reason: string;
|
1057
|
-
pending: string;
|
1058
|
-
recipient: string;
|
1059
|
-
amount: string;
|
1060
|
-
claimed: string;
|
1061
|
-
}[];
|
1062
|
-
}[];
|
1063
|
-
params: {};
|
1064
|
-
query: unknown;
|
1065
|
-
headers: {
|
1066
|
-
authorization: string;
|
1067
|
-
};
|
1068
|
-
response: {
|
1069
|
-
200: {
|
1070
|
-
count: number;
|
1071
|
-
} | undefined;
|
1072
|
-
};
|
1073
|
-
};
|
1074
|
-
};
|
1075
|
-
};
|
1076
|
-
} & {
|
1077
|
-
engine: {
|
1078
|
-
claims: {
|
1079
|
-
post: {
|
1080
|
-
body: {
|
1081
|
-
token: string;
|
1082
|
-
chainId: number;
|
1083
|
-
recipient: string;
|
1084
|
-
root: string;
|
1085
|
-
}[];
|
1086
|
-
params: {};
|
1087
|
-
query: unknown;
|
1088
|
-
headers: {
|
1089
|
-
authorization: string;
|
1090
|
-
};
|
1091
|
-
response: {
|
1092
|
-
200: void;
|
1093
|
-
};
|
1094
|
-
};
|
1095
|
-
};
|
1096
|
-
};
|
1097
|
-
} & {
|
1098
|
-
engine: {
|
1099
|
-
pendings: {
|
1100
|
-
post: {
|
1101
|
-
body: {
|
1102
|
-
distributionChainId: number;
|
1103
|
-
campaignId: string;
|
1104
|
-
root: string;
|
1105
|
-
rewardToken: string;
|
1106
|
-
toUpdate: {
|
1107
|
-
auxiliaryData1?: string | undefined;
|
1108
|
-
auxiliaryData2?: string | undefined;
|
1109
|
-
reason: string;
|
1110
|
-
pending: string;
|
1111
|
-
recipient: string;
|
1112
|
-
}[];
|
1113
|
-
toCreate: {
|
1114
|
-
auxiliaryData1?: string | undefined;
|
1115
|
-
auxiliaryData2?: string | undefined;
|
1116
|
-
reason: string;
|
1117
|
-
pending: string;
|
1118
|
-
recipient: string;
|
1119
|
-
}[];
|
1120
|
-
};
|
1121
|
-
params: {};
|
1122
|
-
query: unknown;
|
1123
|
-
headers: {
|
1124
|
-
authorization: string;
|
1125
|
-
};
|
1126
|
-
response: {
|
1127
|
-
200: boolean;
|
1128
|
-
};
|
1129
|
-
};
|
1130
|
-
};
|
1131
|
-
};
|
1132
|
-
} & {
|
1133
|
-
count: {
|
1134
|
-
get: {
|
1135
|
-
body: unknown;
|
1136
|
-
params: {};
|
1137
|
-
query: {
|
1138
|
-
items?: number | undefined;
|
1139
|
-
page?: number | undefined;
|
1140
|
-
chainId: number;
|
1141
|
-
campaignId: string;
|
1142
|
-
};
|
1143
|
-
headers: unknown;
|
1144
|
-
response: {
|
1145
|
-
200: {
|
1146
|
-
count: number;
|
1147
|
-
};
|
1148
|
-
};
|
1149
|
-
};
|
1150
|
-
};
|
1151
|
-
} & {
|
1152
|
-
count: {
|
1153
|
-
chains: {
|
1154
|
-
get: {
|
1155
|
-
body: unknown;
|
1156
|
-
params: {};
|
1157
|
-
query: unknown;
|
1158
|
-
headers: {
|
1159
|
-
authorization: string;
|
1160
|
-
};
|
1161
|
-
response: {
|
1162
|
-
200: {
|
1163
|
-
[x: string]: {
|
1164
|
-
breakdown: number;
|
1165
|
-
rewards: Record<string, number>;
|
1166
|
-
};
|
1167
|
-
};
|
1168
|
-
};
|
1169
|
-
};
|
1170
|
-
};
|
1171
|
-
};
|
1172
|
-
} & {
|
1173
|
-
unclaim: {
|
1174
|
-
index: {
|
1175
|
-
get: {
|
1176
|
-
body: unknown;
|
1177
|
-
params: {};
|
1178
|
-
query: {
|
1179
|
-
chainId: number;
|
1180
|
-
campaignIds: string[];
|
1181
|
-
};
|
1182
|
-
headers: unknown;
|
1183
|
-
response: {
|
1184
|
-
200: {
|
1185
|
-
[x: string]: string;
|
1186
|
-
};
|
1187
|
-
};
|
1188
|
-
};
|
1189
|
-
};
|
1190
|
-
};
|
1191
|
-
};
|
1192
|
-
};
|
1193
|
-
} & {
|
1194
|
-
v4: {
|
1195
|
-
chains: {
|
1196
|
-
":chainId": {
|
1197
|
-
get: {
|
1198
|
-
body: unknown;
|
1199
|
-
params: {
|
1200
|
-
chainId: number;
|
1201
|
-
};
|
1202
|
-
query: unknown;
|
1203
|
-
headers: unknown;
|
1204
|
-
response: {
|
1205
|
-
200: {
|
1206
|
-
name: string;
|
1207
|
-
id: number;
|
1208
|
-
icon: string;
|
1209
|
-
explorers: {
|
1210
|
-
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1211
|
-
url: string;
|
1212
|
-
id: string;
|
1213
|
-
chainId: number;
|
1214
|
-
}[];
|
1215
|
-
} | null;
|
1216
|
-
};
|
1217
|
-
};
|
1218
|
-
};
|
1219
|
-
} & {
|
1220
|
-
index: {
|
1221
|
-
get: {
|
1222
|
-
body: unknown;
|
1223
|
-
params: {};
|
1224
|
-
query: {
|
1225
|
-
search?: string | undefined;
|
1226
|
-
};
|
1227
|
-
headers: unknown;
|
1228
|
-
response: {
|
1229
|
-
200: {
|
1230
|
-
name: string;
|
1231
|
-
id: number;
|
1232
|
-
icon: string;
|
1233
|
-
explorers: {
|
1234
|
-
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1235
|
-
url: string;
|
1236
|
-
id: string;
|
1237
|
-
chainId: number;
|
1238
|
-
}[];
|
1239
|
-
}[];
|
1240
|
-
};
|
1241
|
-
};
|
1242
|
-
};
|
1243
|
-
} & {
|
1244
|
-
count: {
|
1245
|
-
get: {
|
1246
|
-
body: unknown;
|
1247
|
-
params: {};
|
1248
|
-
query: {
|
1249
|
-
search?: string | undefined;
|
1250
|
-
};
|
1251
|
-
headers: unknown;
|
1252
|
-
response: {
|
1253
|
-
200: number;
|
1254
|
-
};
|
1255
|
-
};
|
1256
|
-
};
|
1257
|
-
} & {
|
1258
|
-
explorers: {
|
1259
|
-
post: {
|
1260
|
-
body: {
|
1261
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
1262
|
-
url: string;
|
1263
|
-
chainId: number;
|
1264
|
-
};
|
1265
|
-
params: {};
|
1266
|
-
query: unknown;
|
1267
|
-
headers: {
|
1268
|
-
authorization: string;
|
1269
|
-
};
|
1270
|
-
response: {
|
1271
|
-
200: {
|
1272
|
-
type: import("../../../database/api/.generated").$Enums.ExplorerType;
|
1273
|
-
url: string;
|
1274
|
-
id: string;
|
1275
|
-
chainId: number;
|
1276
|
-
};
|
1277
|
-
};
|
1278
|
-
};
|
1279
|
-
};
|
1280
|
-
};
|
1281
|
-
} & {
|
1282
|
-
chains: {
|
1283
|
-
":chainId": {
|
1284
|
-
patch: {
|
1285
|
-
body: {
|
1286
|
-
icon?: string | undefined;
|
1287
|
-
};
|
1288
|
-
params: {
|
1289
|
-
chainId: number;
|
1290
|
-
};
|
1291
|
-
query: unknown;
|
1292
|
-
headers: {
|
1293
|
-
authorization: string;
|
1294
|
-
};
|
1295
|
-
response: {
|
1296
|
-
200: {
|
1297
|
-
name: string;
|
1298
|
-
id: number;
|
1299
|
-
icon: string;
|
1300
|
-
};
|
1301
|
-
};
|
1302
|
-
};
|
1303
|
-
};
|
1304
|
-
};
|
1305
|
-
};
|
1306
|
-
} & {
|
1307
|
-
v4: {
|
1308
|
-
prices: {
|
1309
|
-
index: {
|
1310
|
-
get: {
|
1311
|
-
body: unknown;
|
1312
|
-
params: {};
|
1313
|
-
query: unknown;
|
1314
|
-
headers: unknown;
|
1315
|
-
response: {
|
1316
|
-
200: {
|
1317
|
-
[x: string]: number;
|
1318
|
-
};
|
1319
|
-
};
|
1320
|
-
};
|
1321
|
-
};
|
1322
|
-
} & {
|
1323
|
-
array: {
|
1324
|
-
get: {
|
1325
|
-
body: unknown;
|
1326
|
-
params: {};
|
1327
|
-
query: unknown;
|
1328
|
-
headers: unknown;
|
1329
|
-
response: {
|
1330
|
-
200: {
|
1331
|
-
rate: number;
|
1332
|
-
token: string;
|
1333
|
-
}[];
|
1334
|
-
};
|
1335
|
-
};
|
1336
|
-
};
|
1337
|
-
} & {
|
1338
|
-
symbol: {
|
1339
|
-
":symbol": {
|
1340
|
-
get: {
|
1341
|
-
body: unknown;
|
1342
|
-
params: {
|
1343
|
-
symbol: string;
|
1344
|
-
};
|
1345
|
-
query: unknown;
|
1346
|
-
headers: unknown;
|
1347
|
-
response: {
|
1348
|
-
200: number;
|
1349
|
-
};
|
1350
|
-
};
|
1351
|
-
};
|
1352
|
-
};
|
1353
|
-
} & {
|
1354
|
-
sources: {
|
1355
|
-
index: {
|
1356
|
-
get: {
|
1357
|
-
body: unknown;
|
1358
|
-
params: {};
|
1359
|
-
query: unknown;
|
1360
|
-
headers: unknown;
|
1361
|
-
response: {
|
1362
|
-
200: {
|
1363
|
-
symbol: string;
|
1364
|
-
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1365
|
-
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1366
|
-
id: number;
|
1367
|
-
}[];
|
1368
|
-
};
|
1369
|
-
};
|
1370
|
-
};
|
1371
|
-
};
|
1372
|
-
} & {
|
1373
|
-
sources: {
|
1374
|
-
symbol: {
|
1375
|
-
":symbol": {
|
1376
|
-
get: {
|
1377
|
-
body: unknown;
|
1378
|
-
params: {
|
1379
|
-
symbol: string;
|
1380
|
-
};
|
1381
|
-
query: unknown;
|
1382
|
-
headers: unknown;
|
1383
|
-
response: {
|
1384
|
-
200: {
|
1385
|
-
symbol: string;
|
1386
|
-
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1387
|
-
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1388
|
-
id: number;
|
1389
|
-
};
|
1390
|
-
};
|
1391
|
-
};
|
1392
|
-
};
|
1393
|
-
};
|
1394
|
-
};
|
1395
|
-
} & {
|
1396
|
-
sources: {
|
1397
|
-
index: {
|
1398
|
-
post: {
|
1399
|
-
body: {
|
1400
|
-
symbol: string;
|
1401
|
-
method: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA";
|
1402
|
-
args: {};
|
1403
|
-
};
|
1404
|
-
params: {};
|
1405
|
-
query: unknown;
|
1406
|
-
headers: {
|
1407
|
-
authorization: string;
|
1408
|
-
};
|
1409
|
-
response: {
|
1410
|
-
200: number | undefined;
|
1411
|
-
};
|
1412
|
-
};
|
1413
|
-
};
|
1414
|
-
};
|
1415
|
-
} & {
|
1416
|
-
sources: {
|
1417
|
-
symbol: {
|
1418
|
-
":symbol": {
|
1419
|
-
patch: {
|
1420
|
-
body: {
|
1421
|
-
symbol?: string | undefined;
|
1422
|
-
method?: "COINGECKO" | "CONSTANT" | "EQUAL_TO" | "ERC4626" | "DEXSCREENER" | "INDEXCOOP" | "DEFILLAMA" | undefined;
|
1423
|
-
args?: {} | undefined;
|
1424
|
-
};
|
1425
|
-
params: {
|
1426
|
-
symbol: string;
|
1427
|
-
};
|
1428
|
-
query: unknown;
|
1429
|
-
headers: {
|
1430
|
-
authorization: string;
|
1431
|
-
};
|
1432
|
-
response: {
|
1433
|
-
200: {
|
1434
|
-
symbol: string;
|
1435
|
-
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1436
|
-
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1437
|
-
id: number;
|
1438
|
-
};
|
1439
|
-
};
|
1440
|
-
};
|
1441
|
-
};
|
1442
|
-
};
|
1443
|
-
};
|
1444
|
-
} & {
|
1445
|
-
sources: {
|
1446
|
-
symbol: {
|
1447
|
-
":symbol": {
|
1448
|
-
delete: {
|
1449
|
-
body: unknown;
|
1450
|
-
params: {
|
1451
|
-
symbol: string;
|
1452
|
-
};
|
1453
|
-
query: unknown;
|
1454
|
-
headers: {
|
1455
|
-
authorization: string;
|
1456
|
-
};
|
1457
|
-
response: {
|
1458
|
-
200: {
|
1459
|
-
symbol: string;
|
1460
|
-
method: import("../../../database/api/.generated").$Enums.PriceSourceMethod;
|
1461
|
-
args: import("database/api/.generated/runtime/library").JsonValue | null;
|
1462
|
-
id: number;
|
1463
|
-
};
|
1464
|
-
};
|
1465
|
-
};
|
1466
|
-
};
|
1467
|
-
};
|
1468
|
-
};
|
1469
|
-
};
|
1470
|
-
};
|
1471
|
-
} & {
|
1472
|
-
v4: {
|
1473
|
-
blacklists: {
|
1474
|
-
index: {
|
1475
|
-
get: {
|
1476
|
-
body: unknown;
|
1477
|
-
params: {};
|
1478
|
-
query: unknown;
|
1479
|
-
headers: unknown;
|
1480
|
-
response: {
|
1481
|
-
200: {
|
1482
|
-
id: string;
|
1483
|
-
chainId: number;
|
1484
|
-
poolAddress: string;
|
1485
|
-
userAddress: string;
|
1486
|
-
arrestTimestamp: bigint;
|
1487
|
-
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1488
|
-
}[];
|
1489
|
-
};
|
1490
|
-
};
|
1491
|
-
};
|
1492
|
-
};
|
1493
|
-
} & {
|
1494
|
-
blacklists: {
|
1495
|
-
mapping: {
|
1496
|
-
get: {
|
1497
|
-
body: unknown;
|
1498
|
-
params: {};
|
1499
|
-
query: unknown;
|
1500
|
-
headers: unknown;
|
1501
|
-
response: {
|
1502
|
-
200: unknown;
|
1503
|
-
};
|
1504
|
-
};
|
1505
|
-
};
|
1506
|
-
};
|
1507
|
-
} & {
|
1508
|
-
blacklists: {
|
1509
|
-
check: {
|
1510
|
-
":address": {
|
1511
|
-
get: {
|
1512
|
-
body: unknown;
|
1513
|
-
params: {
|
1514
|
-
address: string;
|
1515
|
-
};
|
1516
|
-
query: unknown;
|
1517
|
-
headers: unknown;
|
1518
|
-
response: {
|
1519
|
-
200: boolean;
|
1520
|
-
};
|
1521
|
-
};
|
1522
|
-
};
|
1523
|
-
};
|
1524
|
-
};
|
1525
|
-
} & {
|
1526
|
-
blacklists: {
|
1527
|
-
index: {
|
1528
|
-
post: {
|
1529
|
-
body: {
|
1530
|
-
reason?: string | undefined;
|
1531
|
-
chainId: number;
|
1532
|
-
poolAddress: string;
|
1533
|
-
userAddress: string;
|
1534
|
-
};
|
1535
|
-
params: {};
|
1536
|
-
query: unknown;
|
1537
|
-
headers: {
|
1538
|
-
authorization: string;
|
1539
|
-
};
|
1540
|
-
response: {
|
1541
|
-
200: {
|
1542
|
-
id: string;
|
1543
|
-
chainId: number;
|
1544
|
-
poolAddress: string;
|
1545
|
-
userAddress: string;
|
1546
|
-
arrestTimestamp: bigint;
|
1547
|
-
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1548
|
-
};
|
1549
|
-
};
|
1550
|
-
};
|
1551
|
-
};
|
1552
|
-
};
|
1553
|
-
} & {
|
1554
|
-
blacklists: {
|
1555
|
-
user: {
|
1556
|
-
":address": {
|
1557
|
-
delete: {
|
1558
|
-
body: unknown;
|
1559
|
-
params: {
|
1560
|
-
address: string;
|
1561
|
-
};
|
1562
|
-
query: unknown;
|
1563
|
-
headers: {
|
1564
|
-
authorization: string;
|
1565
|
-
};
|
1566
|
-
response: {
|
1567
|
-
200: boolean;
|
1568
|
-
};
|
1569
|
-
};
|
1570
|
-
};
|
1571
|
-
};
|
1572
|
-
};
|
1573
|
-
};
|
1574
|
-
} & {
|
1575
|
-
v4: {
|
1576
|
-
users: {
|
1577
|
-
index: {
|
1578
|
-
get: {
|
1579
|
-
body: unknown;
|
1580
|
-
params: {};
|
1581
|
-
query: {
|
1582
|
-
items?: number | undefined;
|
1583
|
-
tags?: string[] | undefined;
|
1584
|
-
page?: number | undefined;
|
1585
|
-
address?: string | undefined;
|
1586
|
-
};
|
1587
|
-
headers: unknown;
|
1588
|
-
response: {
|
1589
|
-
200: {
|
1590
|
-
tags: string[];
|
1591
|
-
address: string;
|
1592
|
-
}[];
|
1593
|
-
};
|
1594
|
-
};
|
1595
|
-
};
|
1596
|
-
};
|
1597
|
-
} & {
|
1598
|
-
users: {
|
1599
|
-
tags: {
|
1600
|
-
get: {
|
1601
|
-
body: unknown;
|
1602
|
-
params: {};
|
1603
|
-
query: unknown;
|
1604
|
-
headers: {
|
1605
|
-
authorization: string;
|
1606
|
-
};
|
1607
|
-
response: {
|
1608
|
-
200: {
|
1609
|
-
tags: string[];
|
1610
|
-
address: string;
|
1611
|
-
}[];
|
1612
|
-
};
|
1613
|
-
};
|
1614
|
-
};
|
1615
|
-
};
|
1616
|
-
} & {
|
1617
|
-
users: {
|
1618
|
-
":address": {
|
1619
|
-
get: {
|
1620
|
-
body: unknown;
|
1621
|
-
params: {
|
1622
|
-
address: string;
|
1623
|
-
};
|
1624
|
-
query: unknown;
|
1625
|
-
headers: unknown;
|
1626
|
-
response: {
|
1627
|
-
200: {
|
1628
|
-
tags: string[];
|
1629
|
-
address: string;
|
1630
|
-
} | null;
|
1631
|
-
};
|
1632
|
-
};
|
1633
|
-
};
|
1634
|
-
};
|
1635
|
-
} & {
|
1636
|
-
users: {
|
1637
|
-
":address": {
|
1638
|
-
rewards: {
|
1639
|
-
breakdowns: {
|
1640
|
-
get: {
|
1641
|
-
body: unknown;
|
1642
|
-
params: {
|
1643
|
-
address: string;
|
1644
|
-
};
|
1645
|
-
query: {
|
1646
|
-
chainId?: number | undefined;
|
1647
|
-
};
|
1648
|
-
headers: unknown;
|
1649
|
-
response: {
|
1650
|
-
200: (Omit<{
|
1651
|
-
chain: import("../../../database/api/.generated").Chain;
|
1652
|
-
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
|
1653
|
-
}, "rewards"> & {
|
1654
|
-
rewards: (Omit<{
|
1655
|
-
token: {
|
1656
|
-
symbol: string;
|
1657
|
-
name: string | null;
|
1658
|
-
id: string;
|
1659
|
-
chainId: number;
|
1660
|
-
address: string;
|
1661
|
-
icon: string;
|
1662
|
-
decimals: number;
|
1663
|
-
displaySymbol: string;
|
1664
|
-
verified: boolean;
|
1665
|
-
isTest: boolean;
|
1666
|
-
price: number | null;
|
1667
|
-
};
|
1668
|
-
breakdowns: {
|
1669
|
-
campaignId: string;
|
1670
|
-
opportunity: {
|
1671
|
-
Chain: {
|
1672
|
-
name: string;
|
1673
|
-
id: number;
|
1674
|
-
icon: string;
|
1675
|
-
};
|
1676
|
-
Tokens: {
|
1677
|
-
symbol: string;
|
1678
|
-
name: string | null;
|
1679
|
-
id: string;
|
1680
|
-
chainId: number;
|
1681
|
-
address: string;
|
1682
|
-
icon: string;
|
1683
|
-
decimals: number;
|
1684
|
-
displaySymbol: string;
|
1685
|
-
verified: boolean;
|
1686
|
-
isTest: boolean;
|
1687
|
-
price: number | null;
|
1688
|
-
}[];
|
1689
|
-
Protocols: {
|
1690
|
-
name: string;
|
1691
|
-
url: string;
|
1692
|
-
description: string;
|
1693
|
-
id: string;
|
1694
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1695
|
-
icon: string;
|
1696
|
-
}[];
|
1697
|
-
MainProtocol: {
|
1698
|
-
name: string;
|
1699
|
-
url: string;
|
1700
|
-
description: string;
|
1701
|
-
id: string;
|
1702
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1703
|
-
icon: string;
|
1704
|
-
} | null;
|
1705
|
-
} & {
|
1706
|
-
name: string;
|
1707
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1708
|
-
id: string;
|
1709
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
1710
|
-
tags: string[];
|
1711
|
-
identifier: string;
|
1712
|
-
chainId: number;
|
1713
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1714
|
-
mainProtocolId: string | null;
|
1715
|
-
tvl: number;
|
1716
|
-
apr: number;
|
1717
|
-
dailyRewards: number;
|
1718
|
-
};
|
1719
|
-
reason: string;
|
1720
|
-
pending: string;
|
1721
|
-
amount: string;
|
1722
|
-
claimed: string;
|
1723
|
-
auxiliaryData1: string | null;
|
1724
|
-
auxiliaryData2: string | null;
|
1725
|
-
}[];
|
1726
|
-
claimed: bigint;
|
1727
|
-
amount: bigint;
|
1728
|
-
pending: bigint;
|
1729
|
-
recipient: string;
|
1730
|
-
root: string;
|
1731
|
-
proofs: string[];
|
1732
|
-
}, "breakdowns"> & {
|
1733
|
-
breakdowns: {
|
1734
|
-
opportunity: import("../../modules/v4").Opportunity["model"];
|
1735
|
-
claimed: bigint;
|
1736
|
-
amount: bigint;
|
1737
|
-
pending: bigint;
|
1738
|
-
auxiliaryData1: string | null;
|
1739
|
-
auxiliaryData2: string | null;
|
1740
|
-
}[];
|
1741
|
-
})[];
|
1742
|
-
distributor: string;
|
1743
|
-
})[];
|
1744
|
-
};
|
1745
|
-
};
|
1746
|
-
};
|
1747
|
-
};
|
1748
|
-
};
|
1749
|
-
};
|
1750
|
-
} & {
|
1751
|
-
users: {
|
1752
|
-
":address": {
|
1753
|
-
rewards: {
|
1754
|
-
get: {
|
1755
|
-
body: unknown;
|
1756
|
-
params: {
|
1757
|
-
address: string;
|
1758
|
-
};
|
1759
|
-
query: {
|
1760
|
-
chainId: number[];
|
1761
|
-
};
|
1762
|
-
headers: unknown;
|
1763
|
-
response: {
|
1764
|
-
200: (Omit<{
|
1765
|
-
chain: import("../../../database/api/.generated").Chain;
|
1766
|
-
rewards: Awaited<ReturnType<typeof import("../../modules/v4/reward").RewardService["format"]>>;
|
1767
|
-
}, "rewards"> & {
|
1768
|
-
rewards: (Omit<{
|
1769
|
-
token: {
|
1770
|
-
symbol: string;
|
1771
|
-
name: string | null;
|
1772
|
-
id: string;
|
1773
|
-
chainId: number;
|
1774
|
-
address: string;
|
1775
|
-
icon: string;
|
1776
|
-
decimals: number;
|
1777
|
-
displaySymbol: string;
|
1778
|
-
verified: boolean;
|
1779
|
-
isTest: boolean;
|
1780
|
-
price: number | null;
|
1781
|
-
};
|
1782
|
-
breakdowns: {
|
1783
|
-
campaignId: string;
|
1784
|
-
opportunity: {
|
1785
|
-
Chain: {
|
1786
|
-
name: string;
|
1787
|
-
id: number;
|
1788
|
-
icon: string;
|
1789
|
-
};
|
1790
|
-
Tokens: {
|
1791
|
-
symbol: string;
|
1792
|
-
name: string | null;
|
1793
|
-
id: string;
|
1794
|
-
chainId: number;
|
1795
|
-
address: string;
|
1796
|
-
icon: string;
|
1797
|
-
decimals: number;
|
1798
|
-
displaySymbol: string;
|
1799
|
-
verified: boolean;
|
1800
|
-
isTest: boolean;
|
1801
|
-
price: number | null;
|
1802
|
-
}[];
|
1803
|
-
Protocols: {
|
1804
|
-
name: string;
|
1805
|
-
url: string;
|
1806
|
-
description: string;
|
1807
|
-
id: string;
|
1808
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1809
|
-
icon: string;
|
1810
|
-
}[];
|
1811
|
-
MainProtocol: {
|
1812
|
-
name: string;
|
1813
|
-
url: string;
|
1814
|
-
description: string;
|
1815
|
-
id: string;
|
1816
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
1817
|
-
icon: string;
|
1818
|
-
} | null;
|
1819
|
-
} & {
|
1820
|
-
name: string;
|
1821
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
1822
|
-
id: string;
|
1823
|
-
status: import("../../../database/api/.generated").$Enums.Status;
|
1824
|
-
tags: string[];
|
1825
|
-
identifier: string;
|
1826
|
-
chainId: number;
|
1827
|
-
action: import("../../../database/api/.generated").$Enums.OpportunityAction;
|
1828
|
-
mainProtocolId: string | null;
|
1829
|
-
tvl: number;
|
1830
|
-
apr: number;
|
1831
|
-
dailyRewards: number;
|
1832
|
-
};
|
1833
|
-
reason: string;
|
1834
|
-
pending: string;
|
1835
|
-
amount: string;
|
1836
|
-
claimed: string;
|
1837
|
-
auxiliaryData1: string | null;
|
1838
|
-
auxiliaryData2: string | null;
|
1839
|
-
}[];
|
1840
|
-
claimed: bigint;
|
1841
|
-
amount: bigint;
|
1842
|
-
pending: bigint;
|
1843
|
-
recipient: string;
|
1844
|
-
root: string;
|
1845
|
-
proofs: string[];
|
1846
|
-
}, "breakdowns"> & {
|
1847
|
-
breakdowns: {
|
1848
|
-
campaignId: string;
|
1849
|
-
reason: string;
|
1850
|
-
pending: string;
|
1851
|
-
amount: string;
|
1852
|
-
claimed: string;
|
1853
|
-
auxiliaryData1: string | null;
|
1854
|
-
auxiliaryData2: string | null;
|
1855
|
-
}[];
|
1856
|
-
})[];
|
1857
|
-
})[];
|
1858
|
-
};
|
1859
|
-
};
|
1860
|
-
};
|
1861
|
-
};
|
1862
|
-
};
|
1863
|
-
} & {
|
1864
|
-
users: {
|
1865
|
-
index: {
|
1866
|
-
post: {
|
1867
|
-
body: {
|
1868
|
-
tags: string[];
|
1869
|
-
address: string;
|
1870
|
-
};
|
1871
|
-
params: {};
|
1872
|
-
query: unknown;
|
1873
|
-
headers: {
|
1874
|
-
authorization: string;
|
1875
|
-
};
|
1876
|
-
response: {
|
1877
|
-
200: {
|
1878
|
-
tags: string[];
|
1879
|
-
address: string;
|
1880
|
-
};
|
1881
|
-
};
|
1882
|
-
};
|
1883
|
-
};
|
1884
|
-
};
|
1885
|
-
} & {
|
1886
|
-
users: {
|
1887
|
-
sync: {
|
1888
|
-
post: {
|
1889
|
-
body: unknown;
|
1890
|
-
params: {};
|
1891
|
-
query: unknown;
|
1892
|
-
headers: {
|
1893
|
-
authorization: string;
|
1894
|
-
};
|
1895
|
-
response: {
|
1896
|
-
200: void;
|
1897
|
-
};
|
1898
|
-
};
|
1899
|
-
};
|
1900
|
-
};
|
1901
|
-
} & {
|
1902
|
-
users: {
|
1903
|
-
":address": {
|
1904
|
-
tags: {
|
1905
|
-
patch: {
|
1906
|
-
body: {
|
1907
|
-
tags: string[];
|
1908
|
-
};
|
1909
|
-
params: {
|
1910
|
-
address: string;
|
1911
|
-
};
|
1912
|
-
query: unknown;
|
1913
|
-
headers: {
|
1914
|
-
authorization: string;
|
1915
|
-
};
|
1916
|
-
response: {
|
1917
|
-
200: {
|
1918
|
-
tags: string[];
|
1919
|
-
address: string;
|
1920
|
-
};
|
1921
|
-
};
|
1922
|
-
};
|
1923
|
-
};
|
1924
|
-
};
|
1925
|
-
};
|
1926
|
-
};
|
1927
|
-
} & {
|
1928
|
-
v4: {
|
1929
|
-
roots: {
|
1930
|
-
index: {
|
1931
|
-
get: {
|
1932
|
-
body: unknown;
|
1933
|
-
params: {};
|
1934
|
-
query: {
|
1935
|
-
chainId: number;
|
1936
|
-
fromTimestamp: string;
|
1937
|
-
toTimestamp: string;
|
1938
|
-
};
|
1939
|
-
headers: unknown;
|
1940
|
-
response: {
|
1941
|
-
200: {
|
1942
|
-
timestamp: bigint;
|
1943
|
-
chainId: number;
|
1944
|
-
root: string;
|
1945
|
-
epoch: number;
|
1946
|
-
}[];
|
1947
|
-
};
|
1948
|
-
};
|
1949
|
-
};
|
1950
|
-
};
|
1951
|
-
} & {
|
1952
|
-
roots: {
|
1953
|
-
live: {
|
1954
|
-
get: {
|
1955
|
-
body: unknown;
|
1956
|
-
params: {};
|
1957
|
-
query: unknown;
|
1958
|
-
headers: unknown;
|
1959
|
-
response: {
|
1960
|
-
200: {
|
1961
|
-
live: string;
|
1962
|
-
tree: string;
|
1963
|
-
lastTree: string;
|
1964
|
-
}[];
|
1965
|
-
};
|
1966
|
-
};
|
1967
|
-
};
|
1968
|
-
};
|
1969
|
-
} & {
|
1970
|
-
roots: {
|
1971
|
-
engine: {
|
1972
|
-
post: {
|
1973
|
-
body: {
|
1974
|
-
timestamp: number;
|
1975
|
-
chainId: number;
|
1976
|
-
root: string;
|
1977
|
-
epoch: number;
|
1978
|
-
};
|
1979
|
-
params: {};
|
1980
|
-
query: unknown;
|
1981
|
-
headers: {
|
1982
|
-
authorization: string;
|
1983
|
-
};
|
1984
|
-
response: {
|
1985
|
-
200: {
|
1986
|
-
timestamp: bigint;
|
1987
|
-
chainId: number;
|
1988
|
-
root: string;
|
1989
|
-
epoch: number;
|
1990
|
-
};
|
1991
|
-
};
|
1992
|
-
};
|
1993
|
-
};
|
1994
|
-
};
|
1995
|
-
};
|
1996
|
-
} & {
|
1997
|
-
v4: {
|
1998
|
-
interaction: {
|
1999
|
-
targets: {
|
2000
|
-
get: {
|
2001
|
-
body: unknown;
|
2002
|
-
params: {};
|
2003
|
-
query: {
|
2004
|
-
identifier?: string | undefined;
|
2005
|
-
chainId: number;
|
2006
|
-
protocolId: string;
|
2007
|
-
};
|
2008
|
-
headers: unknown;
|
2009
|
-
response: {
|
2010
|
-
200: import("../../modules/v4/interaction/interaction.model").InteractionTarget[] | undefined;
|
2011
|
-
};
|
2012
|
-
};
|
2013
|
-
};
|
2014
|
-
};
|
2015
|
-
} & {
|
2016
|
-
interaction: {
|
2017
|
-
protocols: {
|
2018
|
-
get: {
|
2019
|
-
body: unknown;
|
2020
|
-
params: {};
|
2021
|
-
query: {
|
2022
|
-
chainId?: number | undefined;
|
2023
|
-
};
|
2024
|
-
headers: unknown;
|
2025
|
-
response: {
|
2026
|
-
200: ({
|
2027
|
-
name: string;
|
2028
|
-
url: string;
|
2029
|
-
description: string;
|
2030
|
-
id: string;
|
2031
|
-
tags: import("../../../database/api/.generated").$Enums.ProtocolTag[];
|
2032
|
-
icon: string;
|
2033
|
-
} & {})[];
|
2034
|
-
};
|
2035
|
-
};
|
2036
|
-
};
|
2037
|
-
};
|
2038
|
-
} & {
|
2039
|
-
interaction: {
|
2040
|
-
quote: {
|
2041
|
-
get: {
|
2042
|
-
body: unknown;
|
2043
|
-
params: {};
|
2044
|
-
query: {
|
2045
|
-
identifier: string;
|
2046
|
-
chainId: number;
|
2047
|
-
protocolId: string;
|
2048
|
-
userAddress: string;
|
2049
|
-
fromAmount: string;
|
2050
|
-
fromTokenAddress: string;
|
2051
|
-
};
|
2052
|
-
headers: unknown;
|
2053
|
-
response: {
|
2054
|
-
200: {
|
2055
|
-
amountOut: {};
|
2056
|
-
gas: string;
|
2057
|
-
feeAmount: string[];
|
2058
|
-
priceImpact: number;
|
2059
|
-
} | undefined;
|
2060
|
-
};
|
2061
|
-
};
|
2062
|
-
};
|
2063
|
-
};
|
2064
|
-
} & {
|
2065
|
-
interaction: {
|
2066
|
-
transaction: {
|
2067
|
-
get: {
|
2068
|
-
body: unknown;
|
2069
|
-
params: {};
|
2070
|
-
query: {
|
2071
|
-
identifier: string;
|
2072
|
-
chainId: number;
|
2073
|
-
protocolId: string;
|
2074
|
-
userAddress: string;
|
2075
|
-
fromAmount: string;
|
2076
|
-
fromTokenAddress: string;
|
2077
|
-
};
|
2078
|
-
headers: unknown;
|
2079
|
-
response: {
|
2080
|
-
200: {
|
2081
|
-
amountOut: string;
|
2082
|
-
gas: string;
|
2083
|
-
feeAmount: string[];
|
2084
|
-
priceImpact: number;
|
2085
|
-
createAt: number;
|
2086
|
-
tx: {
|
2087
|
-
data: string;
|
2088
|
-
from: string;
|
2089
|
-
value: string;
|
2090
|
-
to: string;
|
2091
|
-
};
|
2092
|
-
} | undefined;
|
2093
|
-
};
|
2094
|
-
};
|
2095
|
-
};
|
2096
|
-
};
|
2097
|
-
};
|
2098
|
-
} & {
|
2099
|
-
v4: {
|
2100
|
-
accounting: {
|
2101
|
-
index: {
|
2102
|
-
get: {
|
2103
|
-
body: unknown;
|
2104
|
-
params: {};
|
2105
|
-
query: {
|
2106
|
-
items?: number | undefined;
|
2107
|
-
page?: number | undefined;
|
2108
|
-
};
|
2109
|
-
headers: {
|
2110
|
-
authorization: string;
|
2111
|
-
};
|
2112
|
-
response: {
|
2113
|
-
200: {
|
2114
|
-
id: string;
|
2115
|
-
timestamp: number;
|
2116
|
-
chainId: number;
|
2117
|
-
fromTokenId: string;
|
2118
|
-
toTokenId: string;
|
2119
|
-
multisig: string;
|
2120
|
-
recipient: string;
|
2121
|
-
amountIn: string;
|
2122
|
-
amountOut: string;
|
2123
|
-
datetime: Date;
|
2124
|
-
}[];
|
2125
|
-
};
|
2126
|
-
};
|
2127
|
-
};
|
2128
|
-
} & {
|
2129
|
-
revenues: {
|
2130
|
-
get: {
|
2131
|
-
body: unknown;
|
2132
|
-
params: {};
|
2133
|
-
query: unknown;
|
2134
|
-
headers: {
|
2135
|
-
authorization: string;
|
2136
|
-
};
|
2137
|
-
response: {
|
2138
|
-
200: {
|
2139
|
-
totalAmount: number;
|
2140
|
-
};
|
2141
|
-
};
|
2142
|
-
};
|
2143
|
-
};
|
2144
|
-
} & {
|
2145
|
-
revenues: {
|
2146
|
-
"per-month": {
|
2147
|
-
":year": {
|
2148
|
-
":month": {
|
2149
|
-
get: {
|
2150
|
-
body: unknown;
|
2151
|
-
params: {
|
2152
|
-
month: number;
|
2153
|
-
year: number;
|
2154
|
-
};
|
2155
|
-
query: unknown;
|
2156
|
-
headers: {
|
2157
|
-
authorization: string;
|
2158
|
-
};
|
2159
|
-
response: {
|
2160
|
-
200: {
|
2161
|
-
totalAmount: number;
|
2162
|
-
from: string;
|
2163
|
-
to: string;
|
2164
|
-
};
|
2165
|
-
};
|
2166
|
-
};
|
2167
|
-
};
|
2168
|
-
};
|
2169
|
-
};
|
2170
|
-
};
|
2171
|
-
} & {
|
2172
|
-
revenues: {
|
2173
|
-
chains: {
|
2174
|
-
":chainId": {
|
2175
|
-
get: {
|
2176
|
-
body: unknown;
|
2177
|
-
params: {
|
2178
|
-
chainId: number;
|
2179
|
-
};
|
2180
|
-
query: unknown;
|
2181
|
-
headers: {
|
2182
|
-
authorization: string;
|
2183
|
-
};
|
2184
|
-
response: {
|
2185
|
-
200: {
|
2186
|
-
totalAmount: number;
|
2187
|
-
};
|
2188
|
-
};
|
2189
|
-
};
|
2190
|
-
};
|
2191
|
-
};
|
2192
|
-
};
|
2193
|
-
} & {
|
2194
|
-
revenues: {
|
2195
|
-
chains: {
|
2196
|
-
":chainId": {
|
2197
|
-
"per-month": {
|
2198
|
-
":year": {
|
2199
|
-
":month": {
|
2200
|
-
get: {
|
2201
|
-
body: unknown;
|
2202
|
-
params: {
|
2203
|
-
chainId: number;
|
2204
|
-
month: number;
|
2205
|
-
year: number;
|
2206
|
-
};
|
2207
|
-
query: unknown;
|
2208
|
-
headers: {
|
2209
|
-
authorization: string;
|
2210
|
-
};
|
2211
|
-
response: {
|
2212
|
-
200: {
|
2213
|
-
totalAmount: number;
|
2214
|
-
from: string;
|
2215
|
-
to: string;
|
2216
|
-
};
|
2217
|
-
};
|
2218
|
-
};
|
2219
|
-
};
|
2220
|
-
};
|
2221
|
-
};
|
2222
|
-
};
|
2223
|
-
};
|
2224
|
-
};
|
2225
|
-
} & {
|
2226
|
-
tokens: {
|
2227
|
-
":chainId": {
|
2228
|
-
":tokenAddress": {
|
2229
|
-
get: {
|
2230
|
-
body: unknown;
|
2231
|
-
params: {
|
2232
|
-
chainId: number;
|
2233
|
-
tokenAddress: string;
|
2234
|
-
};
|
2235
|
-
query: unknown;
|
2236
|
-
headers: {
|
2237
|
-
authorization: string;
|
2238
|
-
};
|
2239
|
-
response: {
|
2240
|
-
200: {
|
2241
|
-
totalAmount: number;
|
2242
|
-
totalAmountUSD: number;
|
2243
|
-
};
|
2244
|
-
};
|
2245
|
-
};
|
2246
|
-
};
|
2247
|
-
};
|
2248
|
-
};
|
2249
|
-
} & {
|
2250
|
-
tokens: {
|
2251
|
-
":chainId": {
|
2252
|
-
":tokenAddress": {
|
2253
|
-
"per-month": {
|
2254
|
-
":year": {
|
2255
|
-
":month": {
|
2256
|
-
get: {
|
2257
|
-
body: unknown;
|
2258
|
-
params: {
|
2259
|
-
chainId: number;
|
2260
|
-
tokenAddress: string;
|
2261
|
-
month: number;
|
2262
|
-
year: number;
|
2263
|
-
};
|
2264
|
-
query: unknown;
|
2265
|
-
headers: {
|
2266
|
-
authorization: string;
|
2267
|
-
};
|
2268
|
-
response: {
|
2269
|
-
200: {
|
2270
|
-
totalAmount: number;
|
2271
|
-
totalAmountUSD: number;
|
2272
|
-
from: string;
|
2273
|
-
to: string;
|
2274
|
-
};
|
2275
|
-
};
|
2276
|
-
};
|
2277
|
-
};
|
2278
|
-
};
|
2279
|
-
};
|
2280
|
-
};
|
2281
|
-
};
|
2282
|
-
};
|
2283
|
-
};
|
2284
|
-
};
|
2285
|
-
} & {
|
2286
|
-
v4: {
|
2287
|
-
"dynamic-data": {
|
2288
|
-
index: {
|
2289
|
-
get: {
|
2290
|
-
body: unknown;
|
2291
|
-
params: {};
|
2292
|
-
query: {
|
2293
|
-
chainId: number;
|
2294
|
-
tokenAddress: string;
|
2295
|
-
};
|
2296
|
-
headers: {
|
2297
|
-
authorization: string;
|
2298
|
-
};
|
2299
|
-
response: {
|
2300
|
-
200: {
|
2301
|
-
tvl: number;
|
2302
|
-
totalSupply: number;
|
2303
|
-
cardName: string;
|
2304
|
-
blacklistedSupply: number;
|
2305
|
-
priceTargetToken: number;
|
2306
|
-
};
|
2307
|
-
};
|
2308
|
-
};
|
2309
|
-
};
|
2310
|
-
};
|
2311
|
-
};
|
2312
|
-
} & {
|
2313
|
-
v4: {
|
2314
|
-
"campaign-status": {
|
2315
|
-
engine: {
|
2316
|
-
":campaignId": {
|
2317
|
-
put: {
|
2318
|
-
body: {
|
2319
|
-
value: "SUCCESS";
|
2320
|
-
computedUntil: number;
|
2321
|
-
} | {
|
2322
|
-
value: "PROCESSING";
|
2323
|
-
} | {
|
2324
|
-
error: string;
|
2325
|
-
details: string;
|
2326
|
-
value: "SKIPPED";
|
2327
|
-
} | {
|
2328
|
-
error: string;
|
2329
|
-
details: string;
|
2330
|
-
value: "FAILED";
|
2331
|
-
};
|
2332
|
-
params: {
|
2333
|
-
campaignId: string;
|
2334
|
-
};
|
2335
|
-
query: unknown;
|
2336
|
-
headers: {
|
2337
|
-
authorization: string;
|
2338
|
-
};
|
2339
|
-
response: {
|
2340
|
-
200: void;
|
2341
|
-
};
|
2342
|
-
};
|
2343
|
-
};
|
2344
|
-
};
|
2345
|
-
};
|
2346
|
-
} & {
|
2347
|
-
"campaign-status": {
|
2348
|
-
engine: {
|
2349
|
-
overlaps: {
|
2350
|
-
get: {
|
2351
|
-
body: unknown;
|
2352
|
-
params: {};
|
2353
|
-
query: {
|
2354
|
-
campaignId: string;
|
2355
|
-
distributionChain: number;
|
2356
|
-
};
|
2357
|
-
headers: {
|
2358
|
-
authorization: string;
|
2359
|
-
};
|
2360
|
-
response: {
|
2361
|
-
200: boolean;
|
2362
|
-
};
|
2363
|
-
};
|
2364
|
-
};
|
2365
|
-
};
|
2366
|
-
};
|
2367
|
-
} & {
|
2368
|
-
"campaign-status": {
|
2369
|
-
index: {
|
2370
|
-
get: {
|
2371
|
-
body: unknown;
|
2372
|
-
params: {};
|
2373
|
-
query: {
|
2374
|
-
status?: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[] | undefined;
|
2375
|
-
computeChainId?: number | undefined;
|
2376
|
-
};
|
2377
|
-
headers: unknown;
|
2378
|
-
response: {
|
2379
|
-
200: {
|
2380
|
-
error: string;
|
2381
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2382
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2383
|
-
campaignId: string;
|
2384
|
-
computedUntil: bigint;
|
2385
|
-
processingStarted: bigint;
|
2386
|
-
}[];
|
2387
|
-
};
|
2388
|
-
};
|
2389
|
-
};
|
2390
|
-
};
|
2391
|
-
} & {
|
2392
|
-
"campaign-status": {
|
2393
|
-
":campaignId": {
|
2394
|
-
get: {
|
2395
|
-
body: unknown;
|
2396
|
-
params: {
|
2397
|
-
campaignId: string;
|
2398
|
-
};
|
2399
|
-
query: unknown;
|
2400
|
-
headers: unknown;
|
2401
|
-
response: {
|
2402
|
-
200: {
|
2403
|
-
error: string;
|
2404
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2405
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2406
|
-
campaignId: string;
|
2407
|
-
computedUntil: bigint;
|
2408
|
-
processingStarted: bigint;
|
2409
|
-
}[] | {
|
2410
|
-
error: string;
|
2411
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2412
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2413
|
-
campaignId: string;
|
2414
|
-
computedUntil: bigint;
|
2415
|
-
processingStarted: bigint;
|
2416
|
-
};
|
2417
|
-
};
|
2418
|
-
};
|
2419
|
-
};
|
2420
|
-
};
|
2421
|
-
};
|
2422
|
-
} & {
|
2423
|
-
v4: {
|
2424
|
-
liquidity: {
|
2425
|
-
index: {
|
2426
|
-
get: {
|
2427
|
-
body: unknown;
|
2428
|
-
params: {};
|
2429
|
-
query: {
|
2430
|
-
chainId: number;
|
2431
|
-
address: string;
|
2432
|
-
};
|
2433
|
-
headers: unknown;
|
2434
|
-
response: {
|
2435
|
-
200: import("../../modules/v4/liquidity").PositionT[];
|
2436
|
-
};
|
2437
|
-
};
|
2438
|
-
};
|
2439
|
-
};
|
2440
|
-
};
|
2441
|
-
} & {
|
2442
|
-
v4: {
|
2443
|
-
claims: {
|
2444
|
-
":address": {
|
2445
|
-
get: {
|
2446
|
-
body: unknown;
|
2447
|
-
params: {
|
2448
|
-
address: string;
|
2449
|
-
};
|
2450
|
-
query: unknown;
|
2451
|
-
headers: unknown;
|
2452
|
-
response: {
|
2453
|
-
200: (import("../../modules/v4/claims").ClaimModel & {
|
2454
|
-
token: import("../../modules/v4").Token["model"];
|
2455
|
-
})[];
|
2456
|
-
};
|
2457
|
-
};
|
2458
|
-
};
|
2459
|
-
};
|
2460
|
-
};
|
2461
|
-
} & {
|
2462
|
-
index: {
|
2463
|
-
get: {
|
2464
|
-
body: unknown;
|
2465
|
-
params: {};
|
2466
|
-
query: {
|
2467
|
-
chainIds?: string | string[] | undefined;
|
2468
|
-
user: string;
|
2469
|
-
creatorTag: string;
|
2470
|
-
};
|
2471
|
-
headers: unknown;
|
2472
|
-
response: {
|
2473
|
-
[x: string]: any;
|
2474
|
-
200: any;
|
2475
|
-
};
|
2476
|
-
};
|
2477
|
-
};
|
2478
|
-
}, {
|
2479
|
-
derive: {};
|
2480
|
-
resolve: {};
|
2481
|
-
schema: {};
|
2482
|
-
}, {
|
2483
|
-
derive: {};
|
2484
|
-
resolve: {};
|
2485
|
-
schema: {};
|
2486
|
-
}>;
|
7
|
+
declare const _default: (app: App) => any;
|
2487
8
|
export default _default;
|