Files
openzeppelin-contracts/contracts/payment
Hadrien Croubois b6e5187973 Use Address.sendValue for PaymentSplitter (#2456)
* use Address.sendValue instead of .transfer

* changelog entry

Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
2021-01-07 13:03:20 -03:00
..

= Payment

[.readme-notice]
NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/payment

Utilities related to sending and receiving payments. Examples are {PullPayment}, which implements the best security practices when sending funds to third parties, and {PaymentSplitter} to receive incoming payments among a number of beneficiaries.

TIP: When transferring funds to and from untrusted third parties, there is always a security risk of reentrancy. If you would like to learn more about this and ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].

== Utilities

{{PaymentSplitter}}

{{PullPayment}}

== Escrow

{{Escrow}}

{{ConditionalEscrow}}

{{RefundEscrow}}