Skip to content

Instantly share code, notes, and snippets.

contract ERC20Basic {
uint public totalSupply;
function balanceOf(address who) constant returns (uint);
function transfer(address to, uint value);
function allowance(address owner, address spender) constant returns (uint);
function transferFrom(address from, address to, uint value);
function approve(address spender, uint value);
event Approval(address indexed owner, address indexed spender, uint value);
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfer(address to, uint tokens) public returns (bool success);
function approve(address spender, uint tokens) public returns (bool success);
function transferFrom(address from, address to, uint tokens) public returns (bool success);
event Transfer(address indexed from, address indexed to, uint tokens);
Tokens that are not returning a bool in the transfer function.
Only tokens in listed on Etherdelta were checked.
https://raw.githubusercontent.com/etherdelta/etherdelta.github.io/master/config/main.json
all these contracts are affected by the missing return value bug. Morte info on this issue:
https://github.com/ethereum/solidity/issues/4116
pragma solidity ^0.4.18;
contract Certification {
address public certifierAddress;
string public CompanyName;
string public Norm;
string public CertID;
0x686564314e56218baa161b070d46b1cedf63abcb
@lukas-berlin
lukas-berlin / gist:6a28cc0b76fae4a1835c24f07a9da01c
Created May 15, 2017 15:48
0xb1a2269C4f507761424a16b12E9522B2b9BD46B7
0xb1a2269C4f507761424a16b12E9522B2b9BD46B7
@lukas-berlin
lukas-berlin / 0xc3dfa955c803a1559979cd2d3165f461dc9b5138
Last active May 2, 2017 19:37
0xc3dfa955c803a1559979cd2d3165f461dc9b5138
0xc3dfa955c803a1559979cd2d3165f461dc9b5138
0xe735053f464c0b7b04183a1def8ca674f3696ec1