I've created a smart contract in solidity which I've compiled with solc into a .bin & a .abi file. However, when I run the generator on the .abi and .bin files it returns a JSONParseException citing an unexpected character. io This is my smart contract:
pragma solidity ^0.4.9;
contract Contract {
address public creator;
event Log(uint256 id);
function Contract() {
creator = msg.sender;
}
function kill() {
selfdestruct(creator);
}
function add(uint256 id) {
Log(id);
}
}