package ethereumjava.solidity.coder.decoder;

import ethereumjava.solidity.types.SInt;

/**
 * Created by gunicolas on 08/09/16.
 */
public abstract class SIntDecoder implements SDecoder<SInt> {

    @Override
    public SInt decode(String toDecode) {
        return null;
    }
}

@@ -39,16 +39,46 @@
 coder;%0A%0A
+import java.math.BigInteger;%0A%0A
 import e
@@ -294,12 +294,56 @@
 urn 
-null
+SInt.fromBigInteger256(new BigInteger(toDecode))
 ;%0A  

add SInt coder