@dhedge/v2-sdk 1.10.14 → 1.10.15
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/test/constants.d.ts +2 -0
- package/dist/v2-sdk.cjs.development.js +4 -3
- package/dist/v2-sdk.cjs.development.js.map +1 -1
- package/dist/v2-sdk.cjs.production.min.js +1 -1
- package/dist/v2-sdk.cjs.production.min.js.map +1 -1
- package/dist/v2-sdk.esm.js +4 -3
- package/dist/v2-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/services/flatmoney/keeperFee.ts +1 -1
- package/src/test/constants.ts +4 -2
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ export const getKeeperFee = async (
|
|
|
38
38
|
const keeperFeeContract = await getKeeperFeeContract(pool);
|
|
39
39
|
|
|
40
40
|
const feeHistory = await (pool.signer
|
|
41
|
-
.provider as JsonRpcProvider).send("eth_feeHistory", [1, "latest"]);
|
|
41
|
+
.provider as JsonRpcProvider).send("eth_feeHistory", [1, "latest", []]);
|
|
42
42
|
|
|
43
43
|
const gasPrice = Number(feeHistory.baseFeePerGas[0]);
|
|
44
44
|
|
package/src/test/constants.ts
CHANGED
|
@@ -42,7 +42,8 @@ export const TEST_POOL = {
|
|
|
42
42
|
[Network.POLYGON]: "0x699fd4d6eadb216704c7e355cfa0a12f51813163",
|
|
43
43
|
[Network.OPTIMISM]: "0x12573bfdf764ab9d52aca20e2827497a66829716",
|
|
44
44
|
[Network.ARBITRUM]: "0x0b5f6591c8eb23e5a68102d3d39ebbb464ee5c14",
|
|
45
|
-
[Network.BASE]: "0x4842b42F68524383F609aa46eAfc18c1459cE3cD"
|
|
45
|
+
[Network.BASE]: "0x4842b42F68524383F609aa46eAfc18c1459cE3cD",
|
|
46
|
+
[Network.SONIC]: ""
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
export const CONTRACT_ADDRESS = {
|
|
@@ -151,7 +152,8 @@ export const CONTRACT_ADDRESS = {
|
|
|
151
152
|
VELODROME_CL_USDC_WETH_GAUGE: "",
|
|
152
153
|
VELO: "",
|
|
153
154
|
COMPOUNDV3_WETH: "",
|
|
154
|
-
TOROS: ""
|
|
155
|
+
TOROS: "",
|
|
156
|
+
UNIT: ""
|
|
155
157
|
}
|
|
156
158
|
};
|
|
157
159
|
|