import { create } from 'zustand';
export const useSetuStore = create((set) => ({
    balance: null,
    usdcBalance: null,
    network: 'mainnet',
    isPaymentPending: false,
    lastPaymentAmount: null,
    walletAddress: null,
    isLoading: false,
    isTopupModalOpen: false,
    setBalance: (balance) => set({ balance }),
    setUsdcBalance: (usdcBalance) => set({ usdcBalance }),
    setNetwork: (network) => set({ network }),
    setPaymentPending: (isPaymentPending) => set({ isPaymentPending }),
    setLastPaymentAmount: (lastPaymentAmount) => set({ lastPaymentAmount }),
    setWalletAddress: (walletAddress) => set({ walletAddress }),
    setLoading: (isLoading) => set({ isLoading }),
    openTopupModal: () => set({ isTopupModalOpen: true }),
    closeTopupModal: () => set({ isTopupModalOpen: false }),
}));
//# sourceMappingURL=setuStore.js.map