• Georgios Konstantopoulos's avatar
    Bond Manager Deposit bugfix (#64) · f24339f9
    Georgios Konstantopoulos authored
    * fix(bond): always deposit requiredCollateral
    
    This means that we have to remove the setRequiredCollateral function to avoid:
    1. Publisher deposits, requiredCollateral goes up, publisher withdraws more than they deposited
    2. Publisher deposits, fraud happens, requiredCollateral goes up, more than the user's deposit gets
    distributed in fraud claims
    
    * fix(bond): remove redundant batchIndex parameter
    f24339f9
bond.ts 11.6 KB