@floorlaunchpad/sdk-evm 0.0.0-stage → 0.1.0

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.
Files changed (67) hide show
  1. package/LICENSE +61 -0
  2. package/README.md +154 -2
  3. package/dist/abi/floor.d.ts +1315 -0
  4. package/dist/abi/floor.d.ts.map +1 -0
  5. package/dist/abi/floor.js +154 -0
  6. package/dist/abi/floor.js.map +1 -0
  7. package/dist/abi/generated.d.ts +12824 -0
  8. package/dist/abi/generated.d.ts.map +1 -0
  9. package/dist/abi/generated.js +1264 -0
  10. package/dist/abi/generated.js.map +1 -0
  11. package/dist/abi/index.d.ts +2 -0
  12. package/dist/abi/index.d.ts.map +1 -0
  13. package/dist/abi/index.js +2 -0
  14. package/dist/abi/index.js.map +1 -0
  15. package/dist/adapter.d.ts +89 -0
  16. package/dist/adapter.d.ts.map +1 -0
  17. package/dist/adapter.js +250 -0
  18. package/dist/adapter.js.map +1 -0
  19. package/dist/deployments.d.ts +154 -0
  20. package/dist/deployments.d.ts.map +1 -0
  21. package/dist/deployments.js +368 -0
  22. package/dist/deployments.js.map +1 -0
  23. package/dist/errors.d.ts +56 -0
  24. package/dist/errors.d.ts.map +1 -0
  25. package/dist/errors.js +42 -0
  26. package/dist/errors.js.map +1 -0
  27. package/dist/events.d.ts +45 -0
  28. package/dist/events.d.ts.map +1 -0
  29. package/dist/events.js +78 -0
  30. package/dist/events.js.map +1 -0
  31. package/dist/fees.d.ts +100 -0
  32. package/dist/fees.d.ts.map +1 -0
  33. package/dist/fees.js +156 -0
  34. package/dist/fees.js.map +1 -0
  35. package/dist/index.d.ts +18 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +18 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/pool.d.ts +63 -0
  40. package/dist/pool.d.ts.map +1 -0
  41. package/dist/pool.js +118 -0
  42. package/dist/pool.js.map +1 -0
  43. package/dist/reads.d.ts +107 -0
  44. package/dist/reads.d.ts.map +1 -0
  45. package/dist/reads.js +201 -0
  46. package/dist/reads.js.map +1 -0
  47. package/dist/router.d.ts +99 -0
  48. package/dist/router.d.ts.map +1 -0
  49. package/dist/router.js +132 -0
  50. package/dist/router.js.map +1 -0
  51. package/dist/sale.d.ts +79 -0
  52. package/dist/sale.d.ts.map +1 -0
  53. package/dist/sale.js +123 -0
  54. package/dist/sale.js.map +1 -0
  55. package/dist/send.d.ts +64 -0
  56. package/dist/send.d.ts.map +1 -0
  57. package/dist/send.js +137 -0
  58. package/dist/send.js.map +1 -0
  59. package/dist/simulate.d.ts +180 -0
  60. package/dist/simulate.d.ts.map +1 -0
  61. package/dist/simulate.js +270 -0
  62. package/dist/simulate.js.map +1 -0
  63. package/dist/trade.d.ts +140 -0
  64. package/dist/trade.d.ts.map +1 -0
  65. package/dist/trade.js +170 -0
  66. package/dist/trade.js.map +1 -0
  67. package/package.json +43 -4
