Ammalgam / ammalgam-contracts

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

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

Contact Us

For any issues or concerns regarding this competition, please reach out to the Cantina core team through the Cantina Discord.

Summary

Status

Live

Total reward:

$60,000

Findings submitted:

224

Start date:

9 Jul 2025 6:00pm (local time)

End date:

29 Jul 2025 8:00pm (local time)