@clonegod/ttd-base-common 1.1.1 → 1.1.3
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/common/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UniswapV3RouterABI = exports.UniswapV3PoolABI = exports.EVENT_SIGNATURES = exports.EVENT_NAMES = exports.WETH_ADDRESS = exports.NATIVE_ETH_ADDRESS = exports.BASE_CHAIN_ID = void 0;
|
|
3
|
+
exports.UniswapV3RouterABI = exports.SlipstreamV3PoolABI = exports.UniswapV3PoolABI = exports.EVENT_SIGNATURES = exports.EVENT_NAMES = exports.WETH_ADDRESS = exports.NATIVE_ETH_ADDRESS = exports.BASE_CHAIN_ID = void 0;
|
|
4
4
|
exports.BASE_CHAIN_ID = 8453;
|
|
5
5
|
exports.NATIVE_ETH_ADDRESS = '0x0000000000000000000000000000000000000000';
|
|
6
6
|
exports.WETH_ADDRESS = '0x4200000000000000000000000000000000000006';
|
|
@@ -33,6 +33,20 @@ exports.UniswapV3PoolABI = [
|
|
|
33
33
|
"event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)",
|
|
34
34
|
"event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)"
|
|
35
35
|
];
|
|
36
|
+
exports.SlipstreamV3PoolABI = [
|
|
37
|
+
"function slot0() external view returns (uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, bool unlocked)",
|
|
38
|
+
"function liquidity() external view returns (uint128)",
|
|
39
|
+
"function tickSpacing() external view returns (int24)",
|
|
40
|
+
"function factory() external view returns (address)",
|
|
41
|
+
"function token0() external view returns (address)",
|
|
42
|
+
"function token1() external view returns (address)",
|
|
43
|
+
"function fee() external view returns (uint24)",
|
|
44
|
+
"function ticks(int24 tick) external view returns (uint128 liquidityGross, int128 liquidityNet, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)",
|
|
45
|
+
"function tickBitmap(int16 wordPosition) external view returns (uint256)",
|
|
46
|
+
"event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint128 protocolFeesToken0, uint128 protocolFeesToken1)",
|
|
47
|
+
"event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)",
|
|
48
|
+
"event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)"
|
|
49
|
+
];
|
|
36
50
|
exports.UniswapV3RouterABI = [
|
|
37
51
|
'function exactInputSingle(tuple(address tokenIn, address tokenOut, uint24 fee, address recipient, uint256 amountIn, uint256 amountOutMinimum, uint160 sqrtPriceLimitX96)) external payable returns (uint256 amountOut)',
|
|
38
52
|
'function exactInput(tuple(bytes path, address recipient, uint256 deadline, uint256 amountIn, uint256 amountOutMinimum)) external payable returns (uint256 amountOut)',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clonegod/ttd-base-common",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Base common library",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@clonegod/ttd-core": "3.1.75",
|
|
18
|
-
"axios": "
|
|
18
|
+
"axios": "1.15.0",
|
|
19
19
|
"dotenv": "^16.4.7",
|
|
20
20
|
"ethers": "^5.8.0"
|
|
21
21
|
},
|