Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-16 13:36:16 +02:00
parent a5488207ed
commit 2a41321e74
20 changed files with 440 additions and 9 deletions

View file

@ -0,0 +1,13 @@
package com.tangem.datasource.local.token
import com.tangem.datasource.local.datastore.RuntimeStateStore
import javax.inject.Inject
import javax.inject.Singleton
/**
* In-memory flag: the last P2P vaults request returned HTTP 451 (region unavailable).
* `true` staking is blocked in the region. Reset to `false` on a successful fetch.
*/
@Singleton
class P2PEthPoolRegionBlockedStore @Inject constructor() :
RuntimeStateStore<Boolean> by RuntimeStateStore(defaultValue = false)