Skip to content

Commit

Permalink
Adds the Spanish Inquisition contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
jagracar committed Jan 5, 2024
1 parent 1229310 commit fec413f
Show file tree
Hide file tree
Showing 8 changed files with 1,818 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ compile_all:
$(call COMPILE, openLetter)
$(call COMPILE, tezosPolls)
$(call COMPILE, deadMansSwitch)
$(call COMPILE, si_fa2)
$(call COMPILE, si_list)

test_all:
$(call TEST, teiaMarketplace_v1)
Expand All @@ -102,3 +104,6 @@ test_all:
$(call TEST, daoMultisig)
$(call TEST, teiaPolls)
$(call TEST, deadMansSwitch)
$(call TEST, si_fa2)
$(call TEST, si_list)

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
| [Contract for signing open letters](python/contracts/openLetter.py) | | Prototype |
| [Contract for creating polls](python/contracts/tezosPolls.py) | | Prototype |
| [A dead's man switch contract](python/contracts/deadMansSwitch.py) | | Prototype |
| [Spanish Inquisition FA2 token](python/contracts/si_fa2.py) | | Prototype |
| [Spanish Inquisition list](python/contracts/si_list.py) | | Prototype |


## SmartPy installation
Expand Down Expand Up @@ -66,6 +68,8 @@ cd teia-smart-contracts/python
~/smartpy-cli/SmartPy.sh compile contracts/openLetter.py ../output/contracts/openLetter --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/tezosPolls.py ../output/contracts/tezosPolls --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/deadMansSwitch.py ../output/contracts/deadMansSwitch --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/si_fa2.py ../output/contracts/si_fa2 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/si_list.py ../output/contracts/si_list --html --purge
```

## Execute the tests
Expand All @@ -86,4 +90,6 @@ cd teia-smart-contracts/python
~/smartpy-cli/SmartPy.sh test tests/daoMultisig_test.py ../output/tests/daoMultisig --html --purge
~/smartpy-cli/SmartPy.sh test tests/teiaPolls_test.py ../output/tests/teiaPolls --html --purge
~/smartpy-cli/SmartPy.sh test tests/deadMansSwitch_test.py ../output/tests/deadMansSwitch --html --purge
~/smartpy-cli/SmartPy.sh test tests/si_fa2_test.py ../output/tests/si_fa2 --html --purge
~/smartpy-cli/SmartPy.sh test tests/si_list_test.py ../output/tests/si_list --html --purge
```
2 changes: 2 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ cd python
~/smartpy-cli/SmartPy.sh compile contracts/donations /tmp/contracts/donations
~/smartpy-cli/SmartPy.sh compile contracts/openLetter /tmp/contracts/openLetter
~/smartpy-cli/SmartPy.sh compile contracts/tezosPolls /tmp/contracts/tezosPolls
~/smartpy-cli/SmartPy.sh compile contracts/si_fa2 /tmp/contracts/si_fa2
~/smartpy-cli/SmartPy.sh compile contracts/si_list /tmp/contracts/si_list
cd - > /dev/null
Loading

0 comments on commit fec413f

Please sign in to comment.