Skip to content

Instantly share code, notes, and snippets.

pragma solidity ^0.4.8;
contract Experiment1 {
event LogDebug(uint val);
function trigger(uint[] a, bytes32 b) external {
LogDebug(a.length);
}
}
// Report on "stuck" ether in empty contracts
// https://github.com/ethereum/EIPs/issues/156
// Usage: node find-stuck-ether.js [startBlock] [endBlock] > report.txt
let Eth = require('ethjs');
let eth = new Eth(new Eth.HttpProvider('http://localhost:8545'));
let ethutil = require('ethereumjs-util')
async function main() {