@merkl/api 0.20.82 → 0.20.83
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.
@@ -40,6 +40,8 @@ export declare enum etherlinkCampaigns {
|
|
40
40
|
Iguana_USDC_USDT = "Iguana USDC/USDT Etherlink 0x86456e2E2A203Da82E61ed34eF4137Fbe545f0DC",
|
41
41
|
Iguana_XTZ_USDC = "Iguana XTZ/USDT Etherlink 0x508060A01f11d6a2Eb774B55aEba95931265E0cc",
|
42
42
|
Iguana_WBTC_XTZ = "Iguana WBTC/XTZ Etherlink 0x8930e315fa6D704A94bE6E14DaD66f6d66FfF7DF",
|
43
|
+
Iguana_mTBILL_USDC = "Iguana mTBILL/USDC Etherlink 0x643D7CF86262b287b8548e840b4081c1A1525355",
|
44
|
+
Iguana_mBASIS_USDC = "Iguana mBASIS/USDC Etherlink 0xc2AF49072611f63894F761c8a354419dD0486826",
|
43
45
|
Hanji_HJLP = "Hanji HJLP Etherlink 0x1cd88fBD530281Ad6c639E2B897c4E239003A930",
|
44
46
|
Uranium_Hold_xU308_Etherlink = "Uranium Hold xU308 Etherlink 0x79052Ab3C166D4899a1e0DD033aC3b379AF0B1fD",
|
45
47
|
referral_test = "referral test Etherlink 0x0",
|
@@ -885,6 +887,62 @@ declare const EtherlinkInterfaceCampaigns: {
|
|
885
887
|
weightToken0: number;
|
886
888
|
weightToken1: number;
|
887
889
|
};
|
890
|
+
"Iguana mBASIS/USDC Etherlink 0xc2AF49072611f63894F761c8a354419dD0486826": {
|
891
|
+
campaignType: any;
|
892
|
+
computeChainId: any;
|
893
|
+
hooks: {
|
894
|
+
hookType: any;
|
895
|
+
key: string;
|
896
|
+
chainId: any;
|
897
|
+
contractAddress: string;
|
898
|
+
contractState: any;
|
899
|
+
boostForReferrer: any;
|
900
|
+
valueForBoostForReferrer: number;
|
901
|
+
boostForInvited: any;
|
902
|
+
valueForBoostForInvited: number;
|
903
|
+
defaultBoost: any;
|
904
|
+
maximumBoostReferrer: number;
|
905
|
+
maximumBoostInvited: number;
|
906
|
+
cumulativeBoost: boolean;
|
907
|
+
}[];
|
908
|
+
poolAddress: string;
|
909
|
+
whitelist: never[];
|
910
|
+
blacklist: string[];
|
911
|
+
url: string;
|
912
|
+
forwarders: never[];
|
913
|
+
isOutOfRangeIncentivized: boolean;
|
914
|
+
weightFees: number;
|
915
|
+
weightToken0: number;
|
916
|
+
weightToken1: number;
|
917
|
+
};
|
918
|
+
"Iguana mTBILL/USDC Etherlink 0x643D7CF86262b287b8548e840b4081c1A1525355": {
|
919
|
+
campaignType: any;
|
920
|
+
computeChainId: any;
|
921
|
+
hooks: {
|
922
|
+
hookType: any;
|
923
|
+
key: string;
|
924
|
+
chainId: any;
|
925
|
+
contractAddress: string;
|
926
|
+
contractState: any;
|
927
|
+
boostForReferrer: any;
|
928
|
+
valueForBoostForReferrer: number;
|
929
|
+
boostForInvited: any;
|
930
|
+
valueForBoostForInvited: number;
|
931
|
+
defaultBoost: any;
|
932
|
+
maximumBoostReferrer: number;
|
933
|
+
maximumBoostInvited: number;
|
934
|
+
cumulativeBoost: boolean;
|
935
|
+
}[];
|
936
|
+
poolAddress: string;
|
937
|
+
whitelist: never[];
|
938
|
+
blacklist: string[];
|
939
|
+
url: string;
|
940
|
+
forwarders: never[];
|
941
|
+
isOutOfRangeIncentivized: boolean;
|
942
|
+
weightFees: number;
|
943
|
+
weightToken0: number;
|
944
|
+
weightToken1: number;
|
945
|
+
};
|
888
946
|
"referral test Etherlink 0x0": {
|
889
947
|
campaignType: any;
|
890
948
|
computeChainId: any;
|
@@ -45,6 +45,8 @@ export var etherlinkCampaigns;
|
|
45
45
|
etherlinkCampaigns["Iguana_USDC_USDT"] = "Iguana USDC/USDT Etherlink 0x86456e2E2A203Da82E61ed34eF4137Fbe545f0DC";
|
46
46
|
etherlinkCampaigns["Iguana_XTZ_USDC"] = "Iguana XTZ/USDT Etherlink 0x508060A01f11d6a2Eb774B55aEba95931265E0cc";
|
47
47
|
etherlinkCampaigns["Iguana_WBTC_XTZ"] = "Iguana WBTC/XTZ Etherlink 0x8930e315fa6D704A94bE6E14DaD66f6d66FfF7DF";
|
48
|
+
etherlinkCampaigns["Iguana_mTBILL_USDC"] = "Iguana mTBILL/USDC Etherlink 0x643D7CF86262b287b8548e840b4081c1A1525355";
|
49
|
+
etherlinkCampaigns["Iguana_mBASIS_USDC"] = "Iguana mBASIS/USDC Etherlink 0xc2AF49072611f63894F761c8a354419dD0486826";
|
48
50
|
etherlinkCampaigns["Hanji_HJLP"] = "Hanji HJLP Etherlink 0x1cd88fBD530281Ad6c639E2B897c4E239003A930";
|
49
51
|
etherlinkCampaigns["Uranium_Hold_xU308_Etherlink"] = "Uranium Hold xU308 Etherlink 0x79052Ab3C166D4899a1e0DD033aC3b379AF0B1fD";
|
50
52
|
etherlinkCampaigns["referral_test"] = "referral test Etherlink 0x0";
|
@@ -109,6 +111,8 @@ const blacklistEtherlink = [
|
|
109
111
|
"0xB387D0A73619791420De4a1e5e710023Cb0f49c0",
|
110
112
|
"0xA0fc58e4EE3a3E183dfa492147C97e81D42f5C86",
|
111
113
|
"0xEcCcFF3Ca6580BeeB85c679495afBDB1877F3a99",
|
114
|
+
"0x603B79f80E8D5A981FDC751223D91958aC849f2e",
|
115
|
+
"0xAb7745ED5e0eB9F5D3F3639937aB7Ae4a659AEF8",
|
112
116
|
];
|
113
117
|
export var swapxCampaigns;
|
114
118
|
(function (swapxCampaigns) {
|
@@ -776,6 +780,34 @@ const EtherlinkInterfaceCampaigns = {
|
|
776
780
|
weightToken0: 2000,
|
777
781
|
weightToken1: 2000,
|
778
782
|
},
|
783
|
+
[etherlinkCampaigns.Iguana_mBASIS_USDC]: {
|
784
|
+
campaignType: Campaign.CLAMM,
|
785
|
+
computeChainId: ChainId.ETHERLINK,
|
786
|
+
hooks: [etherlinkReferralProgram],
|
787
|
+
poolAddress: "0xc2AF49072611f63894F761c8a354419dD0486826",
|
788
|
+
whitelist: [],
|
789
|
+
blacklist: blacklistEtherlink,
|
790
|
+
url: "https://www.iguanadex.com/info/v3/pairs/0xc2AF49072611f63894F761c8a354419dD0486826?chain=etherlink",
|
791
|
+
forwarders: [],
|
792
|
+
isOutOfRangeIncentivized: false,
|
793
|
+
weightFees: 6000,
|
794
|
+
weightToken0: 2000,
|
795
|
+
weightToken1: 2000,
|
796
|
+
},
|
797
|
+
[etherlinkCampaigns.Iguana_mTBILL_USDC]: {
|
798
|
+
campaignType: Campaign.CLAMM,
|
799
|
+
computeChainId: ChainId.ETHERLINK,
|
800
|
+
hooks: [etherlinkReferralProgram],
|
801
|
+
poolAddress: "0x643D7CF86262b287b8548e840b4081c1A1525355",
|
802
|
+
whitelist: [],
|
803
|
+
blacklist: blacklistEtherlink,
|
804
|
+
url: "https://www.iguanadex.com/info/v3/pairs/0x643D7CF86262b287b8548e840b4081c1A1525355?chain=etherlink",
|
805
|
+
forwarders: [],
|
806
|
+
isOutOfRangeIncentivized: false,
|
807
|
+
weightFees: 6000,
|
808
|
+
weightToken0: 2000,
|
809
|
+
weightToken1: 2000,
|
810
|
+
},
|
779
811
|
[etherlinkCampaigns.referral_test]: {
|
780
812
|
campaignType: Campaign.ERC20,
|
781
813
|
computeChainId: ChainId.ETHERLINK,
|
@@ -807,7 +839,7 @@ const EtherlinkInterfaceCampaigns = {
|
|
807
839
|
contract: "0xd0bc067cf877f7b76ceb331891331d9e6acda1a7",
|
808
840
|
eventID: id("OrderPlaced(address,uint64,bool,uint128,uint72,uint128,uint128,uint128,uint128,uint128,bool,bool)"),
|
809
841
|
topicToData: [
|
810
|
-
{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (
|
842
|
+
{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (10n * 10n ** 20n).toString() },
|
811
843
|
],
|
812
844
|
computeScoreParameters: {
|
813
845
|
computeMethod: ComputeScoreMethod.cappedScorePercentageHistorical,
|
@@ -839,7 +871,7 @@ const EtherlinkInterfaceCampaigns = {
|
|
839
871
|
contract: "0x65ea4dd7f789c71c0f57ed84b3bdc3062898d3cb",
|
840
872
|
eventID: id("OrderPlaced(address,uint64,bool,uint128,uint72,uint128,uint128,uint128,uint128,uint128,bool,bool)"),
|
841
873
|
topicToData: [
|
842
|
-
{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (
|
874
|
+
{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (10n * 10n ** 20n).toString() },
|
843
875
|
],
|
844
876
|
computeScoreParameters: {
|
845
877
|
computeMethod: ComputeScoreMethod.cappedScorePercentageHistorical,
|
@@ -871,7 +903,7 @@ const EtherlinkInterfaceCampaigns = {
|
|
871
903
|
contract: "0xbb6b01d94e3f6ebae8647cb56d544f57928ab758",
|
872
904
|
eventID: id("OrderPlaced(address,uint64,bool,uint128,uint72,uint128,uint128,uint128,uint128,uint128,bool,bool)"),
|
873
905
|
topicToData: [
|
874
|
-
{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (
|
906
|
+
{ topicIndex: 1, decodeKeyTopic: "address", dataIndex: 6, multiplier: (10n * 10n ** 20n).toString() },
|
875
907
|
],
|
876
908
|
computeScoreParameters: {
|
877
909
|
computeMethod: ComputeScoreMethod.cappedScorePercentageHistorical,
|