Skip to content

enzymefinance/protocol

Enzyme Blue

CI License: GPL v3

Enzyme Blue is an Ethereum-based protocol for decentralized on-chain asset management. It is a protocol for people or entities to manage their wealth & the wealth of others within a customizable and safe environment. It empowers anyone to set up, manage and invest in customized on-chain investment vehicles.

Security Issues and Bug Bounty

If you find a vulnerability that may affect live deployments, you can submit a report via:

A. Immunefi (https://immunefi.com/bounty/enzymefinance/), or

B. Direct email to security@enzyme.finance

Please DO NOT open a public issue.

Using this Repository

This is the branch for active development of Enzyme Blue v4.

v4 contract deployments can be found here.

This repository has been migrated from Hardhat to Foundry. Most tests for core v4 system contracts have not been ported from Hardhat. The legacy test suite & test coverage are in the hardhat branch.

Prerequisites

Make sure to have the following installed:

Then, clone this repository:

git clone [GIT_REPOSITORY_URL]

Compile Contracts

Compile contracts, build artifacts, and generate internal interfaces for foundry deployment and tests:

make

Interface Generation

Interfaces are only generated for items listed in this interfaces file.

Run Tests

First, create your .env file by copying .env.example. Input your Ethereum (and/or other networks) node endpoint info as-needed (generally, only setting ETHEREUM_NODE_MAINNET, ETHEREUM_NODE_POLYGON, etc is fine).

Then, in order to run the test suite:

make test

You can also manually run parts of the test suite using forge directly, e.g:

forge test --match-test <REGEX>

Hardhat test coverage

This repository has been migrated from Hardhat to Foundry, and old test suites are still being ported.

If you are looking for the legacy test suite & test coverage please refer to the hardhat branch.

Contributing

See our contributing instructions.

Please note that all repositories hosted under this organization follow our Code of Conduct, make sure to review and follow it.

By contributing, you agree your contribution is licensed under GPL-3.0, and may also be sublicensed by Enzyme Foundation under alternative terms (e.g., BUSL-1.1).

Licensing

  • Public: GPL-3.0 (see LICENSES/GPL-3.0)
  • Alternative Terms: The copyright holder, Enzyme Foundation, may license this code under alternative terms (e.g., BUSL-1.1) for affiliated/internal products.

SPDX identifiers:

  • Source files in this repo use: GPL-3.0.
  • Vendored third-party files retain their original identifiers (e.g., MIT for OpenZeppelin).

About

Enzyme Protocol Implementation

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 29