From f36ef81a284d26237665b656ebcf6e736ac74fdb Mon Sep 17 00:00:00 2001 From: amaqkkg <16919110+amaqkkg@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:49:31 +0700 Subject: [PATCH] Add details and coverage --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a57cc2..1bbb399 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ You can deposit your IDRCoin to BankHub by providing Bank address and gain inter For now our official partner is Bank ABC and Bank IRB. -But anyone can create their own bank and join our platform by providing KYC to us. +But anyone can create their own bank and join our platform by providing KYC to us and some payment (DM us for details). ## Scope @@ -60,3 +60,19 @@ $ forge build $ forge test ``` +### Coverage + +```shell +$ forge coverage +╭--------------------+------------------+------------------+----------------+-----------------╮ +| File | % Lines | % Statements | % Branches | % Funcs | ++=============================================================================================+ +| src/BankHub.sol | 91.07% (51/56) | 90.74% (49/54) | 35.71% (5/14) | 100.00% (13/13) | +|--------------------+------------------+------------------+----------------+-----------------| +| src/IDRCoin.sol | 84.72% (61/72) | 85.25% (52/61) | 11.11% (1/9) | 90.00% (18/20) | +|--------------------+------------------+------------------+----------------+-----------------| +| test/ERC20Mock.sol | 92.59% (25/27) | 94.74% (18/19) | 50.00% (5/10) | 87.50% (7/8) | +|--------------------+------------------+------------------+----------------+-----------------| +| Total | 88.39% (137/155) | 88.81% (119/134) | 33.33% (11/33) | 92.68% (38/41) | +╰--------------------+------------------+------------------+----------------+-----------------╯ +```