.. _sphx_glr_api_gallery_contracts_payments: Paying out ---------- Sending ether safely, loops that outgrow the block, and fair randomness. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/contracts/payments/images/thumb/sphx_glr_plot_01_king_of_the_ether_thumb.png :alt: :doc:`/api/gallery/contracts/payments/plot_01_king_of_the_ether` .. raw:: html
King of the Ether: unchecked send and the pull-payment pattern (2016)
.. raw:: html
.. only:: html .. image:: /api/gallery/contracts/payments/images/thumb/sphx_glr_plot_02_governmental_gas_thumb.png :alt: :doc:`/api/gallery/contracts/payments/plot_02_governmental_gas` .. raw:: html
GovernMental: an unbounded loop meets the block gas limit (2016)
.. raw:: html
.. only:: html .. image:: /api/gallery/contracts/payments/images/thumb/sphx_glr_plot_03_commit_reveal_thumb.png :alt: :doc:`/api/gallery/contracts/payments/plot_03_commit_reveal` .. raw:: html
Commit-reveal schemes and on-chain randomness (2016)
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/contracts/payments/plot_01_king_of_the_ether /api/gallery/contracts/payments/plot_02_governmental_gas /api/gallery/contracts/payments/plot_03_commit_reveal