@merkl/api 0.20.53 → 0.20.55
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 +243 -63
- package/dist/src/engine/erc20SubTypeProcessors/implementations/GammaProcessor.d.ts +1 -1
- package/dist/src/engine/erc20SubTypeProcessors/implementations/GammaProcessor.js +1 -1
- package/dist/src/engine/opportunityMetadata/implementations/Clamm.js +15 -7
- package/dist/src/index.d.ts +51 -11
- package/dist/src/modules/v4/router.d.ts +51 -11
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +51 -11
- package/dist/src/modules/v4/uniswap/uniswap.controller.js +23 -7
- package/dist/src/modules/v4/uniswap/uniswap.model.d.ts +4 -3
- package/dist/src/modules/v4/uniswap/uniswap.model.js +4 -3
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +11 -1
- package/dist/src/modules/v4/uniswap/uniswap.service.js +28 -17
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -4005,19 +4005,54 @@ declare const eden: {
|
|
4005
4005
|
};
|
4006
4006
|
uniswap: {
|
4007
4007
|
reward: {
|
4008
|
-
|
4009
|
-
|
4010
|
-
|
4011
|
-
|
4012
|
-
|
4013
|
-
|
4014
|
-
|
4015
|
-
|
4016
|
-
|
4017
|
-
|
4018
|
-
|
4019
|
-
|
4020
|
-
|
4008
|
+
3: {
|
4009
|
+
get: (options: {
|
4010
|
+
headers?: Record<string, unknown> | undefined;
|
4011
|
+
query: {
|
4012
|
+
chainId?: number | undefined;
|
4013
|
+
pool?: string | undefined;
|
4014
|
+
positionId?: string | undefined;
|
4015
|
+
address: string;
|
4016
|
+
};
|
4017
|
+
fetch?: RequestInit | undefined;
|
4018
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4019
|
+
200: {
|
4020
|
+
[x: number]: Record<string, Record<string, {
|
4021
|
+
campaignId: string;
|
4022
|
+
amount: string;
|
4023
|
+
claimed: string;
|
4024
|
+
pending: string;
|
4025
|
+
reason: string;
|
4026
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
4027
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
4028
|
+
}[]>>;
|
4029
|
+
};
|
4030
|
+
}>>;
|
4031
|
+
};
|
4032
|
+
4: {
|
4033
|
+
get: (options: {
|
4034
|
+
headers?: Record<string, unknown> | undefined;
|
4035
|
+
query: {
|
4036
|
+
chainId?: number | undefined;
|
4037
|
+
pool?: string | undefined;
|
4038
|
+
positionId?: string | undefined;
|
4039
|
+
address: string;
|
4040
|
+
};
|
4041
|
+
fetch?: RequestInit | undefined;
|
4042
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4043
|
+
200: {
|
4044
|
+
[x: number]: Record<string, Record<string, {
|
4045
|
+
campaignId: string;
|
4046
|
+
amount: string;
|
4047
|
+
claimed: string;
|
4048
|
+
pending: string;
|
4049
|
+
reason: string;
|
4050
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
4051
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
4052
|
+
}[]>>;
|
4053
|
+
};
|
4054
|
+
}>>;
|
4055
|
+
};
|
4021
4056
|
};
|
4022
4057
|
v4: ((params: {
|
4023
4058
|
poolId: string | number;
|
@@ -7993,19 +8028,54 @@ declare const eden: {
|
|
7993
8028
|
};
|
7994
8029
|
uniswap: {
|
7995
8030
|
reward: {
|
7996
|
-
|
7997
|
-
|
7998
|
-
|
7999
|
-
|
8000
|
-
|
8001
|
-
|
8002
|
-
|
8003
|
-
|
8004
|
-
|
8005
|
-
|
8006
|
-
|
8007
|
-
|
8008
|
-
|
8031
|
+
3: {
|
8032
|
+
get: (options: {
|
8033
|
+
headers?: Record<string, unknown> | undefined;
|
8034
|
+
query: {
|
8035
|
+
chainId?: number | undefined;
|
8036
|
+
pool?: string | undefined;
|
8037
|
+
positionId?: string | undefined;
|
8038
|
+
address: string;
|
8039
|
+
};
|
8040
|
+
fetch?: RequestInit | undefined;
|
8041
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8042
|
+
200: {
|
8043
|
+
[x: number]: Record<string, Record<string, {
|
8044
|
+
campaignId: string;
|
8045
|
+
amount: string;
|
8046
|
+
claimed: string;
|
8047
|
+
pending: string;
|
8048
|
+
reason: string;
|
8049
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
8050
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
8051
|
+
}[]>>;
|
8052
|
+
};
|
8053
|
+
}>>;
|
8054
|
+
};
|
8055
|
+
4: {
|
8056
|
+
get: (options: {
|
8057
|
+
headers?: Record<string, unknown> | undefined;
|
8058
|
+
query: {
|
8059
|
+
chainId?: number | undefined;
|
8060
|
+
pool?: string | undefined;
|
8061
|
+
positionId?: string | undefined;
|
8062
|
+
address: string;
|
8063
|
+
};
|
8064
|
+
fetch?: RequestInit | undefined;
|
8065
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
8066
|
+
200: {
|
8067
|
+
[x: number]: Record<string, Record<string, {
|
8068
|
+
campaignId: string;
|
8069
|
+
amount: string;
|
8070
|
+
claimed: string;
|
8071
|
+
pending: string;
|
8072
|
+
reason: string;
|
8073
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
8074
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
8075
|
+
}[]>>;
|
8076
|
+
};
|
8077
|
+
}>>;
|
8078
|
+
};
|
8009
8079
|
};
|
8010
8080
|
v4: ((params: {
|
8011
8081
|
poolId: string | number;
|
@@ -13695,18 +13765,58 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13695
13765
|
v4: {
|
13696
13766
|
uniswap: {
|
13697
13767
|
reward: {
|
13698
|
-
|
13699
|
-
|
13700
|
-
|
13701
|
-
|
13702
|
-
|
13703
|
-
|
13704
|
-
|
13768
|
+
3: {
|
13769
|
+
get: {
|
13770
|
+
body: unknown;
|
13771
|
+
params: {};
|
13772
|
+
query: {
|
13773
|
+
chainId?: number | undefined;
|
13774
|
+
pool?: string | undefined;
|
13775
|
+
positionId?: string | undefined;
|
13776
|
+
address: string;
|
13777
|
+
};
|
13778
|
+
headers: unknown;
|
13779
|
+
response: {
|
13780
|
+
200: {
|
13781
|
+
[x: number]: Record<string, Record<string, {
|
13782
|
+
campaignId: string;
|
13783
|
+
amount: string;
|
13784
|
+
claimed: string;
|
13785
|
+
pending: string;
|
13786
|
+
reason: string;
|
13787
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
13788
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
13789
|
+
}[]>>;
|
13790
|
+
};
|
13791
|
+
};
|
13705
13792
|
};
|
13706
|
-
|
13707
|
-
|
13708
|
-
|
13709
|
-
|
13793
|
+
};
|
13794
|
+
};
|
13795
|
+
} & {
|
13796
|
+
reward: {
|
13797
|
+
4: {
|
13798
|
+
get: {
|
13799
|
+
body: unknown;
|
13800
|
+
params: {};
|
13801
|
+
query: {
|
13802
|
+
chainId?: number | undefined;
|
13803
|
+
pool?: string | undefined;
|
13804
|
+
positionId?: string | undefined;
|
13805
|
+
address: string;
|
13806
|
+
};
|
13807
|
+
headers: unknown;
|
13808
|
+
response: {
|
13809
|
+
200: {
|
13810
|
+
[x: number]: Record<string, Record<string, {
|
13811
|
+
campaignId: string;
|
13812
|
+
amount: string;
|
13813
|
+
claimed: string;
|
13814
|
+
pending: string;
|
13815
|
+
reason: string;
|
13816
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
13817
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
13818
|
+
}[]>>;
|
13819
|
+
};
|
13710
13820
|
};
|
13711
13821
|
};
|
13712
13822
|
};
|
@@ -18617,19 +18727,54 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18617
18727
|
};
|
18618
18728
|
uniswap: {
|
18619
18729
|
reward: {
|
18620
|
-
|
18621
|
-
|
18622
|
-
|
18623
|
-
|
18624
|
-
|
18625
|
-
|
18626
|
-
|
18627
|
-
|
18628
|
-
|
18629
|
-
|
18630
|
-
|
18631
|
-
|
18632
|
-
|
18730
|
+
3: {
|
18731
|
+
get: (options: {
|
18732
|
+
headers?: Record<string, unknown> | undefined;
|
18733
|
+
query: {
|
18734
|
+
chainId?: number | undefined;
|
18735
|
+
pool?: string | undefined;
|
18736
|
+
positionId?: string | undefined;
|
18737
|
+
address: string;
|
18738
|
+
};
|
18739
|
+
fetch?: RequestInit | undefined;
|
18740
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18741
|
+
200: {
|
18742
|
+
[x: number]: Record<string, Record<string, {
|
18743
|
+
campaignId: string;
|
18744
|
+
amount: string;
|
18745
|
+
claimed: string;
|
18746
|
+
pending: string;
|
18747
|
+
reason: string;
|
18748
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
18749
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
18750
|
+
}[]>>;
|
18751
|
+
};
|
18752
|
+
}>>;
|
18753
|
+
};
|
18754
|
+
4: {
|
18755
|
+
get: (options: {
|
18756
|
+
headers?: Record<string, unknown> | undefined;
|
18757
|
+
query: {
|
18758
|
+
chainId?: number | undefined;
|
18759
|
+
pool?: string | undefined;
|
18760
|
+
positionId?: string | undefined;
|
18761
|
+
address: string;
|
18762
|
+
};
|
18763
|
+
fetch?: RequestInit | undefined;
|
18764
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18765
|
+
200: {
|
18766
|
+
[x: number]: Record<string, Record<string, {
|
18767
|
+
campaignId: string;
|
18768
|
+
amount: string;
|
18769
|
+
claimed: string;
|
18770
|
+
pending: string;
|
18771
|
+
reason: string;
|
18772
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
18773
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
18774
|
+
}[]>>;
|
18775
|
+
};
|
18776
|
+
}>>;
|
18777
|
+
};
|
18633
18778
|
};
|
18634
18779
|
v4: ((params: {
|
18635
18780
|
poolId: string | number;
|
@@ -22605,19 +22750,54 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
22605
22750
|
};
|
22606
22751
|
uniswap: {
|
22607
22752
|
reward: {
|
22608
|
-
|
22609
|
-
|
22610
|
-
|
22611
|
-
|
22612
|
-
|
22613
|
-
|
22614
|
-
|
22615
|
-
|
22616
|
-
|
22617
|
-
|
22618
|
-
|
22619
|
-
|
22620
|
-
|
22753
|
+
3: {
|
22754
|
+
get: (options: {
|
22755
|
+
headers?: Record<string, unknown> | undefined;
|
22756
|
+
query: {
|
22757
|
+
chainId?: number | undefined;
|
22758
|
+
pool?: string | undefined;
|
22759
|
+
positionId?: string | undefined;
|
22760
|
+
address: string;
|
22761
|
+
};
|
22762
|
+
fetch?: RequestInit | undefined;
|
22763
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22764
|
+
200: {
|
22765
|
+
[x: number]: Record<string, Record<string, {
|
22766
|
+
campaignId: string;
|
22767
|
+
amount: string;
|
22768
|
+
claimed: string;
|
22769
|
+
pending: string;
|
22770
|
+
reason: string;
|
22771
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
22772
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
22773
|
+
}[]>>;
|
22774
|
+
};
|
22775
|
+
}>>;
|
22776
|
+
};
|
22777
|
+
4: {
|
22778
|
+
get: (options: {
|
22779
|
+
headers?: Record<string, unknown> | undefined;
|
22780
|
+
query: {
|
22781
|
+
chainId?: number | undefined;
|
22782
|
+
pool?: string | undefined;
|
22783
|
+
positionId?: string | undefined;
|
22784
|
+
address: string;
|
22785
|
+
};
|
22786
|
+
fetch?: RequestInit | undefined;
|
22787
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
22788
|
+
200: {
|
22789
|
+
[x: number]: Record<string, Record<string, {
|
22790
|
+
campaignId: string;
|
22791
|
+
amount: string;
|
22792
|
+
claimed: string;
|
22793
|
+
pending: string;
|
22794
|
+
reason: string;
|
22795
|
+
rewardToken: import("../modules/v4/token/token.model").Token["model"];
|
22796
|
+
opportunity: import("../modules/v4/opportunity").Opportunity["model"];
|
22797
|
+
}[]>>;
|
22798
|
+
};
|
22799
|
+
}>>;
|
22800
|
+
};
|
22621
22801
|
};
|
22622
22802
|
v4: ((params: {
|
22623
22803
|
poolId: string | number;
|
@@ -33,7 +33,7 @@ export declare class GammaProcessor extends GenericProcessor<callKeysGamma, data
|
|
33
33
|
round4: callType[];
|
34
34
|
};
|
35
35
|
processingRound2(typeInfo: dataRawGamma): void;
|
36
|
-
processingRound5(
|
36
|
+
processingRound5(_index: number, type: tokenType, typeInfo: dataRawGamma, _calls: string[], campaign: CampaignParameters<Campaign.ERC20> | CampaignParameters<Campaign.EULER>, pricer: Pricer): Promise<dataTypeGamma>;
|
37
37
|
computeRound1(type: tokenType, typeInfo: dataRawGamma): tokenTypeStruct;
|
38
38
|
computeRound2(index: number, type: tokenType, typeInfo: dataRawGamma, calls: string[]): tokenTypeStruct;
|
39
39
|
computeRound3(index: number, type: tokenType, typeInfo: dataRawGamma, calls: string[]): tokenTypeStruct;
|
@@ -22,7 +22,7 @@ export class GammaProcessor extends GenericProcessor {
|
|
22
22
|
typeInfo.balanceToken0 = typeInfo.tokenBalances[0];
|
23
23
|
typeInfo.balanceToken1 = typeInfo.tokenBalances[1];
|
24
24
|
}
|
25
|
-
async processingRound5(
|
25
|
+
async processingRound5(_index, type, typeInfo, _calls, campaign, pricer) {
|
26
26
|
const { whitelistedSupplyTargetToken, totalSupply, blacklistedSupply } = this.handleWhiteListBlacklistRound5(typeInfo, campaign);
|
27
27
|
const decimalsToken0 = Number(typeInfo.decimalsToken0);
|
28
28
|
const decimalsToken1 = Number(typeInfo.decimalsToken1);
|
@@ -119,7 +119,7 @@ export class ClammMetadata {
|
|
119
119
|
return `https://oku.trade/app/${uniswapV3OkuChains[computeChainId]}/liquidity/${params.poolAddress} `;
|
120
120
|
return `https://app.uniswap.org/explore/pools/${sanitizeChainName(computeChainId)}/${poolAddress?.toLowerCase()}`;
|
121
121
|
},
|
122
|
-
//Pool address mappings
|
122
|
+
// Pool address mappings
|
123
123
|
Sonex: ({ poolAddress }) => `https://app.sonex.so/explore/pools/${poolAddress}`,
|
124
124
|
KYO: ({ poolAddress }) => `https://app.kyo.finance/liquidity/${poolAddress}`,
|
125
125
|
SushiSwapV3: ({ poolAddress }) => `https://www.sushi.com/${sushiswapv3Chains[computeChainId] ?? sanitizeChainName(computeChainId)}/pool/v3/${poolAddress}`,
|
@@ -128,7 +128,7 @@ export class ClammMetadata {
|
|
128
128
|
ThirdTrade: ({ poolAddress }) => `https://third.trade/pool/${poolAddress}`,
|
129
129
|
Katana: ({ poolAddress }) => `https://app.roninchain.com/liquidity/${poolAddress}`,
|
130
130
|
SyncswapV3: ({ poolAddress }) => `https://syncswap.xyz/pool/${poolAddress}`,
|
131
|
-
//Token address mappings
|
131
|
+
// Token address mappings
|
132
132
|
Camelot: ({ token0, token1 }) => `https://app.camelot.exchange/liquidity?type=v3&token1=${token0}&token2=${token1}`,
|
133
133
|
QuickswapAlgebra: ({ token0, token1 }) => `https://quickswap.exchange/#/pools?currency0=${token0}¤cy1=${token1}`,
|
134
134
|
QuickswapUni: ({ token0, token1 }) => `https://quickswap.exchange/#/pools?currency0=${token0}¤cy1=${token1}`,
|
@@ -137,20 +137,20 @@ export class ClammMetadata {
|
|
137
137
|
KOI: ({ token0, token1 }) => `https://dapp.koi.finance/pool/v3/new/${token0}/${token1}`,
|
138
138
|
zkSwap: ({ token0, token1 }) => `https://www.zkswap.finance/add/${token0}/${token1}/2000?chain=${computeChainId}`,
|
139
139
|
Velodrome: ({ token0, token1 }) => `https://velodrome.finance/pools?token0=${token0}&token1=${token1}&type=1&chain=${computeChainId}`,
|
140
|
-
//Token address and pool fess
|
140
|
+
// Token address and pool fess
|
141
141
|
PancakeSwapV3: ({ token0, token1, poolFee }) => `https://pancakeswap.finance/add/${token0}/${token1}/${sanitizeFee(poolFee)}?chain=${pancakeswapChains[computeChainId] ?? sanitizeChainName(computeChainId)}`,
|
142
142
|
BaseSwap: ({ token0, token1, poolFee }) => `https://${computeChainId === ChainId.MODE ? "swapmode" : "baseswap"}.fi/addV3?currencyIdA=${token0}¤cyIdB=${token1}&feeAmount=${sanitizeFee(poolFee)}`,
|
143
143
|
Voltage: ({ token0, token1, poolFee }) => `https://app.voltage.finance/add/${token0}/${token1}?version=v3&feeAmount=${sanitizeFee(poolFee)}`,
|
144
144
|
Izumi: ({ token0, token1, poolFee }) => `https://${computeChainId === ChainId.ROOTSTOCK ? "woodswap.org" : "izumi.finance"}/trade/add-liquidity/?token0=${token0}&token1=${token1}&chainId=${computeChainId}&fee=${Number(poolFee) * 10000}`,
|
145
145
|
SupswapV3: ({ token0, token1, poolFee }) => `https://supswap.xyz/add/${token0}/${token1}/${sanitizeFee(poolFee)}`,
|
146
146
|
Iguana: ({ token0, token1, poolFee }) => `https://www.iguanadex.com/add/${token0}/${token1}/${sanitizeFee(poolFee)}?chain=${sanitizeChainName(computeChainId)}`,
|
147
|
-
//Token symbols
|
147
|
+
// Token symbols
|
148
148
|
Stryke: ({ symbolToken0, symbolToken1 }) => `https://www.stryke.xyz/en/trade/arbitrum/${symbolToken0}-${symbolToken1}`,
|
149
149
|
StrykePCS: ({ symbolToken0, symbolToken1 }) => `https://pancakeswap.stryke.xyz/${symbolToken0}-${symbolToken1}?mode=LP`,
|
150
150
|
StrykeSushi: ({ symbolToken0, symbolToken1 }) => `https://sushiswap.stryke.xyz/${symbolToken0}-${symbolToken1}?mode=LP`,
|
151
|
-
//Token symbols and pool fees
|
151
|
+
// Token symbols and pool fees
|
152
152
|
Neptune: ({ symbolToken0, symbolToken1, poolFee }) => `https://app.nep.finance/add/${symbolToken0}/${symbolToken1}/${sanitizeFee(poolFee)}`,
|
153
|
-
//Protocols without unique links for pools
|
153
|
+
// Protocols without unique links for pools
|
154
154
|
Retro: () => "https://retro.finance/liquidity/managev3",
|
155
155
|
Horiza: () => "https:/app.horiza.io/liquidity",
|
156
156
|
Thruster: () => "https://app.thruster.finance/add",
|
@@ -160,7 +160,15 @@ export class ClammMetadata {
|
|
160
160
|
Ramses: () => "https://app.ramses.exchange/swap",
|
161
161
|
SwapX: () => "https://swapx.fi/earn",
|
162
162
|
ZERO: () => "https://www.zkzero.fi/",
|
163
|
+
Hyperswap: () => "https://hyperswap.exchange/",
|
163
164
|
};
|
164
|
-
|
165
|
+
let ammString = params.amm.toString();
|
166
|
+
try {
|
167
|
+
if (params.amm === Number(Number.parseInt(params.amm.toString()))) {
|
168
|
+
ammString = AMM[params.amm];
|
169
|
+
}
|
170
|
+
}
|
171
|
+
catch { }
|
172
|
+
return ammLinkMap[ammString]?.(params)?.toLowerCase();
|
165
173
|
}
|
166
174
|
}
|
package/dist/src/index.d.ts
CHANGED
@@ -5008,18 +5008,58 @@ declare const app: Elysia<"", false, {
|
|
5008
5008
|
v4: {
|
5009
5009
|
uniswap: {
|
5010
5010
|
reward: {
|
5011
|
-
|
5012
|
-
|
5013
|
-
|
5014
|
-
|
5015
|
-
|
5016
|
-
|
5017
|
-
|
5011
|
+
3: {
|
5012
|
+
get: {
|
5013
|
+
body: unknown;
|
5014
|
+
params: {};
|
5015
|
+
query: {
|
5016
|
+
chainId?: number | undefined;
|
5017
|
+
pool?: string | undefined;
|
5018
|
+
positionId?: string | undefined;
|
5019
|
+
address: string;
|
5020
|
+
};
|
5021
|
+
headers: unknown;
|
5022
|
+
response: {
|
5023
|
+
200: {
|
5024
|
+
[x: number]: Record<string, Record<string, {
|
5025
|
+
campaignId: string;
|
5026
|
+
amount: string;
|
5027
|
+
claimed: string;
|
5028
|
+
pending: string;
|
5029
|
+
reason: string;
|
5030
|
+
rewardToken: import("./modules/v4/token/token.model").Token["model"];
|
5031
|
+
opportunity: import("./modules/v4/opportunity").Opportunity["model"];
|
5032
|
+
}[]>>;
|
5033
|
+
};
|
5034
|
+
};
|
5018
5035
|
};
|
5019
|
-
|
5020
|
-
|
5021
|
-
|
5022
|
-
|
5036
|
+
};
|
5037
|
+
};
|
5038
|
+
} & {
|
5039
|
+
reward: {
|
5040
|
+
4: {
|
5041
|
+
get: {
|
5042
|
+
body: unknown;
|
5043
|
+
params: {};
|
5044
|
+
query: {
|
5045
|
+
chainId?: number | undefined;
|
5046
|
+
pool?: string | undefined;
|
5047
|
+
positionId?: string | undefined;
|
5048
|
+
address: string;
|
5049
|
+
};
|
5050
|
+
headers: unknown;
|
5051
|
+
response: {
|
5052
|
+
200: {
|
5053
|
+
[x: number]: Record<string, Record<string, {
|
5054
|
+
campaignId: string;
|
5055
|
+
amount: string;
|
5056
|
+
claimed: string;
|
5057
|
+
pending: string;
|
5058
|
+
reason: string;
|
5059
|
+
rewardToken: import("./modules/v4/token/token.model").Token["model"];
|
5060
|
+
opportunity: import("./modules/v4/opportunity").Opportunity["model"];
|
5061
|
+
}[]>>;
|
5062
|
+
};
|
5023
5063
|
};
|
5024
5064
|
};
|
5025
5065
|
};
|
@@ -4878,18 +4878,58 @@ export declare const v4: Elysia<"/v4", false, {
|
|
4878
4878
|
v4: {
|
4879
4879
|
uniswap: {
|
4880
4880
|
reward: {
|
4881
|
-
|
4882
|
-
|
4883
|
-
|
4884
|
-
|
4885
|
-
|
4886
|
-
|
4887
|
-
|
4881
|
+
3: {
|
4882
|
+
get: {
|
4883
|
+
body: unknown;
|
4884
|
+
params: {};
|
4885
|
+
query: {
|
4886
|
+
chainId?: number | undefined;
|
4887
|
+
pool?: string | undefined;
|
4888
|
+
positionId?: string | undefined;
|
4889
|
+
address: string;
|
4890
|
+
};
|
4891
|
+
headers: unknown;
|
4892
|
+
response: {
|
4893
|
+
200: {
|
4894
|
+
[x: number]: Record<string, Record<string, {
|
4895
|
+
campaignId: string;
|
4896
|
+
amount: string;
|
4897
|
+
claimed: string;
|
4898
|
+
pending: string;
|
4899
|
+
reason: string;
|
4900
|
+
rewardToken: import("./token/token.model").Token["model"];
|
4901
|
+
opportunity: import("@/modules/v4/opportunity").Opportunity["model"];
|
4902
|
+
}[]>>;
|
4903
|
+
};
|
4904
|
+
};
|
4888
4905
|
};
|
4889
|
-
|
4890
|
-
|
4891
|
-
|
4892
|
-
|
4906
|
+
};
|
4907
|
+
};
|
4908
|
+
} & {
|
4909
|
+
reward: {
|
4910
|
+
4: {
|
4911
|
+
get: {
|
4912
|
+
body: unknown;
|
4913
|
+
params: {};
|
4914
|
+
query: {
|
4915
|
+
chainId?: number | undefined;
|
4916
|
+
pool?: string | undefined;
|
4917
|
+
positionId?: string | undefined;
|
4918
|
+
address: string;
|
4919
|
+
};
|
4920
|
+
headers: unknown;
|
4921
|
+
response: {
|
4922
|
+
200: {
|
4923
|
+
[x: number]: Record<string, Record<string, {
|
4924
|
+
campaignId: string;
|
4925
|
+
amount: string;
|
4926
|
+
claimed: string;
|
4927
|
+
pending: string;
|
4928
|
+
reason: string;
|
4929
|
+
rewardToken: import("./token/token.model").Token["model"];
|
4930
|
+
opportunity: import("@/modules/v4/opportunity").Opportunity["model"];
|
4931
|
+
}[]>>;
|
4932
|
+
};
|
4893
4933
|
};
|
4894
4934
|
};
|
4895
4935
|
};
|
@@ -14,18 +14,58 @@ export declare const UniswapController: Elysia<"uniswap", false, {
|
|
14
14
|
}, {
|
15
15
|
uniswap: {
|
16
16
|
reward: {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
17
|
+
3: {
|
18
|
+
get: {
|
19
|
+
body: unknown;
|
20
|
+
params: {};
|
21
|
+
query: {
|
22
|
+
chainId?: number | undefined;
|
23
|
+
pool?: string | undefined;
|
24
|
+
positionId?: string | undefined;
|
25
|
+
address: string;
|
26
|
+
};
|
27
|
+
headers: unknown;
|
28
|
+
response: {
|
29
|
+
200: {
|
30
|
+
[x: number]: Record<string, Record<string, {
|
31
|
+
campaignId: string;
|
32
|
+
amount: string;
|
33
|
+
claimed: string;
|
34
|
+
pending: string;
|
35
|
+
reason: string;
|
36
|
+
rewardToken: import("../token/token.model").Token["model"];
|
37
|
+
opportunity: import("../opportunity").Opportunity["model"];
|
38
|
+
}[]>>;
|
39
|
+
};
|
40
|
+
};
|
24
41
|
};
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
42
|
+
};
|
43
|
+
};
|
44
|
+
} & {
|
45
|
+
reward: {
|
46
|
+
4: {
|
47
|
+
get: {
|
48
|
+
body: unknown;
|
49
|
+
params: {};
|
50
|
+
query: {
|
51
|
+
chainId?: number | undefined;
|
52
|
+
pool?: string | undefined;
|
53
|
+
positionId?: string | undefined;
|
54
|
+
address: string;
|
55
|
+
};
|
56
|
+
headers: unknown;
|
57
|
+
response: {
|
58
|
+
200: {
|
59
|
+
[x: number]: Record<string, Record<string, {
|
60
|
+
campaignId: string;
|
61
|
+
amount: string;
|
62
|
+
claimed: string;
|
63
|
+
pending: string;
|
64
|
+
reason: string;
|
65
|
+
rewardToken: import("../token/token.model").Token["model"];
|
66
|
+
opportunity: import("../opportunity").Opportunity["model"];
|
67
|
+
}[]>>;
|
68
|
+
};
|
29
69
|
};
|
30
70
|
};
|
31
71
|
};
|