From 13d94c934c0d2d214ad9b877a4c39903ddfe63d3 Mon Sep 17 00:00:00 2001 From: z80 Date: Tue, 24 Oct 2023 13:55:29 -0400 Subject: [PATCH] add info to README --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b3fb5866..ad17f596 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,25 @@ vyper: Import the voting contract types like this: ```python -# @version 0.3.9 +# @version 0.3.10 import voting.ballot as ballot ``` + + +### Pragmas + +Ape-Vyper supports Vyper 0.3.10's [new pragma formats](https://github.com/vyperlang/vyper/pull/3493) + +#### Version Pragma + +``` python +#pragma version 0.3.10 +``` + +#### Optimization Pragma + +``` python +#pragma optimize codesize +``` +