• 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
Name
Last commit
Last update
..
contracts Loading commit data...
data Loading commit data...
helpers Loading commit data...
bond.ts Loading commit data...
setup.ts Loading commit data...