import { Message } from "@keplr-wallet/router" ; import { ROUTE } from "./constants" ; export class SetPersistentMemoryMsg extends Message < { success : boolean ; } > { public static type ( ) { return "set-persistent-memory" ; } constructor ( public readonly data ) { super ( ) ; } validateBasic ( ) { } route ( ) { return ROUTE ; } type ( ) { return SetPersistentMemoryMsg . type ( ) ; } } export class GetPersistentMemoryMsg extends Message < any > { public static type ( ) { return "get-persistent-memory" ; } constructor ( ) { super ( ) ; } validateBasic ( ) { } route ( ) { return ROUTE ; } type ( ) { return GetPersistentMemoryMsg . type ( ) ; } }