https://github.com/primitivefinance/rmm
https://github.com/primitivefinance/rmm
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/primitivefinance/rmm
- Owner: primitivefinance
- Created: 2024-05-02T16:02:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T15:17:44.000Z (almost 2 years ago)
- Last Synced: 2025-02-06T02:51:40.788Z (over 1 year ago)
- Language: Solidity
- Size: 774 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## RMM
Minimal monolithic smart contract that is an AMM using the RMM trading function.
## Setup
Requires forge to be installed already.
```
forge install
```
## Testing
```
forge test -vvv
```
## Coverage
```
forge coverage --report lcov
cmd + shift + p -> Coverage Gutters: Display Coverage
```
## Gas benchmarks
### View gas usage
```
forge snapshot --gas-report
```
### Compare gas usage
```
forge snapshot --diff
```