Skip to content

🐍 snekmate v0.0.5

Compare
Choose a tag to compare
@pcaversaccio pcaversaccio released this 07 Mar 14:20
· 136 commits to main since this release
bb15f55

🫡 Summary

Hey fam, it's been a minute! Vyper is grinding hard, and soon you'll be slithering through 🐍 snekmate contracts like a breeze:

from libraries.snekmate.tokens import ERC20
initializes: ERC20

I've put together a guide to kickstart your journey with Vyper modules right here.

We're not quite there yet, though. The 🐍 snekmate 0.0.5 release is the last version targeting Vyper's 0.3.10 version, featuring not only minor code refactorings and optimisations, but also a multi-role-based timelock controller reference implementation (h/t @cairoeth).

Please note that this release ships the src layout for the repository to properly implement snekmate-namespaced distribution package building:

Before (0.0.4)

snekmate
├── pyproject.toml
├── ...
└── src
    ├── auth
    │   ├── ...
    ├── extensions
    │   ├── ...
    ├── governance
    │   ├── ...
    ├── tokens
    │   ├── ...
    └── utils
        ├── ...

After (0.0.5)

snekmate
├── pyproject.toml
├── ...
└── src
    └── snekmate
        ├── auth
        │   ├── ...
        ├── extensions
        │   ├── ...
        ├── governance
        │   ├── ...
        ├── tokens
        │   ├── ...
        └── utils
            ├── ...

👇 Below you find the detailed code changes, 🐍 snekmate's new contributors, and the full CHANGELOG. Persist relentlessly. Push beyond limits. Forge ahead.

💥 New Features

♻️ Refactoring

  • Utility Functions
    • Math: Refactor the is_negative function into a proper sign function that returns the indication of the sign of a 32-byte signed integer. (#187)
    • Math: Rename the recently added sign function to signum to avoid any ambiguity with cryptographic signing utility functions. (#188)
    • Math: Optimise the zero point threshold in wad_exp. (#189)

🔖 Release Management

  • Implement snekmate-namespaced distribution package building for TestPyPI and PyPI. (#204)
  • Implement src layout to enable an enhanced local pip install git+https://github.com/pcaversaccio/snekmate.git@<branch> building. (#206)

🙏🏽 New Contributors

👀 Full Changelog

v0.0.4...v0.0.5