@merkl/api 1.1.37 → 1.1.38
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 +4 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +2 -2
- package/dist/src/modules/v4/router.d.ts +1 -0
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +1 -0
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -0
- package/dist/src/routes/v3/router.d.ts +1 -0
- package/dist/src/routes/v3/uniswapv4.d.ts +1 -0
- package/dist/src/utils/encodeCalls.d.ts +1 -1
- package/dist/src/utils/providers.d.ts +3 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -1432,6 +1432,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
1432
1432
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1433
1433
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1434
1434
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1435
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1435
1436
|
} | null;
|
1436
1437
|
};
|
1437
1438
|
};
|
@@ -10999,6 +11000,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
10999
11000
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11000
11001
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11001
11002
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11003
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11002
11004
|
};
|
11003
11005
|
};
|
11004
11006
|
};
|
@@ -13183,6 +13185,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
13183
13185
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
13184
13186
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
13185
13187
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
13188
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
13186
13189
|
} | null;
|
13187
13190
|
}>>;
|
13188
13191
|
pool: ((params: {
|
@@ -21875,6 +21878,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
21875
21878
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
21876
21879
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
21877
21880
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
21881
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
21878
21882
|
};
|
21879
21883
|
}>>;
|
21880
21884
|
};
|
package/dist/src/index.d.ts
CHANGED
@@ -1433,6 +1433,7 @@ declare const app: Elysia<"", {
|
|
1433
1433
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1434
1434
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1435
1435
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1436
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1436
1437
|
} | null;
|
1437
1438
|
};
|
1438
1439
|
};
|
@@ -11000,6 +11001,7 @@ declare const app: Elysia<"", {
|
|
11000
11001
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11001
11002
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11002
11003
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11004
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
11003
11005
|
};
|
11004
11006
|
};
|
11005
11007
|
};
|
@@ -385,8 +385,8 @@ export declare abstract class CampaignService {
|
|
385
385
|
static getDailyAmount<T extends bigint | number>(start: T, end: T, amount: bigint): bigint;
|
386
386
|
static createFakeCampaign<C extends CampaignType>(body: CampaignConfigMinimalModel): CampaignParameters<C>;
|
387
387
|
static createFakeCampaignEngine(body: CampaignConfigMinimalModel): {
|
388
|
-
computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY | ChainId.TAC;
|
389
|
-
chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY | ChainId.TAC;
|
388
|
+
computeChainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY | ChainId.TAC | ChainId.XRPLEVM;
|
389
|
+
chainId: ChainId.ARBITRUM | ChainId.AVALANCHE | ChainId.BASE | ChainId.BSC | ChainId.CELO | ChainId.CORE | ChainId.FANTOM | ChainId.FUSE | ChainId.XLAYER | ChainId.GNOSIS | ChainId.LINEA | ChainId.MAINNET | ChainId.MANTLE | ChainId.OPTIMISM | ChainId.POLYGON | ChainId.POLYGONZKEVM | ChainId.THUNDERCORE | ChainId.ZKSYNC | ChainId.SCROLL | ChainId.MANTA | ChainId.IMMUTABLE | ChainId.BLAST | ChainId.MODE | ChainId.ASTAR | ChainId.ROOTSTOCK | ChainId.TAIKO | ChainId.SEI | ChainId.MOONBEAM | ChainId.SKALE | ChainId.FRAXTAL | ChainId.BOB | ChainId.WORLDCHAIN | ChainId.ETHERLINK | ChainId.LISK | ChainId.UNICHAIN | ChainId.BERACHAIN | ChainId.SWELL | ChainId.ARTHERA | ChainId.SONIC | ChainId.CORN | ChainId.SONEIUM | ChainId.INK | ChainId.RONIN | ChainId.FLOW | ChainId.NIBIRU | ChainId.APECHAIN | ChainId.HYPEREVM | ChainId.ZIRCUIT | ChainId.HEMI | ChainId.SAGA_EVM | ChainId.PLUME | ChainId.XDC | ChainId.KATANA | ChainId.REDBELLY | ChainId.TAC | ChainId.XRPLEVM;
|
390
390
|
campaignId: string;
|
391
391
|
creator: string;
|
392
392
|
type: CampaignType;
|
@@ -9531,6 +9531,7 @@ export declare const v4: Elysia<"/v4", {
|
|
9531
9531
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
9532
9532
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
9533
9533
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
9534
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
9534
9535
|
};
|
9535
9536
|
};
|
9536
9537
|
};
|
@@ -155,6 +155,7 @@ export declare const UniswapController: Elysia<"uniswap", {
|
|
155
155
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
156
156
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
157
157
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
158
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
158
159
|
};
|
159
160
|
};
|
160
161
|
};
|
@@ -68,6 +68,7 @@ export declare abstract class UniswapService {
|
|
68
68
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
69
69
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
70
70
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
71
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
71
72
|
}>;
|
72
73
|
}
|
73
74
|
export declare abstract class EkuboService {
|
@@ -127,5 +128,6 @@ export declare abstract class EkuboService {
|
|
127
128
|
747474?: Record<string, EkuboPoolType> | undefined;
|
128
129
|
151?: Record<string, EkuboPoolType> | undefined;
|
129
130
|
239?: Record<string, EkuboPoolType> | undefined;
|
131
|
+
1440000?: Record<string, EkuboPoolType> | undefined;
|
130
132
|
}>;
|
131
133
|
}
|
@@ -1236,6 +1236,7 @@ export declare const v3: Elysia<"/v3", {
|
|
1236
1236
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1237
1237
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1238
1238
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1239
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
1239
1240
|
} | null;
|
1240
1241
|
};
|
1241
1242
|
};
|
@@ -77,6 +77,7 @@ declare const _default: (app: Elysia) => Elysia<"", {
|
|
77
77
|
747474?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
78
78
|
151?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
79
79
|
239?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
80
|
+
1440000?: Record<string, import("@angleprotocol/sdk/ts").CLAMMPoolType> | undefined;
|
80
81
|
} | null;
|
81
82
|
};
|
82
83
|
};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import {
|
1
|
+
import type { CallDto } from "@angleprotocol/sdk/ts";
|
2
2
|
import { Erc20SubType } from "../engine/implementations/Erc20/subTypes";
|
3
3
|
export declare function createCall(target: string, key: string, type?: Erc20SubType, metaData?: any): CallDto;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type Multicall } from "@
|
1
|
+
import { type Multicall } from "@package/contracts";
|
2
2
|
import { type ethers } from "ethers";
|
3
3
|
export declare const providers: {
|
4
4
|
42161: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
@@ -60,6 +60,7 @@ export declare const providers: {
|
|
60
60
|
747474: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
61
61
|
151: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
62
62
|
239: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
63
|
+
1440000: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
63
64
|
};
|
64
65
|
export declare const archiveProviders: {
|
65
66
|
42161: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
@@ -121,6 +122,7 @@ export declare const archiveProviders: {
|
|
121
122
|
747474: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
122
123
|
151: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
123
124
|
239: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
125
|
+
1440000: ethers.providers.StaticJsonRpcProvider | ethers.providers.InfuraProvider;
|
124
126
|
};
|
125
127
|
export declare const multicalls: {
|
126
128
|
[chainId: number]: Multicall;
|