-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Natspec, whitespace, checksums (#57)
* chore: natspec, whitespace, checksums * chore: update submodules Co-authored-by: Lucas <[email protected]>
- Loading branch information
1 parent
a606edb
commit 6987aa1
Showing
17 changed files
with
69 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
dapp_test: | ||
docker: | ||
- image: bakii0499/dapptools:0.48.0-solc-0.8.7 | ||
steps: | ||
- run: | ||
name: Checkout debt-locker | ||
command: | | ||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git clone [email protected]:maple-labs/debt-locker.git . | ||
git checkout $CIRCLE_BRANCH | ||
- run: | ||
name: Build and test contracts | ||
command: | | ||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git submodule update --init --recursive | ||
./test.sh -c ./config/ci.json | ||
dapp_test: | ||
docker: | ||
- image: bakii0499/dapptools:0.48.0-solc-0.8.7 | ||
steps: | ||
- run: | ||
name: Checkout debt-locker | ||
command: | | ||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git clone [email protected]:maple-labs/debt-locker.git . | ||
git checkout $CIRCLE_BRANCH | ||
- run: | ||
name: Build and test contracts | ||
command: | | ||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git submodule update --init --recursive | ||
./test.sh -c ./config/ci.json | ||
workflows: | ||
version: 2 | ||
test_all: | ||
jobs: | ||
- dapp_test: | ||
context: seth | ||
version: 2 | ||
test_all: | ||
jobs: | ||
- dapp_test: | ||
context: seth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
hevm* | ||
.vscode/* | ||
/package | ||
artifacts/* | ||
docs/* | ||
metadata.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
pragma solidity 0.8.7; | ||
|
||
/// @title DebtLockerInitializer is intended to initialize the storage of a DebtLocker proxy. | ||
interface IDebtLockerInitializer { | ||
|
||
function encodeArguments(address loan_, address pool_) external pure returns (bytes memory encodedArguments_); | ||
|
||
function decodeArguments(bytes calldata encodedArguments_) external pure returns (address loan_, address pool_); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule erc20
updated
5 files
+20 −20 | .circleci/config.yml | |
+4 −1 | .gitignore | |
+7 −3 | src/ERC20.sol | |
+12 −12 | src/interfaces/IERC20.sol | |
+2 −2 | src/test/ERC20.t.sol |
Submodule erc20-helper
updated
4 files
+19 −19 | .circleci/config.yml | |
+4 −1 | .gitignore | |
+1 −0 | package.yaml | |
+2 −4 | src/ERC20Helper.sol |
Submodule liquidations
updated
11 files
+21 −21 | .circleci/config.yml | |
+3 −0 | .gitignore | |
+10 −2 | contracts/Liquidator.sol | |
+1 −1 | contracts/SushiswapStrategy.sol | |
+1 −1 | contracts/UniswapV2Strategy.sol | |
+7 −7 | contracts/interfaces/ILiquidator.sol | |
+16 −16 | contracts/interfaces/IUniswapV2StyleStrategy.sol | |
+3 −1 | contracts/test/mocks/Mocks.sol | |
+1 −1 | modules/erc20 | |
+1 −1 | modules/erc20-helper | |
+4 −1 | package.yaml |
Submodule loan
updated
from 3e17bb to 21a6d7
Submodule maple-proxy-factory
updated
10 files
+19 −19 | .circleci/config.yml | |
+3 −0 | .gitignore | |
+0 −7 | contracts/MapleProxied.sol | |
+7 −0 | contracts/MapleProxiedInternals.sol | |
+4 −3 | contracts/MapleProxyFactory.sol | |
+4 −4 | contracts/interfaces/IMapleProxied.sol | |
+7 −7 | contracts/interfaces/IMapleProxyFactory.sol | |
+2 −2 | contracts/test/mocks/Mocks.sol | |
+1 −1 | modules/proxy-factory | |
+5 −1 | package.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
name: debt-locker | ||
version: 2.0.0-beta.0 | ||
version: 2.0.0 | ||
source: contracts | ||
packages: | ||
- path: contracts/DebtLocker.sol | ||
contractName: DebtLocker | ||
- path: contracts/DebtLockerInitializer.sol | ||
contractName: DebtLockerInitializer | ||
customChecksum: 0x852d096582581e400aa000467ea9e59e7939c20e4cbbfe0c0f3d04ac4286f600 | ||
- path: contracts/DebtLockerFactory.sol | ||
contractName: DebtLockerFactory | ||
customChecksum: 0x90aa9362f8cf6d72464bb112ecddba515337250c33bff5c86e55831f005776d3 | ||
- path: contracts/DebtLockerInitializer.sol | ||
contractName: DebtLockerInitializer | ||
customChecksum: 0xc47b9628c0eaa75890eaced74c259ae3613b4cb0f5090a2925c2fae166f59486 | ||
customDescription: Maple Debt Locker Artifacts and ABIs |