Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 773 Bytes

OZ PullPayment.md

File metadata and controls

24 lines (22 loc) · 773 Bytes

OpenZeppelin PullPayment: provides a pull-payment strategy, where the paying contract doesn’t invoke any functions on the receiver account which must withdraw its payments itself.

Pull-payments are often considered the best practice when it comes to sending Ether, security-wise.

It prevents recipients from blocking execution and eliminates reentrancy concerns.


Slide Screenshot

158.jpg


Slide Text

  • Payment: Pull Vs. Push
  • Avoid Reentrancy Attacks
  • Paying Contract
  • No Calls -> Receiver Fns
  • Receiver Account
  • Withdraws Payment
  • Prevents Reentrancy
    • Best Practice

References


Tags