@merkl/api 0.21.23 → 0.21.25
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 +36 -36
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/processorMapping.js +2 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/subtypesRound1.js +4 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/tokenTypeToProtocolAndAction.js +2 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -0
- package/dist/src/engine/implementations/Erc20/subTypes/index.js +2 -0
- package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +2 -2
- package/dist/src/index.d.ts +12 -12
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +2 -2
- package/dist/src/modules/v4/chain/chain.model.d.ts +1 -1
- package/dist/src/modules/v4/chain/chain.model.js +1 -4
- package/dist/src/modules/v4/claims/claims.controller.d.ts +1 -1
- package/dist/src/modules/v4/claims/claims.controller.js +4 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -3
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +132 -9
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +215 -50
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
- package/dist/src/modules/v4/reward/reward.controller.d.ts +3 -3
- package/dist/src/modules/v4/reward/reward.controller.js +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +1 -8
- package/dist/src/modules/v4/reward/reward.model.js +1 -13
- package/dist/src/modules/v4/router.d.ts +11 -11
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.js +8 -11
- package/dist/src/modules/v4/user/user.model.d.ts +2 -2
- package/dist/src/modules/v4/user/user.model.js +2 -8
- package/dist/src/routes/v3/campaigns.d.ts +1 -1
- package/dist/src/routes/v3/router.d.ts +1 -1
- package/dist/src/utils/decodeCalls.js +2 -0
- package/dist/src/utils/encodeCalls.js +2 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -20,7 +20,6 @@ export var program;
|
|
20
20
|
program["WorldChain"] = "WorldChain";
|
21
21
|
program["StableJack"] = "StableJack";
|
22
22
|
program["Corn"] = "Corn";
|
23
|
-
program["Superlend"] = "Superlend";
|
24
23
|
})(program || (program = {}));
|
25
24
|
export var roninCampaigns;
|
26
25
|
(function (roninCampaigns) {
|
@@ -55,6 +54,11 @@ export var etherlinkCampaigns;
|
|
55
54
|
etherlinkCampaigns["Superlend_Supply_WXTZ_Etherlink"] = "Superlend Supply WXTZ Etherlink 0x008ae222661B6A42e3A097bd7AAC15412829106b";
|
56
55
|
etherlinkCampaigns["Superlend_Supply_mTBILL_Etherlink"] = "Superlend Supply mTBILL Etherlink 0x187B7b83e8CaB442AD0BFEAe38067f3eb38a2d72";
|
57
56
|
etherlinkCampaigns["Superlend_Supply_mBASIS_Etherlink"] = "Superlend Supply mBASIS Etherlink 0x660ADeF5993167ACdb490DF287f4Db6Cc226fFeB";
|
57
|
+
etherlinkCampaigns["Superlend_Net_Supply_USDC_Etherlink"] = "Superlend net Supply USDC Etherlink 0xd03bfdF9B26DB1e6764724d914d7c3d18106a9Fb-0x904A51d7b418d8D5f3739e421A6eD532d653f625";
|
58
|
+
etherlinkCampaigns["Superlend_Net_Supply_USDT_Etherlink"] = "Superlend net Supply USDT Etherlink 0x998098A1B2E95e2b8f15360676428EdFd976861f-0xF9279419830016C87Be66617E6c5ea42A7204460";
|
59
|
+
etherlinkCampaigns["Superlend_Net_Supply_WBTC_Etherlink"] = "Superlend net Supply WBTC Etherlink 0xfCA0802cb10b3b134a91e07f03965f63eF4B23eA-0x87C4D41c0982F335E8eB6BE30fD2Ae91A6de31FB";
|
60
|
+
etherlinkCampaigns["Superlend_Net_Supply_WETH_Etherlink"] = "Superlend net Supply WETH Etherlink 0x301bea8B7c0eF6722c937C07Da4d53931F61969c-0x2Bc84b1F1E1b89521de08C966bE1ca498F97a493";
|
61
|
+
etherlinkCampaigns["Superlend_Net_Supply_WXTZ_Etherlink"] = "Superlend net Supply WXTZ Etherlink 0x008ae222661B6A42e3A097bd7AAC15412829106b-0x1504D006b80b1616d2651E8d15D5d25A88efef58";
|
58
62
|
etherlinkCampaigns["Iguana_WETH_WXTZ"] = "Iguana WETH/WXTZ Etherlink 0x478F067b0Ed73d120BBcd8c6f4f33438FC483912";
|
59
63
|
etherlinkCampaigns["Iguana_USDC_USDT"] = "Iguana USDC/USDT Etherlink 0x86456e2E2A203Da82E61ed34eF4137Fbe545f0DC";
|
60
64
|
etherlinkCampaigns["Iguana_XTZ_USDC"] = "Iguana XTZ/USDT Etherlink 0x508060A01f11d6a2Eb774B55aEba95931265E0cc";
|
@@ -540,10 +544,6 @@ export var modeCampaigns;
|
|
540
544
|
modeCampaigns["Bedrock_Ionic_Supply_ionuniBTC_Mode"] = "Bedrock Ionic Supply uniBTC 0xa48750877a83f7dec11f722178c317b54a44d142";
|
541
545
|
modeCampaigns["Bedrock_Ironclad_Supply_uniBTC_Mode"] = "Bedrock Ironclad Supply uniBTC 0x0F041cf2ae959f39215EFfB50d681Df55D4d90B1";
|
542
546
|
})(modeCampaigns || (modeCampaigns = {}));
|
543
|
-
export var superlendCampaigns;
|
544
|
-
(function (superlendCampaigns) {
|
545
|
-
superlendCampaigns["Superlend_NET_USDC_SUPPLY"] = "Superlend net USDC supply on Etherlink";
|
546
|
-
})(superlendCampaigns || (superlendCampaigns = {}));
|
547
547
|
const RoninInterfaceCampaigns = {
|
548
548
|
[roninCampaigns.Katana_WETH_RON_Ronin]: {
|
549
549
|
campaignType: Campaign.CLAMM,
|
@@ -894,6 +894,216 @@ const EtherlinkInterfaceCampaigns = {
|
|
894
894
|
url: "https://markets.superlend.xyz/reserve-overview/?underlyingAsset=0xdd629e5241cbc5919847783e6c96b2de4754e438&marketName=etherlink",
|
895
895
|
forwarders: [],
|
896
896
|
},
|
897
|
+
[etherlinkCampaigns.Superlend_Net_Supply_USDC_Etherlink]: {
|
898
|
+
campaignType: Campaign.MULTILOG_DUTCH,
|
899
|
+
computeScoreParameters: {
|
900
|
+
computeMethod: ComputeScoreMethod.genericTimeWeighted,
|
901
|
+
},
|
902
|
+
whitelist: [],
|
903
|
+
blacklist: [],
|
904
|
+
hooks: [],
|
905
|
+
composedCampaigns: [
|
906
|
+
{
|
907
|
+
composedIndex: 1,
|
908
|
+
composedType: ComposedType.MAIN,
|
909
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
910
|
+
targetToken: "0xd03bfdF9B26DB1e6764724d914d7c3d18106a9Fb",
|
911
|
+
computeChainId: ChainId.ETHERLINK,
|
912
|
+
computeScoreParameters: {
|
913
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
914
|
+
},
|
915
|
+
composedMultiplier: "1011950000",
|
916
|
+
whitelist: [],
|
917
|
+
blacklist: [],
|
918
|
+
forwarders: [],
|
919
|
+
hooks: [],
|
920
|
+
},
|
921
|
+
{
|
922
|
+
composedIndex: 2,
|
923
|
+
composedType: ComposedType.DEFAULT,
|
924
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
925
|
+
targetToken: "0x904A51d7b418d8D5f3739e421A6eD532d653f625",
|
926
|
+
computeChainId: ChainId.ETHERLINK,
|
927
|
+
computeScoreParameters: {
|
928
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
929
|
+
},
|
930
|
+
composedMultiplier: "1023000000",
|
931
|
+
whitelist: [],
|
932
|
+
blacklist: [],
|
933
|
+
forwarders: [],
|
934
|
+
hooks: [],
|
935
|
+
},
|
936
|
+
],
|
937
|
+
composedCampaignsCompute: "1-2",
|
938
|
+
},
|
939
|
+
[etherlinkCampaigns.Superlend_Net_Supply_USDT_Etherlink]: {
|
940
|
+
campaignType: Campaign.MULTILOG_DUTCH,
|
941
|
+
computeScoreParameters: {
|
942
|
+
computeMethod: ComputeScoreMethod.genericTimeWeighted,
|
943
|
+
},
|
944
|
+
whitelist: [],
|
945
|
+
blacklist: [],
|
946
|
+
hooks: [],
|
947
|
+
composedCampaigns: [
|
948
|
+
{
|
949
|
+
composedIndex: 1,
|
950
|
+
composedType: ComposedType.MAIN,
|
951
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
952
|
+
targetToken: "0x998098A1B2E95e2b8f15360676428EdFd976861f",
|
953
|
+
computeChainId: ChainId.ETHERLINK,
|
954
|
+
computeScoreParameters: {
|
955
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
956
|
+
},
|
957
|
+
composedMultiplier: "1015690000",
|
958
|
+
whitelist: [],
|
959
|
+
blacklist: [],
|
960
|
+
forwarders: [],
|
961
|
+
hooks: [],
|
962
|
+
},
|
963
|
+
{
|
964
|
+
composedIndex: 2,
|
965
|
+
composedType: ComposedType.DEFAULT,
|
966
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
967
|
+
targetToken: "0xF9279419830016C87Be66617E6c5ea42A7204460",
|
968
|
+
computeChainId: ChainId.ETHERLINK,
|
969
|
+
computeScoreParameters: {
|
970
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
971
|
+
},
|
972
|
+
composedMultiplier: "1028250000",
|
973
|
+
whitelist: [],
|
974
|
+
blacklist: [],
|
975
|
+
forwarders: [],
|
976
|
+
hooks: [],
|
977
|
+
},
|
978
|
+
],
|
979
|
+
composedCampaignsCompute: "1-2",
|
980
|
+
},
|
981
|
+
[etherlinkCampaigns.Superlend_Net_Supply_WBTC_Etherlink]: {
|
982
|
+
campaignType: Campaign.MULTILOG_DUTCH,
|
983
|
+
computeScoreParameters: {
|
984
|
+
computeMethod: ComputeScoreMethod.genericTimeWeighted,
|
985
|
+
},
|
986
|
+
whitelist: [],
|
987
|
+
blacklist: [],
|
988
|
+
hooks: [],
|
989
|
+
composedCampaigns: [
|
990
|
+
{
|
991
|
+
composedIndex: 1,
|
992
|
+
composedType: ComposedType.MAIN,
|
993
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
994
|
+
targetToken: "0xfCA0802cb10b3b134a91e07f03965f63eF4B23eA",
|
995
|
+
computeChainId: ChainId.ETHERLINK,
|
996
|
+
computeScoreParameters: {
|
997
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
998
|
+
},
|
999
|
+
composedMultiplier: "1003080000",
|
1000
|
+
whitelist: [],
|
1001
|
+
blacklist: [],
|
1002
|
+
forwarders: [],
|
1003
|
+
hooks: [],
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
composedIndex: 2,
|
1007
|
+
composedType: ComposedType.DEFAULT,
|
1008
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
1009
|
+
targetToken: "0x87C4D41c0982F335E8eB6BE30fD2Ae91A6de31FB",
|
1010
|
+
computeChainId: ChainId.ETHERLINK,
|
1011
|
+
computeScoreParameters: {
|
1012
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
1013
|
+
},
|
1014
|
+
composedMultiplier: "1010120000",
|
1015
|
+
whitelist: [],
|
1016
|
+
blacklist: [],
|
1017
|
+
forwarders: [],
|
1018
|
+
hooks: [],
|
1019
|
+
},
|
1020
|
+
],
|
1021
|
+
composedCampaignsCompute: "1-2",
|
1022
|
+
},
|
1023
|
+
[etherlinkCampaigns.Superlend_Net_Supply_WETH_Etherlink]: {
|
1024
|
+
campaignType: Campaign.MULTILOG_DUTCH,
|
1025
|
+
computeScoreParameters: {
|
1026
|
+
computeMethod: ComputeScoreMethod.genericTimeWeighted,
|
1027
|
+
},
|
1028
|
+
whitelist: [],
|
1029
|
+
blacklist: [],
|
1030
|
+
hooks: [],
|
1031
|
+
composedCampaigns: [
|
1032
|
+
{
|
1033
|
+
composedIndex: 1,
|
1034
|
+
composedType: ComposedType.MAIN,
|
1035
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
1036
|
+
targetToken: "0x301bea8B7c0eF6722c937C07Da4d53931F61969c",
|
1037
|
+
computeChainId: ChainId.ETHERLINK,
|
1038
|
+
computeScoreParameters: {
|
1039
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
1040
|
+
},
|
1041
|
+
composedMultiplier: "1002460000",
|
1042
|
+
whitelist: [],
|
1043
|
+
blacklist: [],
|
1044
|
+
forwarders: [],
|
1045
|
+
hooks: [],
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
composedIndex: 2,
|
1049
|
+
composedType: ComposedType.DEFAULT,
|
1050
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
1051
|
+
targetToken: "0x2Bc84b1F1E1b89521de08C966bE1ca498F97a493",
|
1052
|
+
computeChainId: ChainId.ETHERLINK,
|
1053
|
+
computeScoreParameters: {
|
1054
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
1055
|
+
},
|
1056
|
+
composedMultiplier: "1005620000",
|
1057
|
+
whitelist: [],
|
1058
|
+
blacklist: [],
|
1059
|
+
forwarders: [],
|
1060
|
+
hooks: [],
|
1061
|
+
},
|
1062
|
+
],
|
1063
|
+
composedCampaignsCompute: "1-2",
|
1064
|
+
},
|
1065
|
+
[etherlinkCampaigns.Superlend_Net_Supply_WXTZ_Etherlink]: {
|
1066
|
+
campaignType: Campaign.MULTILOG_DUTCH,
|
1067
|
+
computeScoreParameters: {
|
1068
|
+
computeMethod: ComputeScoreMethod.genericTimeWeighted,
|
1069
|
+
},
|
1070
|
+
whitelist: [],
|
1071
|
+
blacklist: [],
|
1072
|
+
hooks: [],
|
1073
|
+
composedCampaigns: [
|
1074
|
+
{
|
1075
|
+
composedIndex: 1,
|
1076
|
+
composedType: ComposedType.MAIN,
|
1077
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
1078
|
+
targetToken: "0x008ae222661B6A42e3A097bd7AAC15412829106b",
|
1079
|
+
computeChainId: ChainId.ETHERLINK,
|
1080
|
+
computeScoreParameters: {
|
1081
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
1082
|
+
},
|
1083
|
+
composedMultiplier: "1004630000",
|
1084
|
+
whitelist: [],
|
1085
|
+
blacklist: [],
|
1086
|
+
forwarders: [],
|
1087
|
+
hooks: [],
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
composedIndex: 2,
|
1091
|
+
composedType: ComposedType.DEFAULT,
|
1092
|
+
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
1093
|
+
targetToken: "0x1504D006b80b1616d2651E8d15D5d25A88efef58",
|
1094
|
+
computeChainId: ChainId.ETHERLINK,
|
1095
|
+
computeScoreParameters: {
|
1096
|
+
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
1097
|
+
},
|
1098
|
+
composedMultiplier: "1008440000",
|
1099
|
+
whitelist: [],
|
1100
|
+
blacklist: [],
|
1101
|
+
forwarders: [],
|
1102
|
+
hooks: [],
|
1103
|
+
},
|
1104
|
+
],
|
1105
|
+
composedCampaignsCompute: "1-2",
|
1106
|
+
},
|
897
1107
|
[etherlinkCampaigns.Uranium_Hold_xU308_Etherlink]: {
|
898
1108
|
campaignType: Campaign.ERC20,
|
899
1109
|
computeChainId: ChainId.ETHERLINK,
|
@@ -2857,50 +3067,6 @@ const ReserveInterfaceCampaigns = {
|
|
2857
3067
|
composedCampaignsCompute: "1-2",
|
2858
3068
|
},
|
2859
3069
|
};
|
2860
|
-
const SuperlendInterfaceCampaigns = {
|
2861
|
-
[superlendCampaigns.Superlend_NET_USDC_SUPPLY]: {
|
2862
|
-
campaignType: Campaign.MULTILOG,
|
2863
|
-
computeScoreParameters: {
|
2864
|
-
computeMethod: ComputeScoreMethod.genericTimeWeighted,
|
2865
|
-
},
|
2866
|
-
whitelist: [],
|
2867
|
-
blacklist: [],
|
2868
|
-
hooks: [],
|
2869
|
-
composedCampaigns: [
|
2870
|
-
{
|
2871
|
-
composedIndex: 1,
|
2872
|
-
composedType: ComposedType.MAIN,
|
2873
|
-
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
2874
|
-
targetToken: "0xd03bfdF9B26DB1e6764724d914d7c3d18106a9Fb",
|
2875
|
-
computeChainId: ChainId.ETHERLINK,
|
2876
|
-
computeScoreParameters: {
|
2877
|
-
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
2878
|
-
},
|
2879
|
-
composedMultiplier: BASE_9.toString(),
|
2880
|
-
whitelist: [],
|
2881
|
-
blacklist: [],
|
2882
|
-
forwarders: [],
|
2883
|
-
hooks: [],
|
2884
|
-
},
|
2885
|
-
{
|
2886
|
-
composedIndex: 2,
|
2887
|
-
composedType: ComposedType.DEFAULT,
|
2888
|
-
campaignType: Campaign.ERC20REBASELOGPROCESSOR,
|
2889
|
-
targetToken: "0x904A51d7b418d8D5f3739e421A6eD532d653f625",
|
2890
|
-
computeChainId: ChainId.ETHERLINK,
|
2891
|
-
computeScoreParameters: {
|
2892
|
-
computeMethod: ComputeScoreMethod.genericScorePunctual,
|
2893
|
-
},
|
2894
|
-
composedMultiplier: BASE_9.toString(),
|
2895
|
-
whitelist: [],
|
2896
|
-
blacklist: [],
|
2897
|
-
forwarders: [],
|
2898
|
-
hooks: [],
|
2899
|
-
},
|
2900
|
-
],
|
2901
|
-
composedCampaignsCompute: "1-2",
|
2902
|
-
},
|
2903
|
-
};
|
2904
3070
|
function generateComposedCampaignForTradingCompetitionForReserve(pool, wethIndex, chainId) {
|
2905
3071
|
return [
|
2906
3072
|
{
|
@@ -7220,5 +7386,4 @@ export const MerklInterfaceCampaigns = {
|
|
7220
7386
|
[program.WorldChain]: WorldChainInterfaceCampaigns,
|
7221
7387
|
[program.StableJack]: StableJackInterfaceCampaigns,
|
7222
7388
|
[program.Corn]: CornInterfaceCampaigns,
|
7223
|
-
[program.Superlend]: SuperlendInterfaceCampaigns,
|
7224
7389
|
};
|
@@ -9,7 +9,7 @@ export type Protocol = Resource<"Protocol", undefined, {
|
|
9
9
|
numberOfLiveCampaigns?: number;
|
10
10
|
opportunityLiveTags?: string[];
|
11
11
|
}>;
|
12
|
-
export declare const protocolIdList: readonly ["uniswap", "ambient", "arthswap", "base-swap", "camelot", "crust", "fenix", "horiza", "izumi", "kim", "pancake-swap", "quickswap", "ramses", "retro", "stryke", "sushi-swap", "swapr", "thruster", "voltage", "zero", "koi", "supswap", "zk-swap", "thirdtrade", "swap-x", "velodrome", "aerodrome", "balancer", "curve", "cross_curve", "curveNPool", "aura", "akron", "beefy", "dragonswap", "poolside", "koi", "syncswap", "neptune", "zkSwapThreePool", "syncswap", "rfx", "ra", "maverick", "trader-joe", "velodrome", "hanji", "reserve", "radiant", "aave", "fraxlend", "ironclad", "euler", "gearbox", "compound", "sturdy", "frax", "ionic", "moonwell", "fluid", "silo", "morpho", "dolomite", "badger", "ajna", "layerbank", "ion", "venus", "woofi", "reactor_fusion", "eigenlayer", "vest", "zerolend", "lnd", "hyperdrive", "gamma", "oku", "hourglass", "veda", "kyo", "sonex", "lendle", "tako-tako", "equalizer", "spectra", "beraborrow", "superlend", "avalon", "iguana", "xlend", "sake", "sonicmarket", "stability", "angles", "enzyme", "toros", "vicuna", "bunni", "beratrax", "concrete", "cian", "pendle", "splice", "sturdy", "yei", "termmax", "filament", "gammaswap", "maha", "tempest", "uranium", "hanji", "holdstation", "katana", "punchswap", "satlayer", "puffer"];
|
12
|
+
export declare const protocolIdList: readonly ["uniswap", "ambient", "arthswap", "base-swap", "camelot", "crust", "fenix", "horiza", "izumi", "kim", "pancake-swap", "quickswap", "ramses", "retro", "stryke", "sushi-swap", "swapr", "thruster", "voltage", "zero", "koi", "supswap", "zk-swap", "thirdtrade", "swap-x", "velodrome", "aerodrome", "balancer", "curve", "cross_curve", "curveNPool", "aura", "akron", "beefy", "dragonswap", "poolside", "koi", "syncswap", "neptune", "zkSwapThreePool", "syncswap", "rfx", "ra", "maverick", "trader-joe", "velodrome", "hanji", "reserve", "radiant", "aave", "fraxlend", "ironclad", "euler", "gearbox", "compound", "sturdy", "frax", "ionic", "moonwell", "fluid", "silo", "morpho", "dolomite", "badger", "ajna", "layerbank", "ion", "venus", "woofi", "reactor_fusion", "eigenlayer", "vest", "zerolend", "lnd", "dlend", "hyperdrive", "gamma", "oku", "hourglass", "veda", "kyo", "sonex", "lendle", "tako-tako", "equalizer", "spectra", "beraborrow", "superlend", "avalon", "iguana", "xlend", "sake", "sonicmarket", "stability", "angles", "enzyme", "toros", "vicuna", "bunni", "beratrax", "concrete", "cian", "pendle", "splice", "sturdy", "yei", "termmax", "filament", "gammaswap", "maha", "tempest", "uranium", "hanji", "holdstation", "katana", "punchswap", "satlayer", "puffer"];
|
13
13
|
export type ProtocolId = (typeof protocolIdList)[number];
|
14
14
|
export declare const ProtocolResourceDto: import("@sinclair/typebox").TObject<{
|
15
15
|
id: import("@sinclair/typebox").TString;
|
@@ -144,9 +144,9 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
144
144
|
query: {
|
145
145
|
items?: number | undefined;
|
146
146
|
page?: number | undefined;
|
147
|
-
campaignIds?: string[] | undefined;
|
148
147
|
address: string;
|
149
148
|
chainId: number;
|
149
|
+
campaignIds: string[];
|
150
150
|
};
|
151
151
|
headers: unknown;
|
152
152
|
response: {
|
@@ -169,9 +169,9 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
169
169
|
query: {
|
170
170
|
items?: number | undefined;
|
171
171
|
page?: number | undefined;
|
172
|
-
campaignIds?: string[] | undefined;
|
173
172
|
address: string;
|
174
173
|
chainId: number;
|
174
|
+
campaignIds: string[];
|
175
175
|
};
|
176
176
|
headers: unknown;
|
177
177
|
response: {
|
@@ -192,9 +192,9 @@ export declare const RewardController: Elysia<"/rewards", false, {
|
|
192
192
|
query: {
|
193
193
|
items?: number | undefined;
|
194
194
|
page?: number | undefined;
|
195
|
-
campaignIds?: string[] | undefined;
|
196
195
|
address: string;
|
197
196
|
chainId: number;
|
197
|
+
campaignIds: string[];
|
198
198
|
};
|
199
199
|
headers: unknown;
|
200
200
|
response: {
|
@@ -65,6 +65,7 @@ export const RewardController = new Elysia({ prefix: "/rewards", detail: { tags:
|
|
65
65
|
query: TokenIdDto,
|
66
66
|
beforeHandle: ({ query }) => {
|
67
67
|
query.address = throwOnInvalidRequiredAddress(query.address);
|
68
|
+
query.campaignIds = query.campaignIds.flatMap(x => x.split(","));
|
68
69
|
throwOnUnsupportedChainId(query.chainId);
|
69
70
|
},
|
70
71
|
detail: { hide: true },
|
@@ -163,12 +163,6 @@ export declare const CampaignIdWithoutPageDto: import("@sinclair/typebox").TObje
|
|
163
163
|
chainId: import("@sinclair/typebox").TNumber;
|
164
164
|
campaignIds: import("@sinclair/typebox").TTransform<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>]>, string[]>;
|
165
165
|
}>;
|
166
|
-
export declare const CampaignIdListDto: import("@sinclair/typebox").TObject<{
|
167
|
-
chainId: import("@sinclair/typebox").TNumber;
|
168
|
-
campaignIds: import("@sinclair/typebox").TTransform<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>]>, string[]>;
|
169
|
-
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
170
|
-
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
171
|
-
}>;
|
172
166
|
export declare const CampaignIdDto: import("@sinclair/typebox").TObject<{
|
173
167
|
chainId: import("@sinclair/typebox").TNumber;
|
174
168
|
campaignId: import("@sinclair/typebox").TString;
|
@@ -178,7 +172,7 @@ export declare const CampaignIdDto: import("@sinclair/typebox").TObject<{
|
|
178
172
|
export declare const TokenIdDto: import("@sinclair/typebox").TObject<{
|
179
173
|
chainId: import("@sinclair/typebox").TNumber;
|
180
174
|
address: import("@sinclair/typebox").TString;
|
181
|
-
campaignIds: import("@sinclair/typebox").
|
175
|
+
campaignIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
182
176
|
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
183
177
|
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
184
178
|
}>;
|
@@ -236,7 +230,6 @@ export type CampaignIdWithoutPageModel = {
|
|
236
230
|
chainId: number;
|
237
231
|
campaignIds: string[];
|
238
232
|
};
|
239
|
-
export type CampaignIdListModel = typeof CampaignIdListDto.static;
|
240
233
|
export type CampaignIdModel = typeof CampaignIdDto.static;
|
241
234
|
export type TokenIdModel = typeof TokenIdDto.static;
|
242
235
|
export type UserRewardV3Model = typeof UserRewardV3Dto.static;
|
@@ -92,15 +92,6 @@ export const CampaignIdWithoutPageDto = t.Object({
|
|
92
92
|
})
|
93
93
|
.Encode(value => [...value]),
|
94
94
|
});
|
95
|
-
export const CampaignIdListDto = t.Object({
|
96
|
-
chainId: t.Numeric(),
|
97
|
-
campaignIds: t
|
98
|
-
.Transform(t.Union([t.String(), t.Array(t.String())]))
|
99
|
-
.Decode(value => (typeof value === "string" ? value.split(",") : value))
|
100
|
-
.Encode(value => [...value]),
|
101
|
-
page: t.Optional(t.Numeric()), // 0-indexed
|
102
|
-
items: t.Optional(t.Numeric()), // items per page
|
103
|
-
});
|
104
95
|
export const CampaignIdDto = t.Object({
|
105
96
|
chainId: t.Numeric({
|
106
97
|
description: "Chain ID",
|
@@ -118,10 +109,7 @@ export const TokenIdDto = t.Object({
|
|
118
109
|
address: t.String({
|
119
110
|
description: "Token Address",
|
120
111
|
}),
|
121
|
-
campaignIds: t.
|
122
|
-
.Transform(t.Union([t.String(), t.Array(t.String())]))
|
123
|
-
.Decode(value => (typeof value === "string" ? value.split(",") : value))
|
124
|
-
.Encode(value => [...value])),
|
112
|
+
campaignIds: t.Array(t.String()),
|
125
113
|
page: t.Optional(t.Numeric({ description: "Page number", default: 0 })), // 0-indexed
|
126
114
|
items: t.Optional(t.Numeric({ description: "Number of returned rows", default: 20 })), // items per page
|
127
115
|
});
|
@@ -1139,7 +1139,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1139
1139
|
} & {
|
1140
1140
|
price?: number | null | undefined;
|
1141
1141
|
})[];
|
1142
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1142
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1143
1143
|
description: string;
|
1144
1144
|
howToSteps: string[];
|
1145
1145
|
depositUrl: string | undefined;
|
@@ -1277,7 +1277,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1277
1277
|
} & {
|
1278
1278
|
price?: number | null | undefined;
|
1279
1279
|
})[];
|
1280
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1280
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1281
1281
|
description: string;
|
1282
1282
|
howToSteps: string[];
|
1283
1283
|
depositUrl: string | undefined;
|
@@ -1407,7 +1407,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1407
1407
|
} & {
|
1408
1408
|
price?: number | null | undefined;
|
1409
1409
|
})[];
|
1410
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1410
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
1411
1411
|
description: string;
|
1412
1412
|
howToSteps: string[];
|
1413
1413
|
depositUrl: string | undefined;
|
@@ -2344,7 +2344,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2344
2344
|
} & {
|
2345
2345
|
price?: number | null | undefined;
|
2346
2346
|
})[];
|
2347
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2347
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2348
2348
|
description: string;
|
2349
2349
|
howToSteps: string[];
|
2350
2350
|
depositUrl: string | undefined;
|
@@ -2456,7 +2456,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2456
2456
|
} & {
|
2457
2457
|
price?: number | null | undefined;
|
2458
2458
|
})[];
|
2459
|
-
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2459
|
+
mainProtocol: "splice" | "reserve" | "morpho" | "quickswap" | "euler" | "uniswap" | "ambient" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "lnd" | "dlend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "xlend" | "sake" | "sonicmarket" | "stability" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "termmax" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "punchswap" | "satlayer" | "puffer" | undefined;
|
2460
2460
|
description: string;
|
2461
2461
|
howToSteps: string[];
|
2462
2462
|
depositUrl: string | undefined;
|
@@ -3212,9 +3212,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3212
3212
|
query: {
|
3213
3213
|
items?: number | undefined;
|
3214
3214
|
page?: number | undefined;
|
3215
|
-
campaignIds?: string[] | undefined;
|
3216
3215
|
address: string;
|
3217
3216
|
chainId: number;
|
3217
|
+
campaignIds: string[];
|
3218
3218
|
};
|
3219
3219
|
headers: unknown;
|
3220
3220
|
response: {
|
@@ -3237,9 +3237,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3237
3237
|
query: {
|
3238
3238
|
items?: number | undefined;
|
3239
3239
|
page?: number | undefined;
|
3240
|
-
campaignIds?: string[] | undefined;
|
3241
3240
|
address: string;
|
3242
3241
|
chainId: number;
|
3242
|
+
campaignIds: string[];
|
3243
3243
|
};
|
3244
3244
|
headers: unknown;
|
3245
3245
|
response: {
|
@@ -3260,9 +3260,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3260
3260
|
query: {
|
3261
3261
|
items?: number | undefined;
|
3262
3262
|
page?: number | undefined;
|
3263
|
-
campaignIds?: string[] | undefined;
|
3264
3263
|
address: string;
|
3265
3264
|
chainId: number;
|
3265
|
+
campaignIds: string[];
|
3266
3266
|
};
|
3267
3267
|
headers: unknown;
|
3268
3268
|
response: {
|
@@ -3889,7 +3889,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
3889
3889
|
test?: boolean | undefined;
|
3890
3890
|
reloadChainId?: number | undefined;
|
3891
3891
|
claimableOnly?: boolean | undefined;
|
3892
|
-
chainId:
|
3892
|
+
chainId: string[];
|
3893
3893
|
};
|
3894
3894
|
headers: unknown;
|
3895
3895
|
response: {
|
@@ -4077,9 +4077,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
4077
4077
|
};
|
4078
4078
|
query: {
|
4079
4079
|
test?: boolean | undefined;
|
4080
|
-
chainIds?: number[] | undefined;
|
4081
4080
|
reloadChainId?: number | undefined;
|
4082
4081
|
claimableOnly?: boolean | undefined;
|
4082
|
+
chainIds: string[];
|
4083
4083
|
};
|
4084
4084
|
headers: unknown;
|
4085
4085
|
response: {
|
@@ -4874,7 +4874,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
4874
4874
|
address: string;
|
4875
4875
|
};
|
4876
4876
|
query: {
|
4877
|
-
chainIds
|
4877
|
+
chainIds: string[];
|
4878
4878
|
};
|
4879
4879
|
headers: unknown;
|
4880
4880
|
response: {
|
@@ -25,7 +25,7 @@ export declare const UserController: Elysia<"/users", false, {
|
|
25
25
|
test?: boolean | undefined;
|
26
26
|
reloadChainId?: number | undefined;
|
27
27
|
claimableOnly?: boolean | undefined;
|
28
|
-
chainId:
|
28
|
+
chainId: string[];
|
29
29
|
};
|
30
30
|
headers: unknown;
|
31
31
|
response: {
|
@@ -213,9 +213,9 @@ export declare const UserController: Elysia<"/users", false, {
|
|
213
213
|
};
|
214
214
|
query: {
|
215
215
|
test?: boolean | undefined;
|
216
|
-
chainIds?: number[] | undefined;
|
217
216
|
reloadChainId?: number | undefined;
|
218
217
|
claimableOnly?: boolean | undefined;
|
218
|
+
chainIds: string[];
|
219
219
|
};
|
220
220
|
headers: unknown;
|
221
221
|
response: {
|