@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhedge/v2-sdk",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "license": "MIT",
5
5
  "description": "🛠 An SDK for building applications on top of dHEDGE V2",
6
6
  "main": "dist/index.js",
@@ -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
 
@@ -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