class SamplePrecompiledContract extends PrecompiledContracts.PrecompiledContract {

    public int GetResult(Object... args)
    {
        DataWord keyWord = new DataWord("result".getBytes(StandardCharsets.UTF_8));
        DataWord storedValue = repository.getStorageValue(contractAddress, keyWord);
        int result = (storedValue != null ? storedValue.intValue() : 0);

        return result;
    }

    public  SamplePrecompiledContract(UscAddress contractAddress);

}