mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-23 12:08:32 +00:00
22 lines
574 B
C#
22 lines
574 B
C#
namespace NftFaucet.Models;
|
|
|
|
public class ScopedAppState
|
|
{
|
|
public ScopedAppState(IpfsBlockchainContext context, MetamaskInfo metamask, NavigationWrapper navigationWrapper)
|
|
{
|
|
IpfsContext = context;
|
|
Metamask = metamask;
|
|
Navigation = navigationWrapper;
|
|
}
|
|
|
|
public IpfsBlockchainContext IpfsContext { get; }
|
|
public MetamaskInfo Metamask { get; }
|
|
public NavigationWrapper Navigation { get; }
|
|
public StateStorage Storage { get; private set; } = new();
|
|
|
|
public void Reset()
|
|
{
|
|
Storage = new StateStorage();
|
|
}
|
|
}
|