Skip to content

Balmy-protocol/swappers

Repository files navigation

Lint Tests Slither Analysis

Mean Finance Swappers

This repository holds Mean's swapping infra:

1. The Swap Proxy

This contract act as a proxy and use the Permit2 Adapter as the backend, but with a way to take funds from the user with an ERC20 Approval.

Usage

This is a list of the most frequently needed commands.

Build

Build the contracts:

$ forge build

Clean

Delete the build artifacts and cache directories:

$ forge clean

Compile

Compile the contracts:

$ forge build

Coverage

Get a test coverage report:

$ forge coverage

Format

Format the contracts:

$ forge fmt

Gas Usage

Get a gas report:

$ forge test --gas-report

Lint

Lint the contracts:

$ pnpm lint

Test

Run the tests:

$ forge test

About

This contract will work as a proxy towards other swappers like dexes or transformers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published