class RemascStorageProvider {

    public Boolean getBrokenSelectionRule() {
        if (brokenSelectionRule!= null) {
            return brokenSelectionRule;
        }

        DataWord address = DataWord.fromString(BROKEN_SELECTION_RULE_KEY);

        byte[] bytes = this.repository.getStorageBytes(this.contractAddress, address);

        if (bytes == null || bytes.length == 0) {
            return Boolean.FALSE;
        }

        if (bytes[0] == 0) {
            return Boolean.FALSE;
        } else {
            return Boolean.TRUE;
        }
    }

    public  RemascStorageProvider(Repository repository, RskAddress contractAddress);

}