hookr-sdk 1.1.0 → 1.1.1
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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
README only, no code changes. 1.1.0's README said the SDK's builders always open a pool with the pot off. `defaultRulesLaunch` does, and `checkRulesConfig` refuses a pot, but `buildLaunch` encodes the Rules config you pass it, pot included.
|
|
6
|
+
|
|
3
7
|
## 1.1.0
|
|
4
8
|
|
|
5
9
|
The Rules modules `HookrRoot` admits beside the release's own, and Wallet Cap, which runs on one of them.
|
package/README.md
CHANGED
|
@@ -308,7 +308,7 @@ A pool with arb recapture on lets What The Hook's executor close the price gap b
|
|
|
308
308
|
| What The Hook | up to 25% (`MAX_LANE_PARTNER_BPS`, 2,500), what its executor keeps |
|
|
309
309
|
| The pool | the rest: the trader's rebate (0 to 50% of it, 25% by default), the King of the Pool pot (off by default; up to 50% of it on the standard and round-trip Rules, up to all of it on the whole-pot and Wallet Cap Rules) and the LPs |
|
|
310
310
|
|
|
311
|
-
The pool's split is frozen at launch. `recaptureSplit` and `recaptureProfit` work it out to the wei; `recaptureSplit` takes a pot of up to 50%.
|
|
311
|
+
The pool's split is frozen at launch. `recaptureSplit` and `recaptureProfit` work it out to the wei; `recaptureSplit` takes a pot of up to 50%. `defaultRulesLaunch` leaves the pot off and `checkRulesConfig` refuses one, but `buildLaunch` encodes the Rules config you pass it, pot included. The LPs' part is released over `releaseBlocks` L2 blocks: 1,200 to 864,000, 36,000 by default. The release counts at most 10 of them a second, so 36,000 blocks take at least an hour.
|
|
312
312
|
|
|
313
313
|
The lane's switch is not frozen: the registry's owner, or its guardian once one is appointed, can switch the lane off, or lower its gas cap, for every pool that froze it, at once, and the swaps then skip or shrink arb recapture. Switching it back on, or raising the cap, waits in the registry's 30-minute timelock. The switch touches nothing else of the pool.
|
|
314
314
|
|
package/package.json
CHANGED