.. _sphx_glr_api_gallery_economics_defi: Decentralized finance --------------------- Stablecoins, automated market makers, and the price oracles that lenders trust. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/economics/defi/images/thumb/sphx_glr_plot_01_dai_liquidation_thumb.png :alt: :doc:`/api/gallery/economics/defi/plot_01_dai_liquidation` .. raw:: html
MakerDAO's Dai: a collateralized stablecoin and liquidation (2017)
.. raw:: html
.. only:: html .. image:: /api/gallery/economics/defi/images/thumb/sphx_glr_plot_02_uniswap_impermanent_loss_thumb.png :alt: :doc:`/api/gallery/economics/defi/plot_02_uniswap_impermanent_loss` .. raw:: html
Uniswap's constant-product market maker and impermanent loss (2018)
.. raw:: html
.. only:: html .. image:: /api/gallery/economics/defi/images/thumb/sphx_glr_plot_03_bzx_oracle_manipulation_thumb.png :alt: :doc:`/api/gallery/economics/defi/plot_03_bzx_oracle_manipulation` .. raw:: html
Flash loans and oracle manipulation: the bZx attacks (2020)
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/economics/defi/plot_01_dai_liquidation /api/gallery/economics/defi/plot_02_uniswap_impermanent_loss /api/gallery/economics/defi/plot_03_bzx_oracle_manipulation