Skip to content

Commit 594e930

Browse files
committed
edited the Readme
1 parent b82202f commit 594e930

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,33 @@
88
- Individually set an interest rate of each user based on some global interest rate of the protocol at the time the user deposits into the vault.
99
- This global interest rate can only decrease to incentivize / reward the early adotpers.
1010
- Increase Token Adoption
11-
-
11+
12+
- Ran 15 tests for test/RebaseToken.t.sol:RebaseTokenTest
13+
- [PASS] testCanRedeemAfterTimePassed(uint256,uint256) (runs: 259, μ: 158203, ~: 157800)
14+
- [PASS] testCanRedeemImmediately(uint256) (runs: 259, μ: 148037, ~: 148343)
15+
- [PASS] testCannotCallMintAndBurn() (gas: 19920)
16+
- [PASS] testCannotSetInterestRate(uint256) (runs: 259, μ: 14262, ~: 14262)
17+
- [PASS] testDepositLinear(uint256) (runs: 258, μ: 147038, ~: 147472)
18+
- [PASS] testGetRebaseTokenAddress() (gas: 11128)
19+
- [PASS] testInterestRateCanOnlyDecrease(uint256) (runs: 259, μ: 24516, ~: 24709)
20+
- [PASS] testPrincipalAmount(uint256) (runs: 259, μ: 136672, ~: 136978)
21+
- [PASS] testRedeemFailsIfEthTransferFails(uint256) (runs: 259, μ: 254802, ~: 255108)
22+
- [PASS] testTransfer(uint256,uint256) (runs: 259, μ: 251210, ~: 251727)
23+
- [PASS] testTransferFromWithAllowance(uint256) (runs: 259, μ: 228577, ~: 228883)
24+
- [PASS] testTransferFromWithMaxUintAllowance(uint256,uint256) (runs: 259, μ: 273417, ~: 273934)
25+
- [PASS] testTransferFromWithMaxUintAmount(uint256) (runs: 259, μ: 243926, ~: 244232)
26+
- [PASS] testTransferMintsAccruedInterestToBothUsers(uint256,uint256) (runs: 259, μ: 232774, ~: 233291)
27+
- [PASS] testTransferWithMaxAmount(uint256) (runs: 259, μ: 206841, ~: 207147)
28+
- Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 344.56ms (2.17s CPU time)
29+
- Ran 1 test suite in 345.45ms (344.56ms CPU time): 15 tests passed, 0 failed, 0 skipped (15 total tests)
30+
31+
- ╭------------------------+-----------------+-----------------+---------------+-----------------╮
32+
- | File | % Lines | % Statements | % Branches | % Funcs +==============================================================================================+
33+
- | src/RebaseToken.sol | 100.00% (48/48) | 100.00% (45/45) | 100.00% (5/5) | 100.00% (12/12) |
34+
- |------------------------+-----------------+-----------------+---------------+-----------------|
35+
- | src/Vault.sol | 100.00% (15/15) | 100.00% (12/12) | 100.00% (2/2) | 100.00% (4/4) |
36+
- |------------------------+-----------------+-----------------+---------------+-----------------|
37+
- | test/RebaseToken.t.sol | 100.00% (2/2) | 100.00% (1/1) | 100.00% (0/0) | 100.00% (1/1) |
38+
- |------------------------+-----------------+-----------------+---------------+-----------------|
39+
- | Total | 100.00% (65/65) | 100.00% (58/58) | 100.00% (7/7) | 100.00% (17/17) |
40+
- ╰------------------------+-----------------+-----------------+---------------+-----------------╯

0 commit comments

Comments
 (0)