0x545aab59…f2efsent to0xa225ebe7…99bb·#5,225,824·view on Etherscan
Refractor a JS method for the BP create page (0.02E) and a small HTML/JS change (0.03E)See:
- the JS method `callNewBP`: https://github.com/cryptoprimitive/toastycoin-frontier/blob/master/beta/script/create.js#L11
- the Solidity method `newBP` that `callNewBP` calls: https://github.com/cryptoprimitive/toastycoin-frontier/blob/master/beta/BurnablePayment.sol#L52
Fork and refactor the JS method so that its function signature matches up with the Solidity method it calls. 'valueInEth' should still be the first argument of the JS function. Make a pull request when you're done, and if it functions bug-free I'll release 0.02 ETH.
After the above is done, replace the html inputs "Payment amount" and "Service Deposit" with "You put in..." and "They put in...". The former should correlate to the 'value' passed to the contract, and the latter to the commitThreshold argument. I'll then release the remaining 0.03 ETH.