@merkl/api 1.3.50 → 1.3.51
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/engine/deprecated/erc20SubTypeProcessors/helpers/hardcoded.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/factories.js.map +1 -1
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/engineTVL/tvl.d.ts +6 -0
- package/dist/src/engine/implementations/Erc20/subTypes/implementations/engineTVL/tvl.js.map +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +1 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.js.map +1 -1
- package/dist/src/engine/tvl/engineTvl.service.js.map +1 -1
- package/dist/src/index.d.ts +285 -285
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +184 -184
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +21 -21
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +1 -1
- package/dist/src/modules/v4/router.d.ts +285 -285
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
@@ -4072,6 +4072,83 @@ declare const app: Elysia<"", {
|
|
4072
4072
|
};
|
4073
4073
|
response: {
|
4074
4074
|
200: {
|
4075
|
+
id: string;
|
4076
|
+
chainId: number;
|
4077
|
+
type: string;
|
4078
|
+
identifier: string;
|
4079
|
+
name: string;
|
4080
|
+
status: "LIVE" | "PAST" | "SOON";
|
4081
|
+
action: any;
|
4082
|
+
tokens: ({
|
4083
|
+
address: string;
|
4084
|
+
chainId: number;
|
4085
|
+
decimals: number;
|
4086
|
+
icon: string;
|
4087
|
+
id: string;
|
4088
|
+
isNative: boolean;
|
4089
|
+
isTest: boolean;
|
4090
|
+
name: string | null;
|
4091
|
+
symbol: string;
|
4092
|
+
type: import("@package/databases").TokenType;
|
4093
|
+
verified: boolean;
|
4094
|
+
} & {
|
4095
|
+
price?: number | null | undefined;
|
4096
|
+
updatedAt?: number | null | undefined;
|
4097
|
+
isTokenWrapper?: boolean | undefined;
|
4098
|
+
tokenWrapperAddress?: string | undefined;
|
4099
|
+
})[];
|
4100
|
+
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;
|
4101
|
+
description: string;
|
4102
|
+
howToSteps: string[];
|
4103
|
+
depositUrl: string | undefined;
|
4104
|
+
explorerAddress: string | undefined;
|
4105
|
+
tags: string[];
|
4106
|
+
} | {
|
4107
|
+
id: string;
|
4108
|
+
chainId: number;
|
4109
|
+
type: string;
|
4110
|
+
identifier: string;
|
4111
|
+
name: string;
|
4112
|
+
description: string;
|
4113
|
+
howToSteps: string[];
|
4114
|
+
depositUrl: string | null;
|
4115
|
+
explorerAddress: string | null;
|
4116
|
+
status: import("@package/databases").Status;
|
4117
|
+
action: import("@package/databases").OpportunityAction;
|
4118
|
+
mainProtocolId: string | null;
|
4119
|
+
tvl: number;
|
4120
|
+
apr: number;
|
4121
|
+
maxApr: number | null;
|
4122
|
+
dailyRewards: number;
|
4123
|
+
tags: string[];
|
4124
|
+
lastCampaignCreatedAt: Date;
|
4125
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
4126
|
+
liveCampaigns: number;
|
4127
|
+
Protocols: {
|
4128
|
+
id: string;
|
4129
|
+
tags: string[];
|
4130
|
+
name: string;
|
4131
|
+
description: string;
|
4132
|
+
url: string;
|
4133
|
+
icon: string;
|
4134
|
+
}[];
|
4135
|
+
Tokens: {
|
4136
|
+
id: string;
|
4137
|
+
name: string | null;
|
4138
|
+
chainId: number;
|
4139
|
+
address: string;
|
4140
|
+
decimals: number;
|
4141
|
+
symbol: string;
|
4142
|
+
displaySymbol: string;
|
4143
|
+
icon: string;
|
4144
|
+
verified: boolean;
|
4145
|
+
isTest: boolean;
|
4146
|
+
type: import("@package/databases").TokenType;
|
4147
|
+
isNative: boolean;
|
4148
|
+
price: number | null;
|
4149
|
+
updatedAt: number | null;
|
4150
|
+
}[];
|
4151
|
+
} | {
|
4075
4152
|
distributionChain?: ({
|
4076
4153
|
endOfDisputePeriod: number;
|
4077
4154
|
icon: string;
|
@@ -4162,83 +4239,6 @@ declare const app: Elysia<"", {
|
|
4162
4239
|
startTimestamp: number;
|
4163
4240
|
subType: number | null;
|
4164
4241
|
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
|
-
}[];
|
4242
4242
|
};
|
4243
4243
|
422: {
|
4244
4244
|
type: "validation";
|
@@ -6751,6 +6751,83 @@ declare const app: Elysia<"", {
|
|
6751
6751
|
};
|
6752
6752
|
response: {
|
6753
6753
|
200: {
|
6754
|
+
id: string;
|
6755
|
+
chainId: number;
|
6756
|
+
type: string;
|
6757
|
+
identifier: string;
|
6758
|
+
name: string;
|
6759
|
+
status: "LIVE" | "PAST" | "SOON";
|
6760
|
+
action: any;
|
6761
|
+
tokens: ({
|
6762
|
+
address: string;
|
6763
|
+
chainId: number;
|
6764
|
+
decimals: number;
|
6765
|
+
icon: string;
|
6766
|
+
id: string;
|
6767
|
+
isNative: boolean;
|
6768
|
+
isTest: boolean;
|
6769
|
+
name: string | null;
|
6770
|
+
symbol: string;
|
6771
|
+
type: import("@package/databases").TokenType;
|
6772
|
+
verified: boolean;
|
6773
|
+
} & {
|
6774
|
+
price?: number | null | undefined;
|
6775
|
+
updatedAt?: number | null | undefined;
|
6776
|
+
isTokenWrapper?: boolean | undefined;
|
6777
|
+
tokenWrapperAddress?: string | undefined;
|
6778
|
+
})[];
|
6779
|
+
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;
|
6780
|
+
description: string;
|
6781
|
+
howToSteps: string[];
|
6782
|
+
depositUrl: string | undefined;
|
6783
|
+
explorerAddress: string | undefined;
|
6784
|
+
tags: string[];
|
6785
|
+
} | {
|
6786
|
+
id: string;
|
6787
|
+
chainId: number;
|
6788
|
+
type: string;
|
6789
|
+
identifier: string;
|
6790
|
+
name: string;
|
6791
|
+
description: string;
|
6792
|
+
howToSteps: string[];
|
6793
|
+
depositUrl: string | null;
|
6794
|
+
explorerAddress: string | null;
|
6795
|
+
status: import("@package/databases").Status;
|
6796
|
+
action: import("@package/databases").OpportunityAction;
|
6797
|
+
mainProtocolId: string | null;
|
6798
|
+
tvl: number;
|
6799
|
+
apr: number;
|
6800
|
+
maxApr: number | null;
|
6801
|
+
dailyRewards: number;
|
6802
|
+
tags: string[];
|
6803
|
+
lastCampaignCreatedAt: Date;
|
6804
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
6805
|
+
liveCampaigns: number;
|
6806
|
+
Protocols: {
|
6807
|
+
id: string;
|
6808
|
+
tags: string[];
|
6809
|
+
name: string;
|
6810
|
+
description: string;
|
6811
|
+
url: string;
|
6812
|
+
icon: string;
|
6813
|
+
}[];
|
6814
|
+
Tokens: {
|
6815
|
+
id: string;
|
6816
|
+
name: string | null;
|
6817
|
+
chainId: number;
|
6818
|
+
address: string;
|
6819
|
+
decimals: number;
|
6820
|
+
symbol: string;
|
6821
|
+
displaySymbol: string;
|
6822
|
+
icon: string;
|
6823
|
+
verified: boolean;
|
6824
|
+
isTest: boolean;
|
6825
|
+
type: import("@package/databases").TokenType;
|
6826
|
+
isNative: boolean;
|
6827
|
+
price: number | null;
|
6828
|
+
updatedAt: number | null;
|
6829
|
+
}[];
|
6830
|
+
} | {
|
6754
6831
|
distributionChain?: ({
|
6755
6832
|
endOfDisputePeriod: number;
|
6756
6833
|
icon: string;
|
@@ -6841,31 +6918,59 @@ declare const app: Elysia<"", {
|
|
6841
6918
|
startTimestamp: number;
|
6842
6919
|
subType: number | null;
|
6843
6920
|
type: string;
|
6844
|
-
}
|
6845
|
-
|
6846
|
-
|
6847
|
-
|
6848
|
-
|
6849
|
-
|
6850
|
-
|
6851
|
-
|
6852
|
-
|
6853
|
-
|
6854
|
-
|
6855
|
-
|
6856
|
-
|
6857
|
-
|
6858
|
-
|
6859
|
-
|
6860
|
-
|
6861
|
-
|
6862
|
-
|
6863
|
-
|
6864
|
-
|
6865
|
-
|
6866
|
-
|
6867
|
-
|
6868
|
-
|
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: {
|
6950
|
+
id: string;
|
6951
|
+
chainId: number;
|
6952
|
+
type: string;
|
6953
|
+
identifier: string;
|
6954
|
+
name: string;
|
6955
|
+
status: "LIVE" | "PAST" | "SOON";
|
6956
|
+
action: any;
|
6957
|
+
tokens: ({
|
6958
|
+
address: string;
|
6959
|
+
chainId: number;
|
6960
|
+
decimals: number;
|
6961
|
+
icon: string;
|
6962
|
+
id: string;
|
6963
|
+
isNative: boolean;
|
6964
|
+
isTest: boolean;
|
6965
|
+
name: string | null;
|
6966
|
+
symbol: string;
|
6967
|
+
type: import("@package/databases").TokenType;
|
6968
|
+
verified: boolean;
|
6969
|
+
} & {
|
6970
|
+
price?: number | null | undefined;
|
6971
|
+
updatedAt?: number | null | undefined;
|
6972
|
+
isTokenWrapper?: boolean | undefined;
|
6973
|
+
tokenWrapperAddress?: string | undefined;
|
6869
6974
|
})[];
|
6870
6975
|
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;
|
6871
6976
|
description: string;
|
@@ -6918,35 +7023,7 @@ declare const app: Elysia<"", {
|
|
6918
7023
|
price: number | null;
|
6919
7024
|
updatedAt: number | null;
|
6920
7025
|
}[];
|
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: {
|
7026
|
+
} | {
|
6950
7027
|
distributionChain?: ({
|
6951
7028
|
endOfDisputePeriod: number;
|
6952
7029
|
icon: string;
|
@@ -7037,83 +7114,6 @@ declare const app: Elysia<"", {
|
|
7037
7114
|
startTimestamp: number;
|
7038
7115
|
subType: number | null;
|
7039
7116
|
type: string;
|
7040
|
-
} | {
|
7041
|
-
id: string;
|
7042
|
-
chainId: number;
|
7043
|
-
type: string;
|
7044
|
-
identifier: string;
|
7045
|
-
name: string;
|
7046
|
-
status: "LIVE" | "PAST" | "SOON";
|
7047
|
-
action: any;
|
7048
|
-
tokens: ({
|
7049
|
-
address: string;
|
7050
|
-
chainId: number;
|
7051
|
-
decimals: number;
|
7052
|
-
icon: string;
|
7053
|
-
id: string;
|
7054
|
-
isNative: boolean;
|
7055
|
-
isTest: boolean;
|
7056
|
-
name: string | null;
|
7057
|
-
symbol: string;
|
7058
|
-
type: import("@package/databases").TokenType;
|
7059
|
-
verified: boolean;
|
7060
|
-
} & {
|
7061
|
-
price?: number | null | undefined;
|
7062
|
-
updatedAt?: number | null | undefined;
|
7063
|
-
isTokenWrapper?: boolean | undefined;
|
7064
|
-
tokenWrapperAddress?: string | undefined;
|
7065
|
-
})[];
|
7066
|
-
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;
|
7067
|
-
description: string;
|
7068
|
-
howToSteps: string[];
|
7069
|
-
depositUrl: string | undefined;
|
7070
|
-
explorerAddress: string | undefined;
|
7071
|
-
tags: string[];
|
7072
|
-
} | {
|
7073
|
-
id: string;
|
7074
|
-
chainId: number;
|
7075
|
-
type: string;
|
7076
|
-
identifier: string;
|
7077
|
-
name: string;
|
7078
|
-
description: string;
|
7079
|
-
howToSteps: string[];
|
7080
|
-
depositUrl: string | null;
|
7081
|
-
explorerAddress: string | null;
|
7082
|
-
status: import("@package/databases").Status;
|
7083
|
-
action: import("@package/databases").OpportunityAction;
|
7084
|
-
mainProtocolId: string | null;
|
7085
|
-
tvl: number;
|
7086
|
-
apr: number;
|
7087
|
-
maxApr: number | null;
|
7088
|
-
dailyRewards: number;
|
7089
|
-
tags: string[];
|
7090
|
-
lastCampaignCreatedAt: Date;
|
7091
|
-
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
7092
|
-
liveCampaigns: number;
|
7093
|
-
Protocols: {
|
7094
|
-
id: string;
|
7095
|
-
tags: string[];
|
7096
|
-
name: string;
|
7097
|
-
description: string;
|
7098
|
-
url: string;
|
7099
|
-
icon: string;
|
7100
|
-
}[];
|
7101
|
-
Tokens: {
|
7102
|
-
id: string;
|
7103
|
-
name: string | null;
|
7104
|
-
chainId: number;
|
7105
|
-
address: string;
|
7106
|
-
decimals: number;
|
7107
|
-
symbol: string;
|
7108
|
-
displaySymbol: string;
|
7109
|
-
icon: string;
|
7110
|
-
verified: boolean;
|
7111
|
-
isTest: boolean;
|
7112
|
-
type: import("@package/databases").TokenType;
|
7113
|
-
isNative: boolean;
|
7114
|
-
price: number | null;
|
7115
|
-
updatedAt: number | null;
|
7116
|
-
}[];
|
7117
7117
|
};
|
7118
7118
|
422: {
|
7119
7119
|
type: "validation";
|
@@ -7144,6 +7144,83 @@ declare const app: Elysia<"", {
|
|
7144
7144
|
};
|
7145
7145
|
response: {
|
7146
7146
|
200: {
|
7147
|
+
id: string;
|
7148
|
+
chainId: number;
|
7149
|
+
type: string;
|
7150
|
+
identifier: string;
|
7151
|
+
name: string;
|
7152
|
+
status: "LIVE" | "PAST" | "SOON";
|
7153
|
+
action: any;
|
7154
|
+
tokens: ({
|
7155
|
+
address: string;
|
7156
|
+
chainId: number;
|
7157
|
+
decimals: number;
|
7158
|
+
icon: string;
|
7159
|
+
id: string;
|
7160
|
+
isNative: boolean;
|
7161
|
+
isTest: boolean;
|
7162
|
+
name: string | null;
|
7163
|
+
symbol: string;
|
7164
|
+
type: import("@package/databases").TokenType;
|
7165
|
+
verified: boolean;
|
7166
|
+
} & {
|
7167
|
+
price?: number | null | undefined;
|
7168
|
+
updatedAt?: number | null | undefined;
|
7169
|
+
isTokenWrapper?: boolean | undefined;
|
7170
|
+
tokenWrapperAddress?: string | undefined;
|
7171
|
+
})[];
|
7172
|
+
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;
|
7173
|
+
description: string;
|
7174
|
+
howToSteps: string[];
|
7175
|
+
depositUrl: string | undefined;
|
7176
|
+
explorerAddress: string | undefined;
|
7177
|
+
tags: string[];
|
7178
|
+
} | {
|
7179
|
+
id: string;
|
7180
|
+
chainId: number;
|
7181
|
+
type: string;
|
7182
|
+
identifier: string;
|
7183
|
+
name: string;
|
7184
|
+
description: string;
|
7185
|
+
howToSteps: string[];
|
7186
|
+
depositUrl: string | null;
|
7187
|
+
explorerAddress: string | null;
|
7188
|
+
status: import("@package/databases").Status;
|
7189
|
+
action: import("@package/databases").OpportunityAction;
|
7190
|
+
mainProtocolId: string | null;
|
7191
|
+
tvl: number;
|
7192
|
+
apr: number;
|
7193
|
+
maxApr: number | null;
|
7194
|
+
dailyRewards: number;
|
7195
|
+
tags: string[];
|
7196
|
+
lastCampaignCreatedAt: Date;
|
7197
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
7198
|
+
liveCampaigns: number;
|
7199
|
+
Protocols: {
|
7200
|
+
id: string;
|
7201
|
+
tags: string[];
|
7202
|
+
name: string;
|
7203
|
+
description: string;
|
7204
|
+
url: string;
|
7205
|
+
icon: string;
|
7206
|
+
}[];
|
7207
|
+
Tokens: {
|
7208
|
+
id: string;
|
7209
|
+
name: string | null;
|
7210
|
+
chainId: number;
|
7211
|
+
address: string;
|
7212
|
+
decimals: number;
|
7213
|
+
symbol: string;
|
7214
|
+
displaySymbol: string;
|
7215
|
+
icon: string;
|
7216
|
+
verified: boolean;
|
7217
|
+
isTest: boolean;
|
7218
|
+
type: import("@package/databases").TokenType;
|
7219
|
+
isNative: boolean;
|
7220
|
+
price: number | null;
|
7221
|
+
updatedAt: number | null;
|
7222
|
+
}[];
|
7223
|
+
} | {
|
7147
7224
|
distributionChain?: ({
|
7148
7225
|
endOfDisputePeriod: number;
|
7149
7226
|
icon: string;
|
@@ -7234,83 +7311,6 @@ declare const app: Elysia<"", {
|
|
7234
7311
|
startTimestamp: number;
|
7235
7312
|
subType: number | null;
|
7236
7313
|
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
|
-
}[];
|
7314
7314
|
};
|
7315
7315
|
422: {
|
7316
7316
|
type: "validation";
|