package Ġio . horizontal systems . bank wallet . core . storage Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġio . horizontal systems . bank wallet . entities . Blockchain Setting Ċ import Ġio . horizontal systems . bank wallet . entities . Coin Type Ċ Ċ @ Dao Ċ interface ĠBlock chain Setting Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM ĠBlock chain Setting ") ĊĠĠĠ Ġfun ĠgetAll (): ĠList < Blockchain Setting > ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( item : ĠBlock chain Setting ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM ĠBlock chain Setting ĠWHERE Ġcoin Type Ġ= Ġ: coin Type ĠAND Ġ` key ` Ġ== Ġ: key ") ĊĠĠĠ Ġfun Ġget Setting ( coin Type : ĠCoin Type , Ġkey : ĠString ): ĠBlock chain Setting ? ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM ĠBlock chain Setting ĠWHERE Ġ` key ` Ġ= Ġ: key ") ĊĠĠĠ Ġfun Ġdelete Der ivation Settings ( key : ĠString ) Ċ Ċ } Ċ