

def __init__(self, conn):
    super(ColorMetaStore, self).__init__(conn)
    if (not self.table_exists('scanned_block')):
        self.execute('CREATE TABLE scanned_block (color_id INTEGER, blockhash TEXT)')
        conn.execute('CREATE UNIQUE INDEX scanned_block_idx on scanned_block(color_id, blockhash)')
    if (not self.table_exists('color_map')):
        self.execute('CREATE TABLE color_map (color_id INTEGER PRIMARY KEY AUTOINCREMENT, color_desc TEXT)')
        self.execute('CREATE UNIQUE INDEX color_map_idx ON color_map(color_desc)')

dataset/ETHPy150Open chromaway/ngcccbase/coloredcoinlib/store.py ColorMetaStore.__init__/VarMisuse@44/78 `self`->`conn`