timelock-sdk 0.0.155 → 0.0.156
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/{client-BSOaCDXS.d.ts → client-DfG9023x.d.ts} +304 -557
- package/dist/{client-HrsZMFVQ.d.cts → client-L8_H45kU.d.cts} +98 -351
- package/dist/client.cjs +2 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -5
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -2187,16 +2187,13 @@ const usePauseMarketTrading = ({ marketAddr }) => {
|
|
|
2187
2187
|
//#region src/hooks/fees/useFeeRates.ts
|
|
2188
2188
|
const useFeeRates = (feeStrategy) => {
|
|
2189
2189
|
const { timelockLens } = useLens();
|
|
2190
|
-
const { data
|
|
2190
|
+
const { data } = (0, wagmi.useReadContract)({
|
|
2191
2191
|
address: timelockLens === null || timelockLens === void 0 ? void 0 : timelockLens.address,
|
|
2192
2192
|
abi: require_optionsMarket.lensAbi,
|
|
2193
2193
|
args: feeStrategy ? [feeStrategy] : void 0,
|
|
2194
2194
|
functionName: "getFeeRates"
|
|
2195
2195
|
});
|
|
2196
|
-
return {
|
|
2197
|
-
data: data || {},
|
|
2198
|
-
...rest
|
|
2199
|
-
};
|
|
2196
|
+
return data || {};
|
|
2200
2197
|
};
|
|
2201
2198
|
|
|
2202
2199
|
//#endregion
|