class RemascStorageProvider {

    public Coin getFederationBalance() {
        if (federationBalance != null) {
            return federationBalance ;
        }

        DataWord address = DataWord.fromString(FEDERATION_BALANCE_KEY);

        DataWord value = this.repository.getStorageValue(this.contractAddress, address);

        if (value == null) {
            return Coin.ZERO;
        }

        return new Coin(value.getData());
    }

    public  RemascStorageProvider(Repository repository, RskAddress contractAddress);

}