01
The idea. You only pay on what you gain.
The token remembers what each wallet paid for its $HwM. Sell at a loss, or at what you paid, and it costs nothing. Sell at a gain, and 17% of the gain goes to buying $HwM back, which is then destroyed.
Notes on memory
How HwM remembers what you paid, in ten notes.
01
The token remembers what each wallet paid for its $HwM. Sell at a loss, or at what you paid, and it costs nothing. Sell at a gain, and 17% of the gain goes to buying $HwM back, which is then destroyed.
02
For each wallet, the token keeps two numbers: how many $HwM it holds, and what they cost in ETH, fee included. The mark is the second divided by the first: an average. Buying higher moves it up; buying lower moves it down. Selling does not change it: the tokens leave with their share of the cost.
03
A buy in the pool pays 0.4% in ETH to the reserve, plus 0.35% to liquidity. The cost the token remembers is all the ETH you paid.
04
Gain is what the pool pays you minus what those tokens cost you. If it is above zero, 17% of it is taken from the ETH you receive. Measured against the whole sale, it stays small until the gain is large, and it never reaches 17% of the sale.
05
Anything that moves $HwM out of a wallet other than a swap in the pool counts as a sale at the pool's average price over the last 30 minutes. If that is a gain, 17% of it is taken in tokens and destroyed; the receiver gets the rest, with a cost equal to its value at that average. At a loss, nothing is taken.
Without this, anyone could send tokens to another pool or a platform and sell there without paying. With it, leaving the pool costs the same as selling in it.
06
The 0.4% on buys and the tax on sales go into a reserve that buys $HwM back in a straight line over 36 hours, in every swap, or whenever anyone asks and takes a small tip. What it buys is destroyed. Tokens taken from sends are destroyed at once.
07
A fixed fee takes the same share at the top and at the bottom. The mark takes mostly at the top, from the people who gained, and nothing at the bottom. In the simulated markets, it collected 38% to 63% more than a fixed 3% fee on sales, about half of all sales paid nothing, and 43% of the tax came in while the price sat in its top quarter.
08
09
Sending costs like selling. Moving tokens in gain to another wallet, a platform or a contract pays the tax. Moving them at a loss pays nothing, and the receiver starts at the average price.
Sales asking for an exact amount of ETH are refused. The tax depends on how many tokens are sold, which is only known after the swap. Interfaces sell an exact number of tokens instead.
Unknown routers and smart wallets. Swaps through the listed routers are read wallet by wallet; through other paths, a sale can be treated as a send, at the average price.
The average can be pushed. Holding the pool price down for 30 minutes lowers the tax on a send. It costs far more than it saves, except for a send that is huge next to the pool.
10
Every gain taken out of HwM leaves a part of itself behind, and that part buys $HwM back. Every loss leaves freely.