blockchainkit.economics ======================= .. include:: /_generated/nav/economics.rst .. automodule:: blockchainkit.economics :no-members: Why participants behave honestly, how block space is priced, and how the markets that contracts run can be exploited: focal points and oracles, auctions and market scoring rules, block rewards and mining games, fee markets, a constant-product exchange, a collateralized stablecoin, and transaction ordering. Every public name below is re-exported by the subpackage: import it as ``bk.economics.``. The plotting helpers are the exception: import them explicitly from ``blockchainkit.economics.visualizers``, which loads Matplotlib. Results ------- .. automodule:: blockchainkit.economics.core.base :members: Coordination and auctions ------------------------- .. automodule:: blockchainkit.economics.systems.coordination :members: .. automodule:: blockchainkit.economics.systems.oracles :members: .. automodule:: blockchainkit.economics.systems.auctions :members: .. automodule:: blockchainkit.economics.systems.lmsr :members: Rewards and mining ------------------ .. automodule:: blockchainkit.economics.systems.rewards :members: .. automodule:: blockchainkit.economics.systems.fee_only :members: .. automodule:: blockchainkit.economics.systems.mining_games :members: Fee markets ----------- .. automodule:: blockchainkit.economics.systems.fee_market :members: Decentralized finance --------------------- .. automodule:: blockchainkit.economics.systems.amm :members: .. automodule:: blockchainkit.economics.systems.lending :members: Transaction ordering -------------------- .. automodule:: blockchainkit.economics.systems.ordering :members: .. automodule:: blockchainkit.economics.systems.pbs :members: Plotting -------- .. automodule:: blockchainkit.economics.visualizers.plots :members: