@merkl/api 0.21.24 → 0.21.26
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 +3 -3
- package/dist/src/index.d.ts +1 -1
- 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/router.d.ts +1 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +1 -1
- package/dist/src/modules/v4/user/user.model.d.ts +1 -1
- package/dist/src/modules/v4/user/user.model.js +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -3446,9 +3446,9 @@ declare const eden: {
|
|
3446
3446
|
headers?: Record<string, unknown> | undefined;
|
3447
3447
|
query: {
|
3448
3448
|
test?: boolean | undefined;
|
3449
|
+
chainIds?: string[] | undefined;
|
3449
3450
|
reloadChainId?: number | undefined;
|
3450
3451
|
claimableOnly?: boolean | undefined;
|
3451
|
-
chainIds: string[];
|
3452
3452
|
};
|
3453
3453
|
fetch?: RequestInit | undefined;
|
3454
3454
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -9784,9 +9784,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9784
9784
|
};
|
9785
9785
|
query: {
|
9786
9786
|
test?: boolean | undefined;
|
9787
|
+
chainIds?: string[] | undefined;
|
9787
9788
|
reloadChainId?: number | undefined;
|
9788
9789
|
claimableOnly?: boolean | undefined;
|
9789
|
-
chainIds: string[];
|
9790
9790
|
};
|
9791
9791
|
headers: unknown;
|
9792
9792
|
response: {
|
@@ -15882,9 +15882,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15882
15882
|
headers?: Record<string, unknown> | undefined;
|
15883
15883
|
query: {
|
15884
15884
|
test?: boolean | undefined;
|
15885
|
+
chainIds?: string[] | undefined;
|
15885
15886
|
reloadChainId?: number | undefined;
|
15886
15887
|
claimableOnly?: boolean | undefined;
|
15887
|
-
chainIds: string[];
|
15888
15888
|
};
|
15889
15889
|
fetch?: RequestInit | undefined;
|
15890
15890
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
package/dist/src/index.d.ts
CHANGED
@@ -4207,9 +4207,9 @@ declare const app: Elysia<"", false, {
|
|
4207
4207
|
};
|
4208
4208
|
query: {
|
4209
4209
|
test?: boolean | undefined;
|
4210
|
+
chainIds?: string[] | undefined;
|
4210
4211
|
reloadChainId?: number | undefined;
|
4211
4212
|
claimableOnly?: boolean | undefined;
|
4212
|
-
chainIds: string[];
|
4213
4213
|
};
|
4214
4214
|
headers: unknown;
|
4215
4215
|
response: {
|
@@ -16,8 +16,7 @@ export declare enum program {
|
|
16
16
|
HypurrFi = "HypurrFi",
|
17
17
|
WorldChain = "WorldChain",
|
18
18
|
StableJack = "StableJack",
|
19
|
-
Corn = "Corn"
|
20
|
-
Superlend = "Superlend"
|
19
|
+
Corn = "Corn"
|
21
20
|
}
|
22
21
|
export declare enum roninCampaigns {
|
23
22
|
Katana_WETH_RON_Ronin = "Katana WETH-RON Ronin 0x90f31f1907a4d1443a6aacdc91ac2312f91bafa7",
|
@@ -48,6 +47,11 @@ export declare enum etherlinkCampaigns {
|
|
48
47
|
Superlend_Supply_WXTZ_Etherlink = "Superlend Supply WXTZ Etherlink 0x008ae222661B6A42e3A097bd7AAC15412829106b",
|
49
48
|
Superlend_Supply_mTBILL_Etherlink = "Superlend Supply mTBILL Etherlink 0x187B7b83e8CaB442AD0BFEAe38067f3eb38a2d72",
|
50
49
|
Superlend_Supply_mBASIS_Etherlink = "Superlend Supply mBASIS Etherlink 0x660ADeF5993167ACdb490DF287f4Db6Cc226fFeB",
|
50
|
+
Superlend_Net_Supply_USDC_Etherlink = "Superlend net Supply USDC Etherlink 0xd03bfdF9B26DB1e6764724d914d7c3d18106a9Fb-0x904A51d7b418d8D5f3739e421A6eD532d653f625",
|
51
|
+
Superlend_Net_Supply_USDT_Etherlink = "Superlend net Supply USDT Etherlink 0x998098A1B2E95e2b8f15360676428EdFd976861f-0xF9279419830016C87Be66617E6c5ea42A7204460",
|
52
|
+
Superlend_Net_Supply_WBTC_Etherlink = "Superlend net Supply WBTC Etherlink 0xfCA0802cb10b3b134a91e07f03965f63eF4B23eA-0x87C4D41c0982F335E8eB6BE30fD2Ae91A6de31FB",
|
53
|
+
Superlend_Net_Supply_WETH_Etherlink = "Superlend net Supply WETH Etherlink 0x301bea8B7c0eF6722c937C07Da4d53931F61969c-0x2Bc84b1F1E1b89521de08C966bE1ca498F97a493",
|
54
|
+
Superlend_Net_Supply_WXTZ_Etherlink = "Superlend net Supply WXTZ Etherlink 0x008ae222661B6A42e3A097bd7AAC15412829106b-0x1504D006b80b1616d2651E8d15D5d25A88efef58",
|
51
55
|
Iguana_WETH_WXTZ = "Iguana WETH/WXTZ Etherlink 0x478F067b0Ed73d120BBcd8c6f4f33438FC483912",
|
52
56
|
Iguana_USDC_USDT = "Iguana USDC/USDT Etherlink 0x86456e2E2A203Da82E61ed34eF4137Fbe545f0DC",
|
53
57
|
Iguana_XTZ_USDC = "Iguana XTZ/USDT Etherlink 0x508060A01f11d6a2Eb774B55aEba95931265E0cc",
|
@@ -464,9 +468,6 @@ export declare enum modeCampaigns {
|
|
464
468
|
Bedrock_Ionic_Supply_ionuniBTC_Mode = "Bedrock Ionic Supply uniBTC 0xa48750877a83f7dec11f722178c317b54a44d142",
|
465
469
|
Bedrock_Ironclad_Supply_uniBTC_Mode = "Bedrock Ironclad Supply uniBTC 0x0F041cf2ae959f39215EFfB50d681Df55D4d90B1"
|
466
470
|
}
|
467
|
-
export declare enum superlendCampaigns {
|
468
|
-
Superlend_NET_USDC_SUPPLY = "Superlend net USDC supply on Etherlink"
|
469
|
-
}
|
470
471
|
declare const RoninInterfaceCampaigns: {
|
471
472
|
"Katana WETH-RON Ronin 0x90f31f1907a4d1443a6aacdc91ac2312f91bafa7": {
|
472
473
|
campaignType: any;
|
@@ -864,6 +865,131 @@ declare const EtherlinkInterfaceCampaigns: {
|
|
864
865
|
url: string;
|
865
866
|
forwarders: never[];
|
866
867
|
};
|
868
|
+
"Superlend net Supply USDC Etherlink 0xd03bfdF9B26DB1e6764724d914d7c3d18106a9Fb-0x904A51d7b418d8D5f3739e421A6eD532d653f625": {
|
869
|
+
campaignType: any;
|
870
|
+
computeScoreParameters: {
|
871
|
+
computeMethod: any;
|
872
|
+
};
|
873
|
+
whitelist: never[];
|
874
|
+
blacklist: never[];
|
875
|
+
hooks: never[];
|
876
|
+
composedCampaigns: {
|
877
|
+
composedIndex: number;
|
878
|
+
composedType: any;
|
879
|
+
campaignType: any;
|
880
|
+
targetToken: string;
|
881
|
+
computeChainId: any;
|
882
|
+
computeScoreParameters: {
|
883
|
+
computeMethod: any;
|
884
|
+
};
|
885
|
+
composedMultiplier: string;
|
886
|
+
whitelist: never[];
|
887
|
+
blacklist: never[];
|
888
|
+
forwarders: never[];
|
889
|
+
hooks: never[];
|
890
|
+
}[];
|
891
|
+
composedCampaignsCompute: string;
|
892
|
+
};
|
893
|
+
"Superlend net Supply USDT Etherlink 0x998098A1B2E95e2b8f15360676428EdFd976861f-0xF9279419830016C87Be66617E6c5ea42A7204460": {
|
894
|
+
campaignType: any;
|
895
|
+
computeScoreParameters: {
|
896
|
+
computeMethod: any;
|
897
|
+
};
|
898
|
+
whitelist: never[];
|
899
|
+
blacklist: never[];
|
900
|
+
hooks: never[];
|
901
|
+
composedCampaigns: {
|
902
|
+
composedIndex: number;
|
903
|
+
composedType: any;
|
904
|
+
campaignType: any;
|
905
|
+
targetToken: string;
|
906
|
+
computeChainId: any;
|
907
|
+
computeScoreParameters: {
|
908
|
+
computeMethod: any;
|
909
|
+
};
|
910
|
+
composedMultiplier: string;
|
911
|
+
whitelist: never[];
|
912
|
+
blacklist: never[];
|
913
|
+
forwarders: never[];
|
914
|
+
hooks: never[];
|
915
|
+
}[];
|
916
|
+
composedCampaignsCompute: string;
|
917
|
+
};
|
918
|
+
"Superlend net Supply WBTC Etherlink 0xfCA0802cb10b3b134a91e07f03965f63eF4B23eA-0x87C4D41c0982F335E8eB6BE30fD2Ae91A6de31FB": {
|
919
|
+
campaignType: any;
|
920
|
+
computeScoreParameters: {
|
921
|
+
computeMethod: any;
|
922
|
+
};
|
923
|
+
whitelist: never[];
|
924
|
+
blacklist: never[];
|
925
|
+
hooks: never[];
|
926
|
+
composedCampaigns: {
|
927
|
+
composedIndex: number;
|
928
|
+
composedType: any;
|
929
|
+
campaignType: any;
|
930
|
+
targetToken: string;
|
931
|
+
computeChainId: any;
|
932
|
+
computeScoreParameters: {
|
933
|
+
computeMethod: any;
|
934
|
+
};
|
935
|
+
composedMultiplier: string;
|
936
|
+
whitelist: never[];
|
937
|
+
blacklist: never[];
|
938
|
+
forwarders: never[];
|
939
|
+
hooks: never[];
|
940
|
+
}[];
|
941
|
+
composedCampaignsCompute: string;
|
942
|
+
};
|
943
|
+
"Superlend net Supply WETH Etherlink 0x301bea8B7c0eF6722c937C07Da4d53931F61969c-0x2Bc84b1F1E1b89521de08C966bE1ca498F97a493": {
|
944
|
+
campaignType: any;
|
945
|
+
computeScoreParameters: {
|
946
|
+
computeMethod: any;
|
947
|
+
};
|
948
|
+
whitelist: never[];
|
949
|
+
blacklist: never[];
|
950
|
+
hooks: never[];
|
951
|
+
composedCampaigns: {
|
952
|
+
composedIndex: number;
|
953
|
+
composedType: any;
|
954
|
+
campaignType: any;
|
955
|
+
targetToken: string;
|
956
|
+
computeChainId: any;
|
957
|
+
computeScoreParameters: {
|
958
|
+
computeMethod: any;
|
959
|
+
};
|
960
|
+
composedMultiplier: string;
|
961
|
+
whitelist: never[];
|
962
|
+
blacklist: never[];
|
963
|
+
forwarders: never[];
|
964
|
+
hooks: never[];
|
965
|
+
}[];
|
966
|
+
composedCampaignsCompute: string;
|
967
|
+
};
|
968
|
+
"Superlend net Supply WXTZ Etherlink 0x008ae222661B6A42e3A097bd7AAC15412829106b-0x1504D006b80b1616d2651E8d15D5d25A88efef58": {
|
969
|
+
campaignType: any;
|
970
|
+
computeScoreParameters: {
|
971
|
+
computeMethod: any;
|
972
|
+
};
|
973
|
+
whitelist: never[];
|
974
|
+
blacklist: never[];
|
975
|
+
hooks: never[];
|
976
|
+
composedCampaigns: {
|
977
|
+
composedIndex: number;
|
978
|
+
composedType: any;
|
979
|
+
campaignType: any;
|
980
|
+
targetToken: string;
|
981
|
+
computeChainId: any;
|
982
|
+
computeScoreParameters: {
|
983
|
+
computeMethod: any;
|
984
|
+
};
|
985
|
+
composedMultiplier: string;
|
986
|
+
whitelist: never[];
|
987
|
+
blacklist: never[];
|
988
|
+
forwarders: never[];
|
989
|
+
hooks: never[];
|
990
|
+
}[];
|
991
|
+
composedCampaignsCompute: string;
|
992
|
+
};
|
867
993
|
"Uranium Hold xU308 Etherlink 0x79052Ab3C166D4899a1e0DD033aC3b379AF0B1fD": {
|
868
994
|
campaignType: any;
|
869
995
|
computeChainId: any;
|
@@ -1304,9 +1430,6 @@ declare const BeetsInterfaceCampaigns: {
|
|
1304
1430
|
declare const ReserveInterfaceCampaigns: {
|
1305
1431
|
[key in reserveCampaigns]: partialConfig;
|
1306
1432
|
};
|
1307
|
-
declare const SuperlendInterfaceCampaigns: {
|
1308
|
-
[key in superlendCampaigns]: partialConfig;
|
1309
|
-
};
|
1310
1433
|
declare const SonicmarketInterfaceCampaigns: {
|
1311
1434
|
[key in sonicmarketCampaigns]: partialConfig;
|
1312
1435
|
};
|
@@ -1762,6 +1885,6 @@ declare const StableJackInterfaceCampaigns: {
|
|
1762
1885
|
[key in StableJackCampaigns]: partialConfig;
|
1763
1886
|
};
|
1764
1887
|
export declare const MerklInterfaceCampaigns: {
|
1765
|
-
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiCampaignsInterface | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns
|
1888
|
+
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns | typeof BeetsInterfaceCampaigns | typeof CeloInterfaceCampaigns | typeof EtherlinkInterfaceCampaigns | typeof SwapxInterfaceCampaigns | typeof AnglesInterfaceCampaigns | typeof RoninInterfaceCampaigns | typeof TACInterfaceCampaigns | typeof HypurrFiCampaignsInterface | typeof WorldChainInterfaceCampaigns | typeof StableJackInterfaceCampaigns | typeof CornInterfaceCampaigns;
|
1766
1889
|
};
|
1767
1890
|
export {};
|
@@ -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
|
};
|
@@ -4077,9 +4077,9 @@ export declare const v4: Elysia<"/v4", false, {
|
|
4077
4077
|
};
|
4078
4078
|
query: {
|
4079
4079
|
test?: boolean | undefined;
|
4080
|
+
chainIds?: string[] | undefined;
|
4080
4081
|
reloadChainId?: number | undefined;
|
4081
4082
|
claimableOnly?: boolean | undefined;
|
4082
|
-
chainIds: string[];
|
4083
4083
|
};
|
4084
4084
|
headers: unknown;
|
4085
4085
|
response: {
|
@@ -213,9 +213,9 @@ export declare const UserController: Elysia<"/users", false, {
|
|
213
213
|
};
|
214
214
|
query: {
|
215
215
|
test?: boolean | undefined;
|
216
|
+
chainIds?: string[] | undefined;
|
216
217
|
reloadChainId?: number | undefined;
|
217
218
|
claimableOnly?: boolean | undefined;
|
218
|
-
chainIds: string[];
|
219
219
|
};
|
220
220
|
headers: unknown;
|
221
221
|
response: {
|
@@ -44,7 +44,7 @@ export declare const UserUniqueDto: import("@sinclair/typebox").TObject<{
|
|
44
44
|
address: import("@sinclair/typebox").TString;
|
45
45
|
}>;
|
46
46
|
export declare const OptionalChainIdDto: import("@sinclair/typebox").TObject<{
|
47
|
-
chainIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString
|
47
|
+
chainIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
48
48
|
reloadChainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
49
49
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
50
50
|
claimableOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
@@ -39,7 +39,7 @@ export const UserUniqueDto = t.Object({
|
|
39
39
|
address: t.String(),
|
40
40
|
});
|
41
41
|
export const OptionalChainIdDto = t.Object({
|
42
|
-
chainIds: t.Array(t.String()),
|
42
|
+
chainIds: t.Optional(t.Array(t.String())),
|
43
43
|
reloadChainId: t.Optional(t.Numeric()),
|
44
44
|
test: t.Optional(t.Boolean({ description: "Include test token rewards" })),
|
45
45
|
claimableOnly: t.Optional(t.Boolean({ description: "Include only claimable rewards (to avoid transferring zero amounts)" })),
|