• 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
..
.github Loading commit data...
bin Loading commit data...
contracts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
buidler-env.d.ts Loading commit data...
buidler.config.ts Loading commit data...
package.json Loading commit data...
prettier-config.json Loading commit data...
tsconfig.json Loading commit data...
tsconfig.prod.json Loading commit data...
tslint.json Loading commit data...
yarn.lock Loading commit data...