Skip to content

Commit

Permalink
add info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Oct 24, 2023
1 parent 70f21c9 commit 13d94c9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 13d94c9

Please sign in to comment.