synapsecns/sanguine

View on GitHub
packages/synapse-interface/slices/application/actions.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createAction } from '@reduxjs/toolkit'
import { Address } from 'viem'

export enum RootActions {
  RESET_REDUX_CACHE = 'reset_redux_cache',
}

export const resetReduxCache = createAction(RootActions.RESET_REDUX_CACHE)
export const updateLastConnectedAddress = createAction<Address>(
  'application/updateLastConnectedAddress'
)
export const updateLastConnectedTime = createAction<number>(
  'application/updateLastConnectedTime'
)