@@ -16,6 +16,7 @@ data class ConfigEntity(
1616 val supportLink : String ,
1717 val nftExplorer : String ,
1818 val transactionExplorer : String ,
19+ val accountExplorer : String ,
1920 val mercuryoSecret : String ,
2021 val tonapiMainnetHost : String ,
2122 val tonapiTestnetHost : String ,
@@ -38,6 +39,7 @@ data class ConfigEntity(
3839 val batteryBeta : Boolean ,
3940 val batterySendDisabled : Boolean ,
4041 val disableBatteryIapModule : Boolean ,
42+ val disableBatteryCryptoRechargeModule : Boolean ,
4143 val batteryMaxInputAmount : String ,
4244 val batteryRefundEndpoint : String ,
4345 val batteryPromoDisable : Boolean ,
@@ -59,6 +61,8 @@ data class ConfigEntity(
5961 val tronSwapUrl : String ,
6062 val tronSwapTitle : String ,
6163 val tronApiKey : String? = null ,
64+ val privacyPolicyUrl : String ,
65+ val termsOfUseUrl : String
6266): Parcelable {
6367
6468 @IgnoredOnParcel
@@ -82,6 +86,7 @@ data class ConfigEntity(
8286 supportLink = json.getString(" supportLink" ),
8387 nftExplorer = json.getString(" NFTOnExplorerUrl" ),
8488 transactionExplorer = json.getString(" transactionExplorer" ),
89+ accountExplorer = json.getString(" accountExplorer" ),
8590 mercuryoSecret = json.getString(" mercuryoSecret" ),
8691 tonapiMainnetHost = json.getString(" tonapiMainnetHost" ),
8792 tonapiTestnetHost = json.getString(" tonapiTestnetHost" ),
@@ -108,6 +113,7 @@ data class ConfigEntity(
108113 batteryBeta = json.optBoolean(" battery_beta" , true ),
109114 batterySendDisabled = json.optBoolean(" disable_battery_send" , false ),
110115 disableBatteryIapModule = json.optBoolean(" disable_battery_iap_module" , false ),
116+ disableBatteryCryptoRechargeModule = json.optBoolean(" disable_battery_crypto_recharge_module" , false ),
111117 batteryMaxInputAmount = json.optString(" batteryMaxInputAmount" , " 3" ),
112118 batteryRefundEndpoint = json.optString(" batteryRefundEndpoint" , " https://battery-refund-app.vercel.app" ),
113119 batteryPromoDisable = json.optBoolean(" disable_battery_promo_module" , true ),
@@ -134,14 +140,17 @@ data class ConfigEntity(
134140 tonkeeperApiUrl = json.optString(" tonkeeper_api_url" , " https://api.tonkeeper.com" ),
135141 tronSwapUrl = json.optString(" tron_swap_url" , " https://widget.letsexchange.io/en?affiliate_id=ffzymmunvvyxyypo&coin_from=ton&coin_to=USDT-TRC20&is_iframe=true" ),
136142 tronSwapTitle = json.optString(" tron_swap_title" , " LetsExchange" ),
137- tronApiKey = json.optString(" tron_api_key" )
143+ tronApiKey = json.optString(" tron_api_key" ),
144+ privacyPolicyUrl = json.getString(" privacy_policy" ),
145+ termsOfUseUrl = json.getString(" terms_of_use" ),
138146 )
139147
140148 constructor () : this (
141149 empty = true ,
142150 supportLink = " mailto:support@tonkeeper.com" ,
143151 nftExplorer = " https://tonviewer.com/nft/%s" ,
144152 transactionExplorer = " https://tonviewer.com/transaction/%s" ,
153+ accountExplorer = " https://tonviewer.com/%s" ,
145154 mercuryoSecret = " " ,
146155 tonapiMainnetHost = " https://keeper.tonapi.io" ,
147156 tonapiTestnetHost = " https://testnet.tonapi.io" ,
@@ -164,6 +173,7 @@ data class ConfigEntity(
164173 batteryBeta = true ,
165174 batterySendDisabled = false ,
166175 disableBatteryIapModule = false ,
176+ disableBatteryCryptoRechargeModule = false ,
167177 batteryMaxInputAmount = " 3" ,
168178 batteryRefundEndpoint = " https://battery-refund-app.vercel.app" ,
169179 batteryPromoDisable = true ,
@@ -183,7 +193,9 @@ data class ConfigEntity(
183193 region = " US" ,
184194 tonkeeperApiUrl = " https://api.tonkeeper.com" ,
185195 tronSwapUrl = " https://widget.letsexchange.io/en?affiliate_id=ffzymmunvvyxyypo&coin_from=ton&coin_to=USDT-TRC20&is_iframe=true" ,
186- tronSwapTitle = " LetsExchange"
196+ tronSwapTitle = " LetsExchange" ,
197+ privacyPolicyUrl = " https://tonkeeper.com/privacy" ,
198+ termsOfUseUrl = " https://tonkeeper.com/terms"
187199 )
188200
189201 fun formatTransactionExplorer (testnet : Boolean , tron : Boolean , hash : String ): String {
0 commit comments