This repository holds the singleton contract MapleGlobals
which is responsible for configuring protocol wide parameters of the Maple V2 protocol.
Contracts in this repo inherit and import code from:
Contracts inherit and import code in the following ways:
Globals
inheritsNonTransparentProxied
for proxy logic.
Versions of dependencies can be checked with git submodule status
.
This project was built using Foundry. Refer to installation instructions here.
git clone [email protected]:maple-labs/globals-v2.git
cd globals-v2
forge install
- 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.
Auditor | Report Link |
---|---|
Trail of Bits | 2022-08-24 - Trail of Bits Report |
Spearbit | 2022-10-17 - Spearbit Report |
Three Sigma | 2022-10-24 - Three Sigma Report |
Three Sigma | 2023-11-06 - Three Sigma Report |
0xMacro | 2023-11-27 - 0xMacro Report |
Auditor | Report Link |
---|---|
Spearbit Auditors via Cantina | 2023-06-05 - Cantina Report |
Three Sigma | 2023-04-10 - Three Sigma Report |
For all information related to the ongoing bug bounty for these contracts run by Immunefi, please visit this site.
Maple Finance is a decentralized corporate credit market. Maple provides capital to institutional borrowers through globally accessible fixed-income yield opportunities.