def format(self, key, value):
        if type(value) is int:
            if "stakingRewards.staked" or "stakingRewards.earned" in key:
                return val(value)
            # Ether-scaled balances
            # TODO: Handle based on token decimals
            if ".digg" in key and "shares" not in key:
                return val(value, decimals=9)
            if ("balance" in key or key == "sett.available"
                    or key == "sett.pricePerFullShare"
                    or key == "sett.totalSupply"):
                return val(value)
            # DIGG Shares
            if "shares" in key or "diggFaucet.earned" in key:
                # We expect to have a known digg instance in the strategy in this case
                name = self.strategy.getName()
                digg = ""

                if name == "StrategyDiggRewards":
                    digg = interface.IDigg(self.strategy.want())
                else:
                    digg = interface.IDigg(self.strategy.digg())

                return digg_shares_to_initial_fragments(digg, value)
        return value
def digg_proxy():
    return interface.IDigg("0x798D1bE841a82a273720CE31c822C61a67a601C3")