Hyperparameters
gamma_enabled
Lets coldkeys mint the subnet's gamma, dollar-valued service credits, by burning its alpha.
gamma_enabled lets coldkeys mint the subnet's gamma by
burning its alpha. Subnet owners that sell a service for gamma turn it on; no
other gamma call checks it, so deposits stay spendable, movable and closable
while it is off.
How it works
The flag lives in
SubnetGammaEnabled storage and
defaults to false. A mint also needs gamma enabled network-wide, in
GammaEnabled, which defaults to
false and only root sets
(sudo_set_gamma_enabled).
A subnet can turn its flag on before that, and mints once both are on.
Neither flag touches the subnet's gamma price
(SubnetGammaPrice), which every
subnet but root keeps
(update_gamma_price);
a mint values alpha at the lower of the gamma price and the spot price
(gamma_mark). See
Minting.
The subnet owner or root sets gamma_enabled
(sudo_set_subnet_gamma_enabled);
the owner is rate-limited, both are refused during the admin freeze window, and
the root subnet cannot enable it.
Reading and setting
btcli sudo get --netuid N --name gamma_enabled
btcli sudo set --netuid N --name gamma_enabled --value true