package/LICENSE ADDED
@@ -0,0 +1,61 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
10
+
11
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
12
+
13
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
14
+
15
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
16
+
17
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
18
+
19
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
20
+
21
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
22
+
23
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
24
+
25
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
26
+
27
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
28
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
29
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
30
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
31
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
32
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
33
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
34
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
35
+
36
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
37
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
38
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
39
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
40
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
41
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
42
+
43
+ END OF TERMS AND CONDITIONS
44
+
45
+ APPENDIX: How to apply the Apache License to your work.
46
+
47
+ To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
48
+
49
+ Copyright [yyyy] [name of copyright owner]
50
+
51
+ Licensed under the Apache License, Version 2.0 (the "License");
52
+ you may not use this file except in compliance with the License.
53
+ You may obtain a copy of the License at
54
+
55
+ http://www.apache.org/licenses/LICENSE-2.0
56
+
57
+ Unless required by applicable law or agreed to in writing, software
58
+ distributed under the License is distributed on an "AS IS" BASIS,
59
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60
+ See the License for the specific language governing permissions and
61
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,155 @@
1
- # Temporary Holding Version
1
+ # @floorlaunchpad/sdk-evm
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ FLOOR on EVM chains: the ABIs, where the contracts are on each chain, and [viem](https://viem.sh) code to read FLOOR
4
+ launches, quote trades and build unsigned trade transactions. It implements `@floorlaunchpad/sdk`'s `FloorChainAdapter`, so the
5
+ same `FloorClient` serves EVM and Solana launches.
6
+
7
+ `buildTrade` never signs: it returns `{ family: 'evm', chainId, calls }` — every call the action needs, in order (any
8
+ approval the trader has not yet granted, then the trade). `sendEvmCalls` sends them with as few wallet prompts as the wallet
9
+ allows.
10
+
11
+ ## Install
12
+
13
+ ```sh
14
+ npm install @floorlaunchpad/sdk @floorlaunchpad/sdk-evm viem
15
+ ```
16
+
17
+ `@floorlaunchpad/sdk` and `viem` (^2.56.3) are peer dependencies.
18
+
19
+ ## Example
20
+
21
+ ```ts
22
+ import { FloorClient, evmRef } from '@floorlaunchpad/sdk';
23
+ import { createEvmAdapter, sendEvmCalls } from '@floorlaunchpad/sdk-evm';
24
+
25
+ const evm = createEvmAdapter({ chains: [11155111], rpcUrls: { 11155111: 'https://your-sepolia-rpc' } });
26
+ const floor = new FloorClient([evm]);
27
+
28
+ // One registry page, newest first.
29
+ const { launches, cursor } = await floor.listLaunches(evmRef(11155111), { limit: 20 });
30
+ const launch = launches[0]!;
31
+
32
+ // A quote lists the trader's whole take: LP fee, floor skim, creator fee, holder tax, FLOOR Platform fee.
33
+ const q = await evm.quote(launch.ref, 'buy', 10n ** 16n);
34
+
35
+ // The approvals still missing (read now) and the trade, as one batch.
36
+ const tx = await evm.buildTrade({ launch: launch.ref, side: 'buy', amountIn: 10n ** 16n, minAmountOut: (q.amountOut * 99n) / 100n, trader: account.address });
37
+ const sent = await sendEvmCalls(walletClient, tx, {
38
+ onSubmitted: (id) => saveBatchId(id), // a 5792 batch id, handed over before any wait
39
+ onSent: (hash) => saveHash(hash), // each transaction on the one-per-call path
40
+ }); // { path: 'eip5792', id, hashes } or { path: 'transactions', hashes }
41
+ ```
42
+
43
+ ### When sending fails
44
+
45
+ A rejection after something was submitted is not proof that nothing was sent. `sendEvmCalls` throws a `FloorEvmError`
46
+ whose `code` says which case it is:
47
+
48
+ | `code` | Meaning | `id` / `hashes` |
49
+ |---|---|---|
50
+ | `wrong_chain` | The wallet is on another chain. Nothing was sent. | — |
51
+ | `pending` | Something was submitted, but the wait timed out or the status read failed. Keep waiting on what was submitted; do not send the action again. | the batch id / every hash sent |
52
+ | `batch_failed` | The wallet reports the 5792 batch as failed. | the batch id, any receipts' hashes |
53
+ | `reverted` | A transaction on the one-per-call path reverted; the calls after it were not sent. | every hash sent |
54
+
55
+ The waits are explicit options: `batchTimeoutMs` (default `DEFAULT_BATCH_TIMEOUT_MS`, 60 s) for a batch's final status,
56
+ `receiptTimeoutMs` (default `DEFAULT_RECEIPT_TIMEOUT_MS`, 180 s) for each receipt. `wait: false` returns at the batch id.
57
+
58
+ ## Wallet prompts per action
59
+
60
+ | Wallet | Prompts |
61
+ |---|---|
62
+ | Supports an atomic EIP-5792 batch on the chain (`wallet_getCapabilities` → `atomic.status` `supported` / `ready`, or an older wallet's `atomicBatch.supported`; the chain's own entry, else the chain-agnostic `"0x0"` entry) | **1** — one `wallet_sendCalls` (atomic required), the approvals and the trade land together or not at all; the receipts are awaited with `waitForCallsStatus` |
63
+ | No EIP-5792 (`getCapabilities` throws — Privy's embedded wallet did not implement `wallet_sendCalls`), no atomic batch on that chain, or a `wallet_sendCalls` refused as unsupported before anything was sent (codes 4200, -32601, 5700, 5710, 5760) | **one per call** — each call is its own transaction, sent in order, each receipt awaited before the next; a reverted call stops the rest |
64
+
65
+ A first sell of a FloorToken through the UniversalRouter is two calls: Permit2's approval of the router, then the swap. A
66
+ FloorToken reports Permit2 as approved for unlimited by default, so the token's own approval of Permit2 is not needed;
67
+ it is three calls only when the holder has turned that default off, and for a buy paid in an ERC-20 quote (the quote's
68
+ approval of Permit2, Permit2's approval of the router, the swap). After that a trade is one call. A native-quote buy and a
69
+ sell-back are always one call; a bonding buy paid in an ERC-20 quote is two (the approval of the sale, the buy). No action
70
+ ever asks for an off-chain signature (a Permit2 `signTypedData`): Permit2 is approved ON CHAIN, inside the same batch.
71
+
72
+ ### Approvals
73
+
74
+ `buildTrade(params, { approvalAmount })` chooses how much each missing approval grants: `'exact'` (the amount this trade
75
+ spends) or `'unlimited'` (2^255 to a token's spender, Permit2's maximum to a Permit2 spender). The default is `'exact'` for
76
+ a bonding buy, whose spender is the launch's own sale contract, and `'unlimited'` for a pool swap (Permit2, then the
77
+ UniversalRouter or `FloorSwapRatchet`). An ERC-20 allowance that is above 0 but short is set to 0 first, then to the new
78
+ amount, for tokens (USDT among them) that refuse to move an allowance between two non-zero values.
79
+
80
+ ### Gas
81
+
82
+ Every bonding buy carries `gas: BOND_BUY_GAS_FLOOR` (5.1M): any buy while the sale is open can become the one that sells
83
+ it out, and that buy graduates the launch in the same transaction. The limit is honoured on the one-per-call path. On the
84
+ EIP-5792 path calls carry no gas limit and the wallet estimates the batch, so the floor is dropped there.
85
+
86
+ Zero prompts happen only with an embedded wallet the integrator itself controls and signs with; a user's own wallet always
87
+ asks.
88
+
89
+ A local chain (Anvil) or a set not yet in the committed table is passed as a row:
90
+
91
+ ```ts
92
+ createEvmAdapter({ chains: [31337], rpcUrls: { 31337: 'http://127.0.0.1:8545' }, deployments: { 31337: { chainId: 31337, ... } } });
93
+ ```
94
+
95
+ ## What it covers
96
+
97
+ - **ABIs** (`abi/`): the singleton hook (and the per-pool views called through `execute`), launch / sale, token, factory,
98
+ registry, PoolManager `extsload`, UniversalRouter, V4Router, V4Quoter, v3 QuoterV2, Permit2, PoolSwapTest, holder rewards,
99
+ recipient claims, vesting, preset registry, platform treasury, trader referrals, `FloorSwapRatchet`, `FloorZap`, team steps,
100
+ and `FLOOR_ERRORS_ABI` (every error the FLOOR contracts declare, for decoding a revert that bubbled out of a nested call).
101
+ FLOOR's own ABIs are generated from the contracts' build artifacts by `scripts/gen-abi.mjs` (`src/abi/generated.ts`).
102
+ - **Deployments** (`deployments.ts`): per chain id, FLOOR's addresses and Uniswap's v4 addresses, start blocks, router kinds
103
+ and releases. A chain with no FLOOR set is refused by name (`floorDeploymentFor`), never given a zero address. Six chains
104
+ carry a FLOOR set: the mainnets Ethereum (1), Base (8453), BSC (56), Robinhood Chain (4663) and Arc (5042), which share
105
+ one set of contract addresses (deployment `0x…1a`), and the Sepolia test set (11155111). Base also carries
106
+ `zapAerodrome` (a `FloorZap` over Aerodrome's UniversalRouter). Ethereum has no `FloorSwapRatchet`: a ratchet costs about
107
+ 1.4M gas there, so a pool trade goes straight through the UniversalRouter.
108
+ - **Reads**: `getLaunch`, `listLaunches` (one registry page per call), the pool state (`readPoolState`, width-checked), the
109
+ published floor (`floorPriceX18`, off the pool's `floorTick`), and every rate read per launch or per pool.
110
+ - **Quotes**: a bonding buy (the sale's tranche walk), a sell-back (`quoteSellBack`, less the FLOOR Platform fee), each in
111
+ the contract version's own rounding (see "Limits worth knowing"), and a pool trade (Uniswap's V4Quoter, or off-chain with
112
+ `simulateSwap`).
113
+ - **Trades**: bonding buy, sell-back, pool buy / sell through the UniversalRouter (a token input pulled through Permit2,
114
+ approved on chain in the same batch), and the same through `FloorSwapRatchet` (`buildTrade(params, { swapRatchet })`).
115
+ - **Sending**: `sendEvmCalls(walletClient, tx)` — EIP-5792 where atomic, else one transaction per call.
116
+ - **Simulating a pool swap off-chain** (`simulate.ts`): `readSwapSnapshot(client, chainId, poolId)` reads one FLOOR pool
117
+ (the hook's rates and floor, the cushion, slot0, liquidity, the whole tick bitmap and every initialized tick), and
118
+ `simulateSwap(snapshot, side, amountIn)` gives the exact output and its fee parts with no network: Uniswap v4's swap,
119
+ ported from v4-core, with the FLOOR hook's fees around it (exact input only; on a buy the hook's fees come off the quote
120
+ paid in at the pre-swap price's skim, on a sell off the quote paid out at the post-swap price's). Tested against the
121
+ V4Quoter, every amount equal to the wei, two ways (`test/fixtures/simulate/`): on pools created on a fork of Base, a
122
+ native and an ERC-20 quote on each side of the pool, at six pool states (`scripts/fork-parity.mts`); and on the live
123
+ graduated pools of Ethereum, BSC, Base, Robinhood Chain and Arc (Arc's quote is its 18-decimal native USDC), read at one
124
+ block each (`scripts/live-parity.mts`, which also re-records their fixtures). Not yet met on a pool: a non-zero Uniswap
125
+ protocol fee (none of these pools has one; the unit tests cover it). Re-read the snapshot after any swap; `reachedBand`
126
+ marks a sell after which the hook re-places its bid.
127
+ - **Events** (`events.ts`): `decodeFloorLog` / `decodeFloorLogs` decode any log of any contract whose ABI is here, by its
128
+ first topic (`FLOOR_EVENTS`, one layout per selector), and refuse a log whose topics or data do not fit the layout.
129
+ `floorEventTopics(name)` gives an event's selectors for an `eth_getLogs` filter. The twin of `@floorlaunchpad/sdk-solana`'s
130
+ `events.ts`. What the events mean as trades: [`docs/evm-events.md`](../../docs/evm-events.md).
131
+
132
+ ## What it does not cover
133
+
134
+ - Creating launches, claims (creator fees, holder rewards, referrals), vesting, team steps, the zap (paying a stock-quoted
135
+ sale in ETH) and multi-hop routes: the ABIs are here, the builders are not.
136
+ - History, charts and indexer reads.
137
+ - Solana: see `@floorlaunchpad/sdk-solana`.
138
+
139
+ ## Limits worth knowing
140
+
141
+ - A bonding buy and a sell-back carry **no on-chain minimum** (the sale takes none). `buildTrade` refuses a trade whose
142
+ quote, read just before, is under `minAmountOut`; a buy racing another buy can still fill at a later tranche's price.
143
+ - A pool quote's `amountOut` is the V4Quoter's simulation; its fee parts are computed from the pool's own rates at the
144
+ pre-trade tick (`feesExact: false`). A sell's skim is charged at the post-swap tick, so its skim part is a minimum.
145
+ - PoolSwapTest (a testnet harness with no minimum received) is refused as a trade route.
146
+ - Contract versions differ, and a quote models the version its deployment row names (`Deployment.rules`, read with
147
+ `rulesOf`; a row that names none gets `CURRENT_RULES`):
148
+ | rule | current contracts (every row here) | older contracts (`OLDER_RULES`) |
149
+ |---|---|---|
150
+ | `saleCost` — a sale tranche's cost | rounded up | rounded down |
151
+ | `sellBack` — what a sell-back pays | the tokens at the sale price, rounded down, capped at what the position paid | the position's pro-rata share of what it paid |
152
+ | `gapSkim` — a pool buy's floor skim | scaled by how far the price stands above the staircase cushion (1× up to 2,232 ticks, rising linearly to 1.5× at 5,109, capped at 15%; `gapSkimBps`) | not scaled |
153
+ A caller's row for a set built from other sources should name its rules.
154
+
155
+ Apache-2.0.