-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
- Loading branch information
1 parent
2ec2ba3
commit f35f345
Showing
7 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Ignore all Visual Studio Code settings | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
!.vscode/*.code-snippets | ||
|
||
# Local history for Visual Studio Code | ||
.history | ||
|
||
# Built Visual Studio Code extensions | ||
*.vsix | ||
|
||
# dotenv environment variable files | ||
.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# Foundry files | ||
bin | ||
cache | ||
out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "lib/forge-std"] | ||
path = lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# 🐍 snekmate | ||
|
||
State-of-the-art, highly opinionated, hyper-optimised, and secure Vyper smart contract building blocks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## defaults for all profiles | ||
[default] | ||
src = 'src' # the source directory | ||
test = 'test' # the test directory | ||
out = 'out' # the output directory (for artifacts) | ||
libs = ['lib'] # a list of library directories | ||
remappings = ['ds-test/=lib/ds-test/src/'] # a list of remappings | ||
cache = true # whether to cache builds or not | ||
cache_path = 'cache' # where the cache is stored if enabled | ||
force = true # whether to ignore the cache (clean build) | ||
ffi = true # whether to enable foreign function interface (ffi) cheatcodes or not | ||
verbosity = 3 # the verbosity of tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
val: uint256 | ||
|
||
@external | ||
def __init__(_val: uint256): | ||
self.val = _val | ||
|
||
|
||
@external | ||
def store(_val: uint256): | ||
self.val = _val | ||
|
||
@external | ||
def get() -> uint256: | ||
return self.val |
Empty file.