Skip to content

State-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.

License

Notifications You must be signed in to change notification settings

jaglinux/snekmate

Β 
Β 

Repository files navigation

🐍 snekmate

Test smart contracts License: AGPL v3

State-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.

This is experimental software and is provided on an "as is" and "as available" basis. We do not give any warranties and will not be liable for any losses incurred through any use of this code base.

πŸ“œ Contracts

src
β”œβ”€ auth
β”‚  β”œβ”€ Ownable β€” "Owner-Based Access Control Functions"
β”‚  β”œβ”€ Ownable2Step β€” "2-Step Ownership Transfer Functions"
β”‚  β”œβ”€ AccessControl β€” "Multi-Role-Based Access Control Functions"
β”œβ”€ extensions
β”‚  β”œβ”€ ERC4626 β€” "ERC-4626 Tokenised Vault Implementation (TBD)"
β”œβ”€ tokens
β”‚  β”œβ”€ ERC20 β€” "Modern and Gas-Efficient ERC-20 + EIP-2612 Implementation"
β”‚  β”œβ”€ ERC721 β€” "Modern and Gas-Efficient ERC-721 + EIP-4494 Implementation"
β”‚  β”œβ”€ ERC1155 β€” "Modern and Gas-Efficient ERC-1155 Implementation (TBD)"
β”œβ”€ utils
   β”œβ”€ ECDSA β€” "Elliptic Curve Digital Signature Algorithm (ECDSA) Functions"
   β”œβ”€ CreateAddress β€” "`CREATE` EVM Opcode Utility Function for Address Calculation"
   β”œβ”€ Create2Address β€” "`CREATE2` EVM Opcode Utility Functions for Address Calculations"
   β”œβ”€ EIP712DomainSeparator β€” "EIP-712 Domain Separator"
   β”œβ”€ MerkleProofVerification β€” "Merkle Tree Proof Verification Functions"
   β”œβ”€ Multicall β€” "Multicall Functions"
   β”œβ”€ SignatureChecker β€” "ECDSA and EIP-1271 Signature Verification Function"
   β”œβ”€ BatchDistributor β€” "Batch Sending Both Native and ERC-20 Tokens"

πŸ™πŸΌ Acknowledgements

This repository is inspired by or directly modified from many sources, primarily:

🫑 Contributing

🐍 snekmate only exists thanks to its contributors. There are many ways to get involved and contribute to our high-quality and secure smart contracts. Check out our Contribution Guidelines!

πŸ’’ Disclaimer

About

State-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 60.3%
  • Vyper 38.1%
  • JavaScript 1.6%