Skip to content

Commit

Permalink
chore: fix readme and submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
JGcarv committed Dec 22, 2023
1 parent af00872 commit b283706
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 252 deletions.
84 changes: 0 additions & 84 deletions .github/workflows/forge-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -46,20 +32,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -81,20 +53,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -116,20 +74,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -151,20 +95,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
chmod +x ./setup-ci.sh
Expand All @@ -187,20 +117,6 @@ jobs:
- uses: actions/setup-node@v3

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand Down
88 changes: 2 additions & 86 deletions .github/workflows/forge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -48,20 +34,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -83,20 +55,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -118,20 +76,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand All @@ -153,24 +97,10 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
chmod +x ./setup-ci.sh
./setup-ci.sh
git config --global url."https://github.com/".insteadOf "[email protected]:"
git submodule update --init --recursive
- name: Run Forge tests
env:
Expand All @@ -189,20 +119,6 @@ jobs:
- uses: actions/setup-node@v3

- name: Checkout submodules
env:
SSH_KEY_ADDRESS_REGISTRY: ${{secrets.SSH_KEY_ADDRESS_REGISTRY}}
SSH_KEY_GLOBALS_V2: ${{secrets.SSH_KEY_GLOBALS_V2}}
SSH_KEY_LIQUIDATIONS: ${{secrets.SSH_KEY_LIQUIDATIONS}}
SSH_KEY_FIXED_TERM_LOAN: ${{secrets.SSH_KEY_FIXED_TERM_LOAN}}
SSH_KEY_FIXED_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_FIXED_TERM_LOAN_MANAGER}}
SSH_KEY_MIGRATION_HELPERS: ${{secrets.SSH_KEY_MIGRATION_HELPERS}}
SSH_KEY_NTP: ${{secrets.SSH_KEY_NTP}}
SSH_KEY_OPEN_TERM_LOAN: ${{secrets.SSH_KEY_OPEN_TERM_LOAN}}
SSH_KEY_OPEN_TERM_LOAN_MANAGER: ${{secrets.SSH_KEY_OPEN_TERM_LOAN_MANAGER}}
SSH_KEY_POOL_V2: ${{secrets.SSH_KEY_POOL_V2}}
SSH_KEY_WITHDRAWAL_MANAGER: ${{secrets.SSH_KEY_WITHDRAWAL_MANAGER}}
SSH_KEY_POOL_PERMISSION_MANAGER: ${{secrets.SSH_KEY_POOL_PERMISSION_MANAGER}}
SSH_KEY_WM_QUEUE: ${{secrets.SSH_KEY_WM_QUEUE}}
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
Expand Down
53 changes: 24 additions & 29 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,6 @@
path = modules/erc20
url = [email protected]:maple-labs/erc20.git
ignore = dirty
[submodule "modules/fixed-term-loan"]
path = modules/fixed-term-loan
url = [email protected]:maple-labs/fixed-term-loan-private.git
ignore = dirty
[submodule "modules/fixed-term-loan-manager"]
path = modules/fixed-term-loan-manager
url = [email protected]:maple-labs/fixed-term-loan-manager-private.git
ignore = dirty
[submodule "modules/globals"]
path = modules/globals
url = [email protected]:maple-labs/globals-v2-private.git
ignore = dirty
[submodule "modules/liquidations"]
path = modules/liquidations
url = [email protected]:maple-labs/liquidations-private.git
ignore = dirty
[submodule "modules/pool"]
path = modules/pool
url = [email protected]:maple-labs/pool-v2-private.git
ignore = dirty
[submodule "modules/open-term-loan-manager"]
path = modules/open-term-loan-manager
url = [email protected]:maple-labs/open-term-loan-manager-private.git
[submodule "modules/open-term-loan"]
path = modules/open-term-loan
url = [email protected]:maple-labs/open-term-loan-private.git
[submodule "modules/forge-std"]
path = modules/forge-std
url = [email protected]:foundry-rs/forge-std.git
Expand All @@ -39,10 +13,31 @@
url = [email protected]:maple-labs/erc20-helper.git
[submodule "modules/pool-permission-manager"]
path = modules/pool-permission-manager
url = [email protected]:maple-labs/pool-permission-manager-private.git
url = [email protected]:maple-labs/pool-permission-manager.git
[submodule "modules/withdrawal-manager-cyclical"]
path = modules/withdrawal-manager-cyclical
url = [email protected]:maple-labs/withdrawal-manager-cyclical-private.git
url = [email protected]:maple-labs/withdrawal-manager-cyclical.git
[submodule "modules/withdrawal-manager-queue"]
path = modules/withdrawal-manager-queue
url = [email protected]:maple-labs/withdrawal-manager-queue-private.git
url = [email protected]:maple-labs/withdrawal-manager-queue.git
[submodule "modules/pool"]
path = modules/pool
url = [email protected]:maple-labs/pool-v2.git
[submodule "modules/globals"]
path = modules/globals
url = [email protected]:maple-labs/globals-v2.git
[submodule "modules/fixed-term-loan"]
path = modules/fixed-term-loan
url = [email protected]:maple-labs/fixed-term-loan.git
[submodule "modules/open-term-loan"]
path = modules/open-term-loan
url = [email protected]:maple-labs/open-term-loan.git
[submodule "modules/open-term-loan-manager"]
path = modules/open-term-loan-manager
url = [email protected]:maple-labs/open-term-loan-manager.git
[submodule "modules/fixed-term-loan-manager"]
path = modules/fixed-term-loan-manager
url = [email protected]:maple-labs/fixed-term-loan-manager.git
[submodule "modules/liquidations"]
path = modules/liquidations
url = [email protected]:maple-labs/liquidations.git
46 changes: 8 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,44 +57,6 @@ To make it easier to perform some tasks within the repo, a few commands are avai

