Diecast

Diecast Documentation 04

Documentation · 04

What it can and cannot do.

The honest way to read a contract is two lists: what it does, and what it refuses. Both lists below are complete.

It can

  • Charge the Trade Fee — 2% — on every trade a wallet makes.
  • Read the struck face on every transfer and split the fee accordingly.
  • Retire supply, permanently, when the face says so.
  • Deepen the Pool when the face says so.
  • Be read by anyone: the face, the fee and the supply are public from the first block.

It cannot

  • Change the face, the fee, the split rule or the supply — none has a setter.
  • Shift a holder's balance, for any reason.
  • Pause the market or freeze a wallet.
  • Reissue retired DIEC, or issue new DIEC of any kind.
  • Send the fee anywhere but the two destinations the face names.

Event by event

EventWhat happenedWhat it means for a holder
ConstructionThe Face Choice is made; one face is struck permanently.The rule of every future trade is fixed and public.
A buyETH enters the Pool; DIEC leaves it; 2% is taken and split by the face.You hold more DIEC; the fee fed only the two destinations.
A sellDIEC enters the Pool; ETH leaves it; 2% is taken and split by the face.You hold ETH; the same rule applied in the other direction.
RetirementThe retiring share of the fee removes DIEC from circulation.Total supply steps down; retired DIEC never returns.
A quiet stretchNo trades, so no fees, so no split.Nothing happens. The rules wait; they do not idle-spend.
A restrike attemptThere is no restrike function to call.The face you verified is the face that stays.