Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored the contract object (web3#424)
* started contract * prepared the contract functions * added deploy function * added event emitter funcitons * eventified promise * added encodeABI * added optional bluebird * improved the param finder * added call, transact and estimateGas * allow siganture for encodeABI * working on events * added event listeners to contracts * working on contract events * changed on message to on data * working on decoding events * switched deploy check to subscriptions * removed all event functions, keep only contract.on * added subscription stuff * fixed substractions formatters * added log decoding * added all events * fixed events * added new method calling structure * added mined event for send tx * worked on getPastEvents, still WIP * working on tests * added once method * made options object in function execution optional * finished pastEvents * added request function for batch processing to contract methods * fixed contract tests * finished proting tests * test provider isolatiton issues * commented out test to prevent unsolvable issue for now * changed deploy resolve * deactivate encodeABI * improved fake provider, with stacking validation and results * added fromBlock test * added tests for internal methods of the contract object
- Loading branch information