Skip to content

maple-labs/open-term-loan-manager

Repository files navigation

Maple Open-Term Loan Manager

Foundry CI GitBook - Documentation Foundry License: BUSL 1.1

Overview

This repository contains the contracts that are responsible for the deployment and management of Maple Open-Term Loan Managers:

Dependencies/Inheritance

Contracts in this repo inherit and import code from:

Contracts inherit and import code in the following ways:

  • LoanManager inherits MapleProxiedInternals for proxy logic.
  • LoanManagerFactory inherits MapleProxyFactory for proxy deployment and management.

Versions of dependencies can be checked with git submodule status.

Setup

This project was built using Foundry. Refer to installation instructions here.

git clone [email protected]:maple-labs/open-term-loan-manager.git
cd open-term-loan-manager
forge install

Running Tests

  • To run all tests: forge test
  • To run specific tests: forge test --match <test_name>

./scripts/test.sh is used to enable Foundry profile usage with the -p flag. Profiles are used to specify the number of fuzz runs.

Audit Reports

June 2023 Release

Auditor Report Link
Spearbit Auditors via Cantina 2023-06-05 - Cantina Report
Three Sigma 2023-04-10 - Three Sigma Report

Bug Bounty

For all information related to the ongoing bug bounty for these contracts run by Immunefi, please visit this site.

About Maple

Maple Finance is a decentralized corporate credit market. Maple provides capital to institutional borrowers through globally accessible fixed-income yield opportunities.