Re-entrancy Lock | Vyper (0.2)
Smart Contract Programmer
Vyper has an easy way to protect contracts from re-entrancy. This video explains how to use the @nonreentrant decorator.
#Vyper #ReEntrancy #SmartContract #Ethereum
Hand crafted re-entrancy lock 0:23 Non re-entrant decorator 2:21 Grouping re-entrancy locks 4:19
Code: https://github.com/t4sk/vyper-by-example
References
Remix IDE: http://remix.ethereum.org Vyper: https://vyper.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart Join me on Discord: https://discord.gg/Ny8sPaj Website: https://smartcontractprogrammer.com ... https://www.youtube.com/watch?v=hxQr7G9ErIg
2022-04-11
0.0 LBC
Copyrighted (contact publisher)
14169659 Bytes