timelock-sdk 0.0.232 → 0.0.233
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.cjs +4 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +14969 -2
- package/dist/client.d.ts +14969 -2
- package/dist/client.js +4 -2
- package/dist/client.js.map +1 -1
- package/dist/{client-BGl9aQIQ.d.cts → index-BmtsN9wK.d.cts} +1121 -16088
- package/dist/{client-DCMXLt5x.d.ts → index-i8Br_kH0.d.ts} +532 -15499
- package/dist/package.cjs +1 -16
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +1 -14
- package/package.json +1 -1
- package/dist/package.cjs.map +0 -1
- package/dist/package.js.map +0 -1
package/dist/client.cjs
CHANGED
|
@@ -1101,7 +1101,8 @@ const useMintOption = (marketAddr) => {
|
|
|
1101
1101
|
amount,
|
|
1102
1102
|
strikeTick,
|
|
1103
1103
|
duration,
|
|
1104
|
-
0
|
|
1104
|
+
0,
|
|
1105
|
+
"0x"
|
|
1105
1106
|
]);
|
|
1106
1107
|
const maxPremium = (premium + protocolFee) * 11n / 10n;
|
|
1107
1108
|
await askForApproval(payoutAsset, marketAddr, maxPremium);
|
|
@@ -1117,7 +1118,8 @@ const useMintOption = (marketAddr) => {
|
|
|
1117
1118
|
duration,
|
|
1118
1119
|
maxPremium,
|
|
1119
1120
|
maxSteps,
|
|
1120
|
-
await timelockLens.read.getRefTick([vault, strikeTick])
|
|
1121
|
+
await timelockLens.read.getRefTick([vault, strikeTick]),
|
|
1122
|
+
"0x"
|
|
1121
1123
|
]
|
|
1122
1124
|
});
|
|
1123
1125
|
await (0, viem_actions.waitForTransactionReceipt)(client, { hash });
|