Vyper is a contract-oriented programming language for the Ethereum Virtual Machine (EVM), with syntax modelled on Python. Its designers deliberately left out features common in Solidity, the dominant EVM language, such as class inheritance, function overloading and inline assembly, on the view that simpler code is easier to read and to audit. It adds bounds and overflow checks and makes gas costs easier to predict. Its compiler turns source code into EVM bytecode.
Vyper is best known in decentralised finance through Curve, whose pools were written in it. In July 2023 several Curve pools were drained because some older versions of the Vyper compiler had generated a faulty reentrancy guard, so the protection written in the source did not work as intended in the bytecode. The incident showed that a smart contract audit of source code alone may miss compiler bugs.
Ref 1070001379