'Given a username, returns a dict.'

def get_tip(self, tipper, tippee):

    default = dict(amount=Decimal(u'0.00'), is_funded=False)
    return self.db.one(u'\n                                                SELECT    *\n                                                        FROM    tips\n                                                    WHERE    tipper=%s\n                                                            AND    tippee=%s\n                                        ORDER    BY    mtime    DESC\n                                                    LIMIT    1\n\n                                ', (tipper, tippee), back_as=dict, default=default)[u'amount']
