Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.web3 = new Web3(
- new Web3.providers.HttpProvider('https://ropsten.infura.io'));
- var Contract = contract.at("0x....");
- Contract.allEvents({fromBlock: currentBlock - 100, toBlock: 'latest'},
- function (evt) {
- console.log('evt!', evt); // this code is never run
- });
Add Comment
Please, Sign In to add comment