Skip to content

Commit 3b0002a

Browse files
amend descriptions for captial, lockedCapital and blance to IBundle and IPool
1 parent 736bf15 commit 3b0002a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

contracts/modules/IBundle.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ interface IBundle {
3232
uint256 riskpoolId;
3333
uint256 tokenId;
3434
BundleState state;
35-
bytes filter;
36-
uint256 capital;
37-
uint256 lockedCapital;
38-
uint256 balance;
35+
bytes filter; // required conditions for applications to be considered for collateralization by this bundle
36+
uint256 capital; // net investment capital amount (<= balance)
37+
uint256 lockedCapital; // capital amount linked to collateralizaion of non-closed policies (<= capital)
38+
uint256 balance; // total amount of funds: net investment capital + net premiums - payouts
3939
uint256 createdAt;
4040
uint256 updatedAt;
4141
}

contracts/modules/IPool.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ interface IPool {
2020
uint256 id; // matches component id of riskpool
2121
address wallet; // riskpool wallet
2222
address erc20Token; // the value token of the riskpool
23-
uint256 collateralizationLevel;
23+
uint256 collateralizationLevel; // required collateralization level to cover new policies
2424
uint256 sumOfSumInsuredCap; // max sum of sum insured the pool is allowed to secure
2525
uint256 sumOfSumInsuredAtRisk; // current sum of sum insured at risk in this pool
26-
uint256 capital;
27-
uint256 lockedCapital;
28-
uint256 balance;
26+
uint256 capital; // net investment capital amount (<= balance)
27+
uint256 lockedCapital; // capital amount linked to collateralizaion of non-closed policies (<= capital)
28+
uint256 balance; // total amount of funds: net investment capital + net premiums - payouts
2929
uint256 createdAt;
3030
uint256 updatedAt;
3131
}

0 commit comments

Comments
 (0)