Skip to content

Commit

Permalink
amend descriptions for captial, lockedCapital and blance to IBundle a…
Browse files Browse the repository at this point in the history
…nd IPool
  • Loading branch information
matthiaszimmermann committed Sep 19, 2022
1 parent 736bf15 commit 3b0002a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions contracts/modules/IBundle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ interface IBundle {
uint256 riskpoolId;
uint256 tokenId;
BundleState state;
bytes filter;
uint256 capital;
uint256 lockedCapital;
uint256 balance;
bytes filter; // required conditions for applications to be considered for collateralization by this bundle
uint256 capital; // net investment capital amount (<= balance)
uint256 lockedCapital; // capital amount linked to collateralizaion of non-closed policies (<= capital)
uint256 balance; // total amount of funds: net investment capital + net premiums - payouts
uint256 createdAt;
uint256 updatedAt;
}
Expand Down
8 changes: 4 additions & 4 deletions contracts/modules/IPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ interface IPool {
uint256 id; // matches component id of riskpool
address wallet; // riskpool wallet
address erc20Token; // the value token of the riskpool
uint256 collateralizationLevel;
uint256 collateralizationLevel; // required collateralization level to cover new policies
uint256 sumOfSumInsuredCap; // max sum of sum insured the pool is allowed to secure
uint256 sumOfSumInsuredAtRisk; // current sum of sum insured at risk in this pool
uint256 capital;
uint256 lockedCapital;
uint256 balance;
uint256 capital; // net investment capital amount (<= balance)
uint256 lockedCapital; // capital amount linked to collateralizaion of non-closed policies (<= capital)
uint256 balance; // total amount of funds: net investment capital + net premiums - payouts
uint256 createdAt;
uint256 updatedAt;
}
Expand Down

0 comments on commit 3b0002a

Please sign in to comment.