This repository contains utility contracts that are used as part of Maple's permissionless offering Syrup. This include:
Path | Description |
---|---|
contracts/SyrupDrip.sol |
Merkle Tree based airdrop distributor |
contracts/SyrupUserActions.sol |
Convenience contract for users to swap directly to USDC / DAI |
contracts/MplUserActions.sol |
Convenience contract for users to migrate to Syrup / stSyrup |
contracts/SyrupRouter.sol |
Router that allows deposits into a Maple Pool |
contracts/utils/SyrupRateProvider.sol |
Price Oracle for Balancer pools |
Submodules imported:
- modules/erc20
- modules/erc20-helper
- modules/forge-std
- modules/globals-v2
- modules/lite-psm
- modules/maple-token
- modules/mpl-migration
- modules/mpl-v2
- modules/open-zeppelin
- modules/xmpl
Versions of dependencies can be checked with git submodule status
.
This project was built using Foundry. Refer to installation instructions here.
git clone git@github.com:maple-labs/syrup-utils.git
cd syrup-utils
forge install
Auditor | Report link |
---|---|
ThreeSigma | ThreeSigma-MapleSyrupRouter.pdf |
ThreeSigma | ThreeSigma-Maple-Finance-Aug-2024.pdf |
0xMacro | 0xMacro-Maple-Finance-Aug-2024.pdf |
For all information related to the ongoing bug bounty for these contracts run by Immunefi, please visit this site.
The Syrup platform, built by Maple Labs, enables users permissionless access to secured, institutional lending for the first time. By depositing USDC into the platform, users receive LP tokens (syrupUSDC) and begin earning yield immediately. All of the yield generated by Syrup is sourced from secured loans to the largest institutions in crypto, fully collateralized with digital assets.