Boost _ Folks Finance 34047 - [Smart Contract - Low] Adversaries can create a position that is nearl
Description
Description
struct UserLoan {
bool isActive;
bytes32 accountId;
uint16 loanTypeId;
uint8[] colPools;
uint8[] borPools;
mapping(uint8 poolId => UserLoanCollateral) collaterals;
mapping(uint8 poolId => UserLoanBorrow) borrows;
}
mapping(bytes32 loanId => UserLoan) internal _userLoans;Attack Scenario
Impact
Recommended Mitigations
Proof of concept
Proof-of-Concept
Steps
PreviousBoost _ Folks Finance 34030 - [Smart Contract - Low] Incorrect rounding down in HubPoolLogicupdateWiNextBoost _ Folks Finance 34050 - [Smart Contract - High] Vulnerability in getLoanLiquidity leads to und
Last updated
Was this helpful?