get the latest compiled contract instance by contract name
        :param name:
        :param ezo:
        :return:

def get(name, ezo):
        '''
        get the latest compiled contract instance by contract name
        :param name:
        :param ezo:
        :return:
        '''

        key = DB.pkey([EZO.CONTRACT, name])
        cp, err = ezo.db.get(key)
        if err:
            return None, err

        if not cp:
            return None, None

        # create a new Contract
        c = Contract(cp["name"], ezo)
        c.abi = cp["abi"]
        c.bin = cp["bin"]
        c.hash = cp["hash"]
        c.source = cp["source"]
        c.timestamp = cp["timestamp"]
        c.te_map = cp['te-map']

        return c, None