@merkl/api 1.3.47 → 1.3.48
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 +26 -0
- package/dist/src/index.d.ts +309 -283
- package/dist/src/jobs/pendings.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +10 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +184 -184
- package/dist/src/modules/v4/coingecko/coingecko.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +16 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -0
- package/dist/src/modules/v4/{price/price.controller.d.ts → priceSource/priceSource.controller.d.ts} +1 -1
- package/dist/src/modules/v4/priceSource/priceSource.controller.js.map +1 -0
- package/dist/src/modules/v4/priceSource/priceSource.model.js.map +1 -0
- package/dist/src/modules/v4/{price/price.repository.d.ts → priceSource/priceSource.repository.d.ts} +2 -2
- package/dist/src/modules/v4/priceSource/priceSource.repository.js.map +1 -0
- package/dist/src/modules/v4/{price/price.service.d.ts → priceSource/priceSource.service.d.ts} +2 -2
- package/dist/src/modules/v4/priceSource/priceSource.service.js.map +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +2 -0
- package/dist/src/modules/v4/router.d.ts +309 -283
- package/dist/src/modules/v4/router.js.map +1 -1
- package/dist/src/modules/v4/token/token.model.d.ts +1 -0
- package/dist/src/modules/v4/token/token.model.js.map +1 -1
- package/dist/src/modules/v4/token/token.service.js.map +1 -1
- package/dist/src/routes/v1/prices.js.map +1 -1
- package/dist/src/utils/pricer.js.map +1 -1
- package/dist/src/utils/prices/priceService.js.map +1 -1
- package/dist/src/utils/prices/services/OnChainCallService.js.map +1 -1
- package/dist/src/utils/prices/services/erc4626Service.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/modules/v4/price/price.controller.js.map +0 -1
- package/dist/src/modules/v4/price/price.model.js.map +0 -1
- package/dist/src/modules/v4/price/price.repository.js.map +0 -1
- package/dist/src/modules/v4/price/price.service.js.map +0 -1
- /package/dist/src/modules/v4/{price/price.model.d.ts → priceSource/priceSource.model.d.ts} +0 -0
package/dist/src/index.d.ts
CHANGED
@@ -2337,6 +2337,7 @@ declare const app: Elysia<"", {
|
|
2337
2337
|
isNative: boolean;
|
2338
2338
|
isTest: boolean;
|
2339
2339
|
price?: number | null | undefined;
|
2340
|
+
updatedAt?: number | null | undefined;
|
2340
2341
|
symbol: string;
|
2341
2342
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2342
2343
|
};
|
@@ -2422,6 +2423,7 @@ declare const app: Elysia<"", {
|
|
2422
2423
|
isNative: boolean;
|
2423
2424
|
isTest: boolean;
|
2424
2425
|
price?: number | null | undefined;
|
2426
|
+
updatedAt?: number | null | undefined;
|
2425
2427
|
symbol: string;
|
2426
2428
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2427
2429
|
};
|
@@ -2442,6 +2444,7 @@ declare const app: Elysia<"", {
|
|
2442
2444
|
isNative: boolean;
|
2443
2445
|
isTest: boolean;
|
2444
2446
|
price?: number | null | undefined;
|
2447
|
+
updatedAt?: number | null | undefined;
|
2445
2448
|
symbol: string;
|
2446
2449
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2447
2450
|
}[];
|
@@ -2525,6 +2528,7 @@ declare const app: Elysia<"", {
|
|
2525
2528
|
isNative: boolean;
|
2526
2529
|
isTest: boolean;
|
2527
2530
|
price?: number | null | undefined;
|
2531
|
+
updatedAt?: number | null | undefined;
|
2528
2532
|
symbol: string;
|
2529
2533
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2530
2534
|
}[];
|
@@ -2578,6 +2582,7 @@ declare const app: Elysia<"", {
|
|
2578
2582
|
isNative: boolean;
|
2579
2583
|
isTest: boolean;
|
2580
2584
|
price?: number | null | undefined;
|
2585
|
+
updatedAt?: number | null | undefined;
|
2581
2586
|
symbol: string;
|
2582
2587
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2583
2588
|
};
|
@@ -2657,6 +2662,7 @@ declare const app: Elysia<"", {
|
|
2657
2662
|
isNative: boolean;
|
2658
2663
|
isTest: boolean;
|
2659
2664
|
price?: number | null | undefined;
|
2665
|
+
updatedAt?: number | null | undefined;
|
2660
2666
|
symbol: string;
|
2661
2667
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2662
2668
|
};
|
@@ -2742,6 +2748,7 @@ declare const app: Elysia<"", {
|
|
2742
2748
|
isNative: boolean;
|
2743
2749
|
isTest: boolean;
|
2744
2750
|
price?: number | null | undefined;
|
2751
|
+
updatedAt?: number | null | undefined;
|
2745
2752
|
symbol: string;
|
2746
2753
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2747
2754
|
};
|
@@ -2762,6 +2769,7 @@ declare const app: Elysia<"", {
|
|
2762
2769
|
isNative: boolean;
|
2763
2770
|
isTest: boolean;
|
2764
2771
|
price?: number | null | undefined;
|
2772
|
+
updatedAt?: number | null | undefined;
|
2765
2773
|
symbol: string;
|
2766
2774
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2767
2775
|
}[];
|
@@ -2875,6 +2883,7 @@ declare const app: Elysia<"", {
|
|
2875
2883
|
isNative: boolean;
|
2876
2884
|
isTest: boolean;
|
2877
2885
|
price?: number | null | undefined;
|
2886
|
+
updatedAt?: number | null | undefined;
|
2878
2887
|
symbol: string;
|
2879
2888
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2880
2889
|
};
|
@@ -2960,6 +2969,7 @@ declare const app: Elysia<"", {
|
|
2960
2969
|
isNative: boolean;
|
2961
2970
|
isTest: boolean;
|
2962
2971
|
price?: number | null | undefined;
|
2972
|
+
updatedAt?: number | null | undefined;
|
2963
2973
|
symbol: string;
|
2964
2974
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2965
2975
|
};
|
@@ -2980,6 +2990,7 @@ declare const app: Elysia<"", {
|
|
2980
2990
|
isNative: boolean;
|
2981
2991
|
isTest: boolean;
|
2982
2992
|
price?: number | null | undefined;
|
2993
|
+
updatedAt?: number | null | undefined;
|
2983
2994
|
symbol: string;
|
2984
2995
|
type: "POINT" | "PRETGE" | "TOKEN";
|
2985
2996
|
}[];
|
@@ -3086,6 +3097,7 @@ declare const app: Elysia<"", {
|
|
3086
3097
|
isNative: boolean;
|
3087
3098
|
isTest: boolean;
|
3088
3099
|
price?: number | null | undefined;
|
3100
|
+
updatedAt?: number | null | undefined;
|
3089
3101
|
symbol: string;
|
3090
3102
|
type: "POINT" | "PRETGE" | "TOKEN";
|
3091
3103
|
}[];
|
@@ -3139,6 +3151,7 @@ declare const app: Elysia<"", {
|
|
3139
3151
|
isNative: boolean;
|
3140
3152
|
isTest: boolean;
|
3141
3153
|
price?: number | null | undefined;
|
3154
|
+
updatedAt?: number | null | undefined;
|
3142
3155
|
symbol: string;
|
3143
3156
|
type: "POINT" | "PRETGE" | "TOKEN";
|
3144
3157
|
};
|
@@ -3218,6 +3231,7 @@ declare const app: Elysia<"", {
|
|
3218
3231
|
isNative: boolean;
|
3219
3232
|
isTest: boolean;
|
3220
3233
|
price?: number | null | undefined;
|
3234
|
+
updatedAt?: number | null | undefined;
|
3221
3235
|
symbol: string;
|
3222
3236
|
type: "POINT" | "PRETGE" | "TOKEN";
|
3223
3237
|
};
|
@@ -3303,6 +3317,7 @@ declare const app: Elysia<"", {
|
|
3303
3317
|
isNative: boolean;
|
3304
3318
|
isTest: boolean;
|
3305
3319
|
price?: number | null | undefined;
|
3320
|
+
updatedAt?: number | null | undefined;
|
3306
3321
|
symbol: string;
|
3307
3322
|
type: "POINT" | "PRETGE" | "TOKEN";
|
3308
3323
|
};
|
@@ -3323,6 +3338,7 @@ declare const app: Elysia<"", {
|
|
3323
3338
|
isNative: boolean;
|
3324
3339
|
isTest: boolean;
|
3325
3340
|
price?: number | null | undefined;
|
3341
|
+
updatedAt?: number | null | undefined;
|
3326
3342
|
symbol: string;
|
3327
3343
|
type: "POINT" | "PRETGE" | "TOKEN";
|
3328
3344
|
}[];
|
@@ -4056,83 +4072,6 @@ declare const app: Elysia<"", {
|
|
4056
4072
|
};
|
4057
4073
|
response: {
|
4058
4074
|
200: {
|
4059
|
-
id: string;
|
4060
|
-
chainId: number;
|
4061
|
-
type: string;
|
4062
|
-
identifier: string;
|
4063
|
-
name: string;
|
4064
|
-
status: "LIVE" | "PAST" | "SOON";
|
4065
|
-
action: any;
|
4066
|
-
tokens: ({
|
4067
|
-
address: string;
|
4068
|
-
chainId: number;
|
4069
|
-
decimals: number;
|
4070
|
-
icon: string;
|
4071
|
-
id: string;
|
4072
|
-
isNative: boolean;
|
4073
|
-
isTest: boolean;
|
4074
|
-
name: string | null;
|
4075
|
-
symbol: string;
|
4076
|
-
type: import("@package/databases").TokenType;
|
4077
|
-
verified: boolean;
|
4078
|
-
} & {
|
4079
|
-
price?: number | null | undefined;
|
4080
|
-
updatedAt?: number | null | undefined;
|
4081
|
-
isTokenWrapper?: boolean | undefined;
|
4082
|
-
tokenWrapperAddress?: string | undefined;
|
4083
|
-
})[];
|
4084
|
-
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "fluidvault" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "lnd" | "maha" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "pancake-swap" | "pendle" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
4085
|
-
description: string;
|
4086
|
-
howToSteps: string[];
|
4087
|
-
depositUrl: string | undefined;
|
4088
|
-
explorerAddress: string | undefined;
|
4089
|
-
tags: string[];
|
4090
|
-
} | {
|
4091
|
-
id: string;
|
4092
|
-
chainId: number;
|
4093
|
-
type: string;
|
4094
|
-
identifier: string;
|
4095
|
-
name: string;
|
4096
|
-
description: string;
|
4097
|
-
howToSteps: string[];
|
4098
|
-
depositUrl: string | null;
|
4099
|
-
explorerAddress: string | null;
|
4100
|
-
status: import("@package/databases").Status;
|
4101
|
-
action: import("@package/databases").OpportunityAction;
|
4102
|
-
mainProtocolId: string | null;
|
4103
|
-
tvl: number;
|
4104
|
-
apr: number;
|
4105
|
-
maxApr: number | null;
|
4106
|
-
dailyRewards: number;
|
4107
|
-
tags: string[];
|
4108
|
-
lastCampaignCreatedAt: Date;
|
4109
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
4110
|
-
liveCampaigns: number;
|
4111
|
-
Protocols: {
|
4112
|
-
id: string;
|
4113
|
-
tags: string[];
|
4114
|
-
name: string;
|
4115
|
-
description: string;
|
4116
|
-
url: string;
|
4117
|
-
icon: string;
|
4118
|
-
}[];
|
4119
|
-
Tokens: {
|
4120
|
-
id: string;
|
4121
|
-
name: string | null;
|
4122
|
-
chainId: number;
|
4123
|
-
address: string;
|
4124
|
-
decimals: number;
|
4125
|
-
symbol: string;
|
4126
|
-
displaySymbol: string;
|
4127
|
-
icon: string;
|
4128
|
-
verified: boolean;
|
4129
|
-
isTest: boolean;
|
4130
|
-
type: import("@package/databases").TokenType;
|
4131
|
-
isNative: boolean;
|
4132
|
-
price: number | null;
|
4133
|
-
updatedAt: number | null;
|
4134
|
-
}[];
|
4135
|
-
} | {
|
4136
4075
|
distributionChain?: ({
|
4137
4076
|
endOfDisputePeriod: number;
|
4138
4077
|
icon: string;
|
@@ -4223,6 +4162,83 @@ declare const app: Elysia<"", {
|
|
4223
4162
|
startTimestamp: number;
|
4224
4163
|
subType: number | null;
|
4225
4164
|
type: string;
|
4165
|
+
} | {
|
4166
|
+
id: string;
|
4167
|
+
chainId: number;
|
4168
|
+
type: string;
|
4169
|
+
identifier: string;
|
4170
|
+
name: string;
|
4171
|
+
status: "LIVE" | "PAST" | "SOON";
|
4172
|
+
action: any;
|
4173
|
+
tokens: ({
|
4174
|
+
address: string;
|
4175
|
+
chainId: number;
|
4176
|
+
decimals: number;
|
4177
|
+
icon: string;
|
4178
|
+
id: string;
|
4179
|
+
isNative: boolean;
|
4180
|
+
isTest: boolean;
|
4181
|
+
name: string | null;
|
4182
|
+
symbol: string;
|
4183
|
+
type: import("@package/databases").TokenType;
|
4184
|
+
verified: boolean;
|
4185
|
+
} & {
|
4186
|
+
price?: number | null | undefined;
|
4187
|
+
updatedAt?: number | null | undefined;
|
4188
|
+
isTokenWrapper?: boolean | undefined;
|
4189
|
+
tokenWrapperAddress?: string | undefined;
|
4190
|
+
})[];
|
4191
|
+
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "fluidvault" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "lnd" | "maha" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "pancake-swap" | "pendle" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
4192
|
+
description: string;
|
4193
|
+
howToSteps: string[];
|
4194
|
+
depositUrl: string | undefined;
|
4195
|
+
explorerAddress: string | undefined;
|
4196
|
+
tags: string[];
|
4197
|
+
} | {
|
4198
|
+
id: string;
|
4199
|
+
chainId: number;
|
4200
|
+
type: string;
|
4201
|
+
identifier: string;
|
4202
|
+
name: string;
|
4203
|
+
description: string;
|
4204
|
+
howToSteps: string[];
|
4205
|
+
depositUrl: string | null;
|
4206
|
+
explorerAddress: string | null;
|
4207
|
+
status: import("@package/databases").Status;
|
4208
|
+
action: import("@package/databases").OpportunityAction;
|
4209
|
+
mainProtocolId: string | null;
|
4210
|
+
tvl: number;
|
4211
|
+
apr: number;
|
4212
|
+
maxApr: number | null;
|
4213
|
+
dailyRewards: number;
|
4214
|
+
tags: string[];
|
4215
|
+
lastCampaignCreatedAt: Date;
|
4216
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
4217
|
+
liveCampaigns: number;
|
4218
|
+
Protocols: {
|
4219
|
+
id: string;
|
4220
|
+
tags: string[];
|
4221
|
+
name: string;
|
4222
|
+
description: string;
|
4223
|
+
url: string;
|
4224
|
+
icon: string;
|
4225
|
+
}[];
|
4226
|
+
Tokens: {
|
4227
|
+
id: string;
|
4228
|
+
name: string | null;
|
4229
|
+
chainId: number;
|
4230
|
+
address: string;
|
4231
|
+
decimals: number;
|
4232
|
+
symbol: string;
|
4233
|
+
displaySymbol: string;
|
4234
|
+
icon: string;
|
4235
|
+
verified: boolean;
|
4236
|
+
isTest: boolean;
|
4237
|
+
type: import("@package/databases").TokenType;
|
4238
|
+
isNative: boolean;
|
4239
|
+
price: number | null;
|
4240
|
+
updatedAt: number | null;
|
4241
|
+
}[];
|
4226
4242
|
};
|
4227
4243
|
422: {
|
4228
4244
|
type: "validation";
|
@@ -4290,6 +4306,7 @@ declare const app: Elysia<"", {
|
|
4290
4306
|
isNative: boolean;
|
4291
4307
|
isTest: boolean;
|
4292
4308
|
price?: number | null | undefined;
|
4309
|
+
updatedAt?: number | null | undefined;
|
4293
4310
|
symbol: string;
|
4294
4311
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4295
4312
|
};
|
@@ -4403,6 +4420,7 @@ declare const app: Elysia<"", {
|
|
4403
4420
|
isNative: boolean;
|
4404
4421
|
isTest: boolean;
|
4405
4422
|
price?: number | null | undefined;
|
4423
|
+
updatedAt?: number | null | undefined;
|
4406
4424
|
symbol: string;
|
4407
4425
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4408
4426
|
};
|
@@ -4776,6 +4794,7 @@ declare const app: Elysia<"", {
|
|
4776
4794
|
isNative: boolean;
|
4777
4795
|
isTest: boolean;
|
4778
4796
|
price?: number | null | undefined;
|
4797
|
+
updatedAt?: number | null | undefined;
|
4779
4798
|
symbol: string;
|
4780
4799
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4781
4800
|
}[];
|
@@ -4829,6 +4848,7 @@ declare const app: Elysia<"", {
|
|
4829
4848
|
isNative: boolean;
|
4830
4849
|
isTest: boolean;
|
4831
4850
|
price?: number | null | undefined;
|
4851
|
+
updatedAt?: number | null | undefined;
|
4832
4852
|
symbol: string;
|
4833
4853
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4834
4854
|
};
|
@@ -4880,6 +4900,7 @@ declare const app: Elysia<"", {
|
|
4880
4900
|
isNative: boolean;
|
4881
4901
|
isTest: boolean;
|
4882
4902
|
price?: number | null | undefined;
|
4903
|
+
updatedAt?: number | null | undefined;
|
4883
4904
|
symbol: string;
|
4884
4905
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4885
4906
|
}[];
|
@@ -4933,6 +4954,7 @@ declare const app: Elysia<"", {
|
|
4933
4954
|
isNative: boolean;
|
4934
4955
|
isTest: boolean;
|
4935
4956
|
price?: number | null | undefined;
|
4957
|
+
updatedAt?: number | null | undefined;
|
4936
4958
|
symbol: string;
|
4937
4959
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4938
4960
|
};
|
@@ -4984,6 +5006,7 @@ declare const app: Elysia<"", {
|
|
4984
5006
|
isNative: boolean;
|
4985
5007
|
isTest: boolean;
|
4986
5008
|
price?: number | null | undefined;
|
5009
|
+
updatedAt?: number | null | undefined;
|
4987
5010
|
symbol: string;
|
4988
5011
|
type: "POINT" | "PRETGE" | "TOKEN";
|
4989
5012
|
}[];
|
@@ -5037,6 +5060,7 @@ declare const app: Elysia<"", {
|
|
5037
5060
|
isNative: boolean;
|
5038
5061
|
isTest: boolean;
|
5039
5062
|
price?: number | null | undefined;
|
5063
|
+
updatedAt?: number | null | undefined;
|
5040
5064
|
symbol: string;
|
5041
5065
|
type: "POINT" | "PRETGE" | "TOKEN";
|
5042
5066
|
};
|
@@ -5292,6 +5316,7 @@ declare const app: Elysia<"", {
|
|
5292
5316
|
isNative: boolean;
|
5293
5317
|
isTest: boolean;
|
5294
5318
|
price?: number | null | undefined;
|
5319
|
+
updatedAt?: number | null | undefined;
|
5295
5320
|
symbol: string;
|
5296
5321
|
type: "POINT" | "PRETGE" | "TOKEN";
|
5297
5322
|
};
|
@@ -5405,6 +5430,7 @@ declare const app: Elysia<"", {
|
|
5405
5430
|
isNative: boolean;
|
5406
5431
|
isTest: boolean;
|
5407
5432
|
price?: number | null | undefined;
|
5433
|
+
updatedAt?: number | null | undefined;
|
5408
5434
|
symbol: string;
|
5409
5435
|
type: "POINT" | "PRETGE" | "TOKEN";
|
5410
5436
|
};
|
@@ -6725,14 +6751,75 @@ declare const app: Elysia<"", {
|
|
6725
6751
|
};
|
6726
6752
|
response: {
|
6727
6753
|
200: {
|
6754
|
+
distributionChain?: ({
|
6755
|
+
endOfDisputePeriod: number;
|
6756
|
+
icon: string;
|
6757
|
+
id: number;
|
6758
|
+
liveCampaigns: number;
|
6759
|
+
name: string;
|
6760
|
+
} & {}) | undefined;
|
6761
|
+
creator?: {
|
6762
|
+
address: string;
|
6763
|
+
tags?: string[] | undefined;
|
6764
|
+
creatorId: string | null;
|
6765
|
+
} | undefined;
|
6766
|
+
Opportunity?: ({
|
6767
|
+
action: import("@package/databases").OpportunityAction;
|
6768
|
+
apr: number;
|
6769
|
+
chainId: number;
|
6770
|
+
dailyRewards: number;
|
6771
|
+
description: string;
|
6772
|
+
howToSteps: string[];
|
6773
|
+
id: string;
|
6774
|
+
identifier: string;
|
6775
|
+
lastCampaignCreatedAt: number;
|
6776
|
+
liveCampaigns: number;
|
6777
|
+
maxApr: number | null;
|
6778
|
+
name: string;
|
6779
|
+
status: import("@package/databases").Status;
|
6780
|
+
tags: string[];
|
6781
|
+
tvl: number;
|
6782
|
+
type: string;
|
6783
|
+
} & {
|
6784
|
+
depositUrl?: string | undefined;
|
6785
|
+
explorerAddress?: string | undefined;
|
6786
|
+
mainProtocolId?: string | undefined;
|
6787
|
+
liveCampaignsForCreator?: number | undefined;
|
6788
|
+
}) | undefined;
|
6789
|
+
dailyRewards?: number | undefined;
|
6790
|
+
apr?: number | undefined;
|
6791
|
+
description?: string | undefined;
|
6792
|
+
childCampaignIds?: string[] | undefined;
|
6793
|
+
rootCampaignId?: string | undefined;
|
6794
|
+
parentCampaignId?: string | undefined;
|
6795
|
+
params: import("@prisma/client/runtime/client").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMLogCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").EkuboCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | import("@package/sdk").AaveCampaignParameters | import("@package/sdk").AjnaCampaignParameters | import("@package/sdk").AmbientCampaignParameters | import("@package/sdk").BadgerCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").CompoundCampaignParameters | import("@package/sdk").CompoundV3CampaignParameters | import("@package/sdk").ConvexCampaignParameters | import("@package/sdk").DolomiteCampaignParameters | import("@package/sdk").ERC20CampaignParameters | 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").IonCampaignParameters | 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);
|
6796
|
+
amount: string;
|
6797
|
+
campaignId: string;
|
6798
|
+
campaignStatus: {
|
6799
|
+
computedUntil: number;
|
6800
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
6801
|
+
error: string;
|
6802
|
+
processingStarted: number;
|
6803
|
+
status: import("@package/databases").RunStatus;
|
6804
|
+
} & {
|
6805
|
+
delay?: number | undefined;
|
6806
|
+
};
|
6807
|
+
chain: {
|
6808
|
+
endOfDisputePeriod: number;
|
6809
|
+
icon: string;
|
6810
|
+
id: number;
|
6811
|
+
liveCampaigns: number;
|
6812
|
+
name: string;
|
6813
|
+
} & {};
|
6814
|
+
computeChainId: number;
|
6815
|
+
createdAt: string;
|
6816
|
+
creatorAddress: string;
|
6817
|
+
distributionChainId: number;
|
6818
|
+
distributionType: import("@package/databases").DistributionType;
|
6819
|
+
endTimestamp: number;
|
6728
6820
|
id: string;
|
6729
|
-
|
6730
|
-
|
6731
|
-
identifier: string;
|
6732
|
-
name: string;
|
6733
|
-
status: "LIVE" | "PAST" | "SOON";
|
6734
|
-
action: any;
|
6735
|
-
tokens: ({
|
6821
|
+
opportunityId: string;
|
6822
|
+
rewardToken: {
|
6736
6823
|
address: string;
|
6737
6824
|
chainId: number;
|
6738
6825
|
decimals: number;
|
@@ -6749,7 +6836,37 @@ declare const app: Elysia<"", {
|
|
6749
6836
|
updatedAt?: number | null | undefined;
|
6750
6837
|
isTokenWrapper?: boolean | undefined;
|
6751
6838
|
tokenWrapperAddress?: string | undefined;
|
6752
|
-
}
|
6839
|
+
};
|
6840
|
+
rewardTokenId: string;
|
6841
|
+
startTimestamp: number;
|
6842
|
+
subType: number | null;
|
6843
|
+
type: string;
|
6844
|
+
} | {
|
6845
|
+
id: string;
|
6846
|
+
chainId: number;
|
6847
|
+
type: string;
|
6848
|
+
identifier: string;
|
6849
|
+
name: string;
|
6850
|
+
status: "LIVE" | "PAST" | "SOON";
|
6851
|
+
action: any;
|
6852
|
+
tokens: ({
|
6853
|
+
address: string;
|
6854
|
+
chainId: number;
|
6855
|
+
decimals: number;
|
6856
|
+
icon: string;
|
6857
|
+
id: string;
|
6858
|
+
isNative: boolean;
|
6859
|
+
isTest: boolean;
|
6860
|
+
name: string | null;
|
6861
|
+
symbol: string;
|
6862
|
+
type: import("@package/databases").TokenType;
|
6863
|
+
verified: boolean;
|
6864
|
+
} & {
|
6865
|
+
price?: number | null | undefined;
|
6866
|
+
updatedAt?: number | null | undefined;
|
6867
|
+
isTokenWrapper?: boolean | undefined;
|
6868
|
+
tokenWrapperAddress?: string | undefined;
|
6869
|
+
})[];
|
6753
6870
|
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "fluidvault" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "lnd" | "maha" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "pancake-swap" | "pendle" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
6754
6871
|
description: string;
|
6755
6872
|
howToSteps: string[];
|
@@ -6801,7 +6918,35 @@ declare const app: Elysia<"", {
|
|
6801
6918
|
price: number | null;
|
6802
6919
|
updatedAt: number | null;
|
6803
6920
|
}[];
|
6804
|
-
}
|
6921
|
+
};
|
6922
|
+
422: {
|
6923
|
+
type: "validation";
|
6924
|
+
on: string;
|
6925
|
+
summary?: string | undefined;
|
6926
|
+
message?: string | undefined;
|
6927
|
+
found?: unknown;
|
6928
|
+
property?: string | undefined;
|
6929
|
+
expected?: string | undefined;
|
6930
|
+
};
|
6931
|
+
};
|
6932
|
+
};
|
6933
|
+
};
|
6934
|
+
};
|
6935
|
+
} & {
|
6936
|
+
"dry-run": {
|
6937
|
+
metadata: {
|
6938
|
+
get: {
|
6939
|
+
body: unknown;
|
6940
|
+
params: {};
|
6941
|
+
query: {
|
6942
|
+
distributionChain?: number | undefined;
|
6943
|
+
campaignId: string;
|
6944
|
+
};
|
6945
|
+
headers: {
|
6946
|
+
authorization: string;
|
6947
|
+
};
|
6948
|
+
response: {
|
6949
|
+
200: {
|
6805
6950
|
distributionChain?: ({
|
6806
6951
|
endOfDisputePeriod: number;
|
6807
6952
|
icon: string;
|
@@ -6892,35 +7037,7 @@ declare const app: Elysia<"", {
|
|
6892
7037
|
startTimestamp: number;
|
6893
7038
|
subType: number | null;
|
6894
7039
|
type: string;
|
6895
|
-
}
|
6896
|
-
422: {
|
6897
|
-
type: "validation";
|
6898
|
-
on: string;
|
6899
|
-
summary?: string | undefined;
|
6900
|
-
message?: string | undefined;
|
6901
|
-
found?: unknown;
|
6902
|
-
property?: string | undefined;
|
6903
|
-
expected?: string | undefined;
|
6904
|
-
};
|
6905
|
-
};
|
6906
|
-
};
|
6907
|
-
};
|
6908
|
-
};
|
6909
|
-
} & {
|
6910
|
-
"dry-run": {
|
6911
|
-
metadata: {
|
6912
|
-
get: {
|
6913
|
-
body: unknown;
|
6914
|
-
params: {};
|
6915
|
-
query: {
|
6916
|
-
distributionChain?: number | undefined;
|
6917
|
-
campaignId: string;
|
6918
|
-
};
|
6919
|
-
headers: {
|
6920
|
-
authorization: string;
|
6921
|
-
};
|
6922
|
-
response: {
|
6923
|
-
200: {
|
7040
|
+
} | {
|
6924
7041
|
id: string;
|
6925
7042
|
chainId: number;
|
6926
7043
|
type: string;
|
@@ -6997,97 +7114,6 @@ declare const app: Elysia<"", {
|
|
6997
7114
|
price: number | null;
|
6998
7115
|
updatedAt: number | null;
|
6999
7116
|
}[];
|
7000
|
-
} | {
|
7001
|
-
distributionChain?: ({
|
7002
|
-
endOfDisputePeriod: number;
|
7003
|
-
icon: string;
|
7004
|
-
id: number;
|
7005
|
-
liveCampaigns: number;
|
7006
|
-
name: string;
|
7007
|
-
} & {}) | undefined;
|
7008
|
-
creator?: {
|
7009
|
-
address: string;
|
7010
|
-
tags?: string[] | undefined;
|
7011
|
-
creatorId: string | null;
|
7012
|
-
} | undefined;
|
7013
|
-
Opportunity?: ({
|
7014
|
-
action: import("@package/databases").OpportunityAction;
|
7015
|
-
apr: number;
|
7016
|
-
chainId: number;
|
7017
|
-
dailyRewards: number;
|
7018
|
-
description: string;
|
7019
|
-
howToSteps: string[];
|
7020
|
-
id: string;
|
7021
|
-
identifier: string;
|
7022
|
-
lastCampaignCreatedAt: number;
|
7023
|
-
liveCampaigns: number;
|
7024
|
-
maxApr: number | null;
|
7025
|
-
name: string;
|
7026
|
-
status: import("@package/databases").Status;
|
7027
|
-
tags: string[];
|
7028
|
-
tvl: number;
|
7029
|
-
type: string;
|
7030
|
-
} & {
|
7031
|
-
depositUrl?: string | undefined;
|
7032
|
-
explorerAddress?: string | undefined;
|
7033
|
-
mainProtocolId?: string | undefined;
|
7034
|
-
liveCampaignsForCreator?: number | undefined;
|
7035
|
-
}) | undefined;
|
7036
|
-
dailyRewards?: number | undefined;
|
7037
|
-
apr?: number | undefined;
|
7038
|
-
description?: string | undefined;
|
7039
|
-
childCampaignIds?: string[] | undefined;
|
7040
|
-
rootCampaignId?: string | undefined;
|
7041
|
-
parentCampaignId?: string | undefined;
|
7042
|
-
params: import("@prisma/client/runtime/client").JsonValue & (import("@package/sdk").BaseCampaignParameters | import("@package/sdk").CLAMMLogCampaignParameters | import("@package/sdk").ERC20_SNAPSHOTCampaignParameters | import("@package/sdk").EkuboCampaignParameters | import("@package/sdk").MorphoCampaignParameters<import("@package/sdk").MorphoSubCampaignType> | import("@package/sdk").AaveCampaignParameters | import("@package/sdk").AjnaCampaignParameters | import("@package/sdk").AmbientCampaignParameters | import("@package/sdk").BadgerCampaignParameters | import("@package/sdk").CLAMMCampaignParameters | import("@package/sdk").CompoundCampaignParameters | import("@package/sdk").CompoundV3CampaignParameters | import("@package/sdk").ConvexCampaignParameters | import("@package/sdk").DolomiteCampaignParameters | import("@package/sdk").ERC20CampaignParameters | 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").IonCampaignParameters | 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);
|
7043
|
-
amount: string;
|
7044
|
-
campaignId: string;
|
7045
|
-
campaignStatus: {
|
7046
|
-
computedUntil: number;
|
7047
|
-
details: import("@prisma/client/runtime/client").JsonValue;
|
7048
|
-
error: string;
|
7049
|
-
processingStarted: number;
|
7050
|
-
status: import("@package/databases").RunStatus;
|
7051
|
-
} & {
|
7052
|
-
delay?: number | undefined;
|
7053
|
-
};
|
7054
|
-
chain: {
|
7055
|
-
endOfDisputePeriod: number;
|
7056
|
-
icon: string;
|
7057
|
-
id: number;
|
7058
|
-
liveCampaigns: number;
|
7059
|
-
name: string;
|
7060
|
-
} & {};
|
7061
|
-
computeChainId: number;
|
7062
|
-
createdAt: string;
|
7063
|
-
creatorAddress: string;
|
7064
|
-
distributionChainId: number;
|
7065
|
-
distributionType: import("@package/databases").DistributionType;
|
7066
|
-
endTimestamp: number;
|
7067
|
-
id: string;
|
7068
|
-
opportunityId: string;
|
7069
|
-
rewardToken: {
|
7070
|
-
address: string;
|
7071
|
-
chainId: number;
|
7072
|
-
decimals: number;
|
7073
|
-
icon: string;
|
7074
|
-
id: string;
|
7075
|
-
isNative: boolean;
|
7076
|
-
isTest: boolean;
|
7077
|
-
name: string | null;
|
7078
|
-
symbol: string;
|
7079
|
-
type: import("@package/databases").TokenType;
|
7080
|
-
verified: boolean;
|
7081
|
-
} & {
|
7082
|
-
price?: number | null | undefined;
|
7083
|
-
updatedAt?: number | null | undefined;
|
7084
|
-
isTokenWrapper?: boolean | undefined;
|
7085
|
-
tokenWrapperAddress?: string | undefined;
|
7086
|
-
};
|
7087
|
-
rewardTokenId: string;
|
7088
|
-
startTimestamp: number;
|
7089
|
-
subType: number | null;
|
7090
|
-
type: string;
|
7091
7117
|
};
|
7092
7118
|
422: {
|
7093
7119
|
type: "validation";
|
@@ -7118,83 +7144,6 @@ declare const app: Elysia<"", {
|
|
7118
7144
|
};
|
7119
7145
|
response: {
|
7120
7146
|
200: {
|
7121
|
-
id: string;
|
7122
|
-
chainId: number;
|
7123
|
-
type: string;
|
7124
|
-
identifier: string;
|
7125
|
-
name: string;
|
7126
|
-
status: "LIVE" | "PAST" | "SOON";
|
7127
|
-
action: any;
|
7128
|
-
tokens: ({
|
7129
|
-
address: string;
|
7130
|
-
chainId: number;
|
7131
|
-
decimals: number;
|
7132
|
-
icon: string;
|
7133
|
-
id: string;
|
7134
|
-
isNative: boolean;
|
7135
|
-
isTest: boolean;
|
7136
|
-
name: string | null;
|
7137
|
-
symbol: string;
|
7138
|
-
type: import("@package/databases").TokenType;
|
7139
|
-
verified: boolean;
|
7140
|
-
} & {
|
7141
|
-
price?: number | null | undefined;
|
7142
|
-
updatedAt?: number | null | undefined;
|
7143
|
-
isTokenWrapper?: boolean | undefined;
|
7144
|
-
tokenWrapperAddress?: string | undefined;
|
7145
|
-
})[];
|
7146
|
-
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "fluidvault" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "lnd" | "maha" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "pancake-swap" | "pendle" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
7147
|
-
description: string;
|
7148
|
-
howToSteps: string[];
|
7149
|
-
depositUrl: string | undefined;
|
7150
|
-
explorerAddress: string | undefined;
|
7151
|
-
tags: string[];
|
7152
|
-
} | {
|
7153
|
-
id: string;
|
7154
|
-
chainId: number;
|
7155
|
-
type: string;
|
7156
|
-
identifier: string;
|
7157
|
-
name: string;
|
7158
|
-
description: string;
|
7159
|
-
howToSteps: string[];
|
7160
|
-
depositUrl: string | null;
|
7161
|
-
explorerAddress: string | null;
|
7162
|
-
status: import("@package/databases").Status;
|
7163
|
-
action: import("@package/databases").OpportunityAction;
|
7164
|
-
mainProtocolId: string | null;
|
7165
|
-
tvl: number;
|
7166
|
-
apr: number;
|
7167
|
-
maxApr: number | null;
|
7168
|
-
dailyRewards: number;
|
7169
|
-
tags: string[];
|
7170
|
-
lastCampaignCreatedAt: Date;
|
7171
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
7172
|
-
liveCampaigns: number;
|
7173
|
-
Protocols: {
|
7174
|
-
id: string;
|
7175
|
-
tags: string[];
|
7176
|
-
name: string;
|
7177
|
-
description: string;
|
7178
|
-
url: string;
|
7179
|
-
icon: string;
|
7180
|
-
}[];
|
7181
|
-
Tokens: {
|
7182
|
-
id: string;
|
7183
|
-
name: string | null;
|
7184
|
-
chainId: number;
|
7185
|
-
address: string;
|
7186
|
-
decimals: number;
|
7187
|
-
symbol: string;
|
7188
|
-
displaySymbol: string;
|
7189
|
-
icon: string;
|
7190
|
-
verified: boolean;
|
7191
|
-
isTest: boolean;
|
7192
|
-
type: import("@package/databases").TokenType;
|
7193
|
-
isNative: boolean;
|
7194
|
-
price: number | null;
|
7195
|
-
updatedAt: number | null;
|
7196
|
-
}[];
|
7197
|
-
} | {
|
7198
7147
|
distributionChain?: ({
|
7199
7148
|
endOfDisputePeriod: number;
|
7200
7149
|
icon: string;
|
@@ -7285,6 +7234,83 @@ declare const app: Elysia<"", {
|
|
7285
7234
|
startTimestamp: number;
|
7286
7235
|
subType: number | null;
|
7287
7236
|
type: string;
|
7237
|
+
} | {
|
7238
|
+
id: string;
|
7239
|
+
chainId: number;
|
7240
|
+
type: string;
|
7241
|
+
identifier: string;
|
7242
|
+
name: string;
|
7243
|
+
status: "LIVE" | "PAST" | "SOON";
|
7244
|
+
action: any;
|
7245
|
+
tokens: ({
|
7246
|
+
address: string;
|
7247
|
+
chainId: number;
|
7248
|
+
decimals: number;
|
7249
|
+
icon: string;
|
7250
|
+
id: string;
|
7251
|
+
isNative: boolean;
|
7252
|
+
isTest: boolean;
|
7253
|
+
name: string | null;
|
7254
|
+
symbol: string;
|
7255
|
+
type: import("@package/databases").TokenType;
|
7256
|
+
verified: boolean;
|
7257
|
+
} & {
|
7258
|
+
price?: number | null | undefined;
|
7259
|
+
updatedAt?: number | null | undefined;
|
7260
|
+
isTokenWrapper?: boolean | undefined;
|
7261
|
+
tokenWrapperAddress?: string | undefined;
|
7262
|
+
})[];
|
7263
|
+
mainProtocol: "aave" | "aerodrome" | "ajna" | "akron" | "ambient" | "angles" | "arrakis" | "arthswap" | "aura" | "avalon" | "badger" | "balancer" | "base-swap" | "beefy" | "beraborrow" | "beratrax" | "bunni" | "camelot" | "cian" | "compound" | "concrete" | "cross_curve" | "crust" | "curve" | "curveNPool" | "dlend" | "dolomite" | "dragonswap" | "eigenlayer" | "ekubo" | "enzyme" | "equalizer" | "equilibria" | "euler" | "fenix" | "filament" | "fluid" | "fluidvault" | "frax" | "fraxlend" | "gamma" | "gammaswap" | "gearbox" | "hanji" | "holdstation" | "horiza" | "hourglass" | "hybra-pair" | "hyperdrive" | "hypurrfi" | "ichi" | "iguana" | "ion" | "ionic" | "ironclad" | "izumi" | "katana" | "kim" | "koi" | "kyo" | "lagoon" | "layerbank" | "lendle" | "lnd" | "maha" | "maverick" | "mimswap" | "moonwell" | "morpho" | "neptune" | "oku" | "pancake-swap" | "pendle" | "pinto" | "poolside" | "puffer" | "punchswap" | "quickswap" | "ra" | "radiant" | "ramses" | "reactor_fusion" | "reserve" | "retro" | "rfx" | "sake" | "satlayer" | "satoshi" | "silo" | "sonex" | "sonicmarket" | "spectra" | "splice" | "stability" | "stabull" | "stryke" | "sturdy" | "summerfinance" | "superlend" | "supswap" | "sushi-swap" | "swap-x" | "swapr" | "syncswap" | "tako-tako" | "teller" | "tempest" | "termmax" | "thirdtrade" | "thruster" | "toros" | "trader-joe" | "uniswap" | "uranium" | "veda" | "velodrome" | "venus" | "vest" | "vicuna" | "voltage" | "woofi" | "xlend" | "yei" | "zero" | "zerolend" | "zk-swap" | "zkSwapThreePool" | undefined;
|
7264
|
+
description: string;
|
7265
|
+
howToSteps: string[];
|
7266
|
+
depositUrl: string | undefined;
|
7267
|
+
explorerAddress: string | undefined;
|
7268
|
+
tags: string[];
|
7269
|
+
} | {
|
7270
|
+
id: string;
|
7271
|
+
chainId: number;
|
7272
|
+
type: string;
|
7273
|
+
identifier: string;
|
7274
|
+
name: string;
|
7275
|
+
description: string;
|
7276
|
+
howToSteps: string[];
|
7277
|
+
depositUrl: string | null;
|
7278
|
+
explorerAddress: string | null;
|
7279
|
+
status: import("@package/databases").Status;
|
7280
|
+
action: import("@package/databases").OpportunityAction;
|
7281
|
+
mainProtocolId: string | null;
|
7282
|
+
tvl: number;
|
7283
|
+
apr: number;
|
7284
|
+
maxApr: number | null;
|
7285
|
+
dailyRewards: number;
|
7286
|
+
tags: string[];
|
7287
|
+
lastCampaignCreatedAt: Date;
|
7288
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
7289
|
+
liveCampaigns: number;
|
7290
|
+
Protocols: {
|
7291
|
+
id: string;
|
7292
|
+
tags: string[];
|
7293
|
+
name: string;
|
7294
|
+
description: string;
|
7295
|
+
url: string;
|
7296
|
+
icon: string;
|
7297
|
+
}[];
|
7298
|
+
Tokens: {
|
7299
|
+
id: string;
|
7300
|
+
name: string | null;
|
7301
|
+
chainId: number;
|
7302
|
+
address: string;
|
7303
|
+
decimals: number;
|
7304
|
+
symbol: string;
|
7305
|
+
displaySymbol: string;
|
7306
|
+
icon: string;
|
7307
|
+
verified: boolean;
|
7308
|
+
isTest: boolean;
|
7309
|
+
type: import("@package/databases").TokenType;
|
7310
|
+
isNative: boolean;
|
7311
|
+
price: number | null;
|
7312
|
+
updatedAt: number | null;
|
7313
|
+
}[];
|
7288
7314
|
};
|
7289
7315
|
422: {
|
7290
7316
|
type: "validation";
|