| Crates.io | medusa-gen |
| lib.rs | medusa-gen |
| version | 0.1.0 |
| created_at | 2025-01-30 19:32:42.532745+00 |
| updated_at | 2025-01-30 19:32:42.532745+00 |
| description | Generate a set of contracts for Medusa tests |
| homepage | https://github.com/defi-wonderland/medusa-gen-rs |
| repository | https://github.com/defi-wonderland/medusa-gen-rs |
| max_upload_size | |
| id | 1536784 |
| size | 42,484 |
This is a tool to generate a set of contracts for a Medusa testing campaign, following Wonderland usage.
The following contracts are generated, according to this structure (I know, we call the child "parent" for...reason):
The inheritance tree is as follows, FuzzTest is the entry point:
This is an early alpha version, only available by building from sources:
cargo install --git https://github.com/defiSucks/medusa-gen.rs
medusa-gen -n 3 -p 4
--solc, -s: Solidity compiler version, default is 0.8.23 --nb-handlers, -n: Number of handlers, default is 2 --nb-properties, -p: Number of properties, default is 2