Skip to content

teia-community/teia-smart-contracts

Repository files navigation

Teia Community smart contracts

Contract TzKT link Status
Teia Marketplace (v1) KT1PHubm9HtyQEJ4BBpMTVomq6mhbfNZ9z5w Audited
Multisig Wallet / mini-DAO (v1) KT1PKBTVmdxfgkFvSeNUQacYiEFsPBw16B4P Audited
Core Team multisig KT1J9FYz29RBQi1oGLw8uXyACrzXzV1dHuvb Deployed
DAO token KT1QrtA753MSv8VGxkDrKKyJniG5JtuHHbtV Deployed
DAO token distributor KT1NrfV4e2qWqFrnrKyPTJth5wq2KP9VyBei Deployed
Extended FA1.2 token Prototype
Extended FA2 token Prototype
Extended FA2 token minter Prototype
Marketplace for the extended FA2 token Prototype
Artists collaboration Prototype
DAO governance Prototype
DAO treasury Prototype
DAO representatives Prototype
Teia Core Team vote Prototype
Teia polls Prototype
Harberger token Prototype
Harberger fee Prototype
Harberger token minter Prototype
Subscription token Prototype
Subscription fee Prototype
Subscriptions marketplace Prototype
Contract for donation campaigns Prototype
Contract for signing open letters Prototype
Contract for creating polls Prototype
A dead's man switch contract Prototype
Spanish Inquisition FA2 token Prototype
Spanish Inquisition list Prototype

SmartPy installation

wget https://legacy.smartpy.io/cli/install.sh
bash ./install.sh
rm install.sh

Compile the contracts

cd teia-smart-contracts/python
~/smartpy-cli/SmartPy.sh compile contracts/teiaMarketplace_v1.py ../output/contracts/teiaMarketplace_v1 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/multisigWallet_v1.py ../output/contracts/multisigWallet_v1 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/fa12.py ../output/contracts/fa12 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/fa2.py ../output/contracts/fa2 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/minter.py ../output/contracts/minter --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/marketplace.py ../output/contracts/marketplace --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/artistsCollaboration.py ../output/contracts/artistsCollaboration --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoToken.py ../output/contracts/daoToken --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoTokenDrop.py ../output/contracts/daoTokenDrop --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoTreasury.py ../output/contracts/daoTreasury --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoGovernance.py ../output/contracts/daoGovernance --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/representatives.py ../output/contracts/representatives --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoMultisig.py ../output/contracts/daoMultisig --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/coreTeamVote.py ../output/contracts/coreTeamVote --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/teiaPolls.py ../output/contracts/teiaPolls --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/harbergerToken.py ../output/contracts/harbergerToken --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/harbergerFee.py ../output/contracts/harbergerFee --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/harbergerMinter.py ../output/contracts/harbergerMinter --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/subscriptionToken.py ../output/contracts/subscriptionToken --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/subscriptionFee.py ../output/contracts/subscriptionFee --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/subscriptionsMarketplace.py ../output/contracts/subscriptionsMarketplace --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/donations.py ../output/contracts/donations --html --purge
~/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

cd teia-smart-contracts/python
~/smartpy-cli/SmartPy.sh test tests/teiaMarketplace_v1_test.py ../output/tests/teiaMarketplace_v1 --html --purge
~/smartpy-cli/SmartPy.sh test tests/multisigWallet_v1_test.py ../output/tests/multisigContract_v1 --html --purge
~/smartpy-cli/SmartPy.sh test tests/fa2_test.py ../output/tests/fa2 --html --purge
~/smartpy-cli/SmartPy.sh test tests/minter_test.py ../output/tests/minter --html --purge
~/smartpy-cli/SmartPy.sh test tests/marketplace_test.py ../output/tests/marketplace --html --purge
~/smartpy-cli/SmartPy.sh test tests/artistsCollaboration_test.py ../output/tests/artistsCollaboration --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoToken_test.py ../output/tests/daoToken --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoTokenDrop_test.py ../output/tests/daoTokenDrop --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoTreasury_test.py ../output/tests/daoTreasury --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoGovernance_test.py ../output/tests/daoGovernance --html --purge
~/smartpy-cli/SmartPy.sh test tests/representatives_test.py ../output/tests/representatives --html --purge
~/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

About

Teia Community smart contracts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages