Ammalgam / ammalgam-contracts
Ammalgam is a completely new primitive that combines lending and trading into one protocol called a Decentralized Lending Exchange (DLEX). This simple combination creates Capital Efficiency resulting in 60% increases in yield for Liquidity Providers (LPs). It offers unbounded utility through unlimited trading strategies, catering to both advanced users and those preferring a UI designed for passive LPs. Lastly, it ensures true autonomy that is permissionless and oracle-free, with zero dependencies.
Prize distribution and scoring
-
Total Public Prize Pool: $60,000
-
Primary Prize Pool: $50,000
-
Dedicated researchers pot: $12,000
-
$10,000 of the prize pot is reserved for valid issues reported in the library
contracts/libraries/Saturation.sol
.- Ammalgam team has a final say on the findings to be rewarded here. Standard scoring rules apply for the findings chosen. If no findings are chosen for the rewards, this reward would be distributed back to the primary pool.
- These are additional rewards on top of the regular rewards from the primary pool for these findings.
-
Scoring described in the competition scoring page.
-
Findings Severities described in detail on our docs page.
Documentation
Scope
- Repository: https://github.com/Ammalgam-Protocol/core-v1
- Commit:
634bb3f4a3a400fb3123cd23db788640e367c2da
- Files: All contracts within
contracts
Build Instructions
- Foundry Setup
foundryupgit initforge install OpenZeppelin/openzeppelin-contracts 1inch/token-plugins=1inch/token-plugins@d71d6500e954315871bf9da070a6d9d95ac65015 1inch/solidity-utils=1inch/solidity-utils 1inch/farming=1inch/farming@da9c87962272fdcfcee79be14eb13b27387a677e mangrovedao/mangrove-core morpho-org/morpho-blue foundry-rs/forge-std nomad-xyz/ExcessivelySafeCall forge build --skip=Skip --sizesforge test
- Hardhat Setup
POC Rule
- Mandatory POC rule applies here. Please submit a coded POC for all valid High/Medium issues.
Out of scope
- Automated findings by Lightchaser
contract/utils/*
- Findings from the following audits:
- ChainSecurity audit report: https://drive.google.com/file/d/1p3MtFZslf7sDdCoR6HH-sC8p3g-wENRR/view?usp=drive_link
- 0xMacro audit report: https://0xmacro.notion.site/Ammalgam-1-Preliminary-Audit-Report-external-private-1ac72f2c7fd18016a750eafdc4739b59
Contact Us
For any issues or concerns regarding this competition, please reach out to the Cantina core team through the Cantina Discord.
Summary
Status
LiveTotal reward:
$60,000
Findings submitted:
224
Start date:
9 Jul 2025 6:00pm (local time)
End date:
29 Jul 2025 8:00pm (local time)