Specific tests can be run using `forge test` conventions, specified in more detail in the Foundry [Book](https://book.getfoundry.sh/reference/forge/forge-test#test-options).

### Scenario Commands

| Command | Description |
|---|---|
| `make scenario` | Run the scenarios found in `./scenarios/data/csv/` |

### Contract Verification Script

```shell
$ ./verify.sh -i "NETWORK_NAME" -k "ETHERSCAN_API_KEY" -a "CONTRACT_ADDRESS" -c "RELATIVE_PATH_TO_CONTRACT_FILE:CONTRACT_NAME" -s "CONSTRUCTOR_SIGNATURE" -g "CONSTRUCTOR_ARGUMENTS_SPACE_DELIMITED"
```

```shell
$ ./verify.sh -i "goerli" -k "ETHERSCAN_API_KEY_HERE" -a "0xA756055900D13d62350a882334e5BD196987adcb" -c "./modules/open-term-loan-manager/contracts/MapleLoanManagerFactory.sol:MapleLoanManagerFactory" -s "constructor(address)" -g "0x421c8914B602C4a6A6aec7b4c5F90B9FF5Ef90c6"
Profile: production
Compiler: v0.8.7+commit.e28d00a7
Address: 0xA756055900D13d62350a882334e5BD196987adcb
Path To Contract: ./modules/open-term-loan-manager/contracts/MapleLoanManagerFactory.sol:MapleLoanManagerFactory
Optimzations: 200
Chain: goerli
constructorSignature: constructor(address)
constructorArguments: 0x421c8914B602C4a6A6aec7b4c5F90B9FF5Ef90c6
Start verifying contract `0xa756055900d13d62350a882334e5bd196987adcb` deployed on goerli

Submitting verification for [modules/open-term-loan-manager/contracts/MapleLoanManagerFactory.sol:MapleLoanManagerFactory] "0xA756055900D13d62350a882334e5BD196987adcb".
Submitted contract for verification:
Response: `OK`
GUID: `mkes8fusv3yzajjwd11nzrifefwwh4pam1br739rlfxn7y4igt`
URL:
https://goerli.etherscan.io/address/0xa756055900d13d62350a882334e5bd196987adcb
Contract verification status:
Response: `NOTOK`
Details: `Pending in queue`
Contract verification status:
Response: `OK`
Details: `Pass - Verified`
Contract successfully verified
```

## Audit Reports

Expand All @@ -115,6 +77,14 @@ Contract successfully verified
| Spearbit Auditors via Cantina | [`2023-06-05 - Cantina Report`](https://docs.google.com/viewer?url=https://github.com/maple-labs/maple-v2-audits/files/11667848/cantina-maple.pdf) |
| Three Sigma | [`2023-04-10 - Three Sigma Report`](https://docs.google.com/viewer?url=https://github.com/maple-labs/maple-v2-audits/files/11663546/maple-v2-audit_three-sigma_2023.pdf) |

<br>

### December 2023 Release
| Auditor | Report Link |
|---|---|
| Three Sigma | [`2023-11-06 - Three Sigma Report`](https://docs.google.com/viewer?url=https://github.com/maple-labs/maple-v2-audits/files/13707288/Maple-Q4-Three-Sigma-Audit.pdf) |
| 0xMacro | [`2023-11-27 - 0xMacro Report`](https://docs.google.com/viewer?url=https://github.com/maple-labs/maple-v2-audits/files/13707291/Maple-Q4-0xMacro-Audit.pdf) |

## Bug Bounty

For all information related to the ongoing bug bounty for these contracts run by [Immunefi](https://immunefi.com/), please visit this [site](https://immunefi.com/bounty/maple/).
Expand Down
Loading

0 comments on commit b283706

Please sign in to comment.