import { Message } from "@keplr-wallet/router" ; import { ROUTE } from "./constants" ; export class ApproveInteractionMsg extends Message < void > { public static type ( ) { return "approve-interaction" ; } constructor ( public readonly id , public readonly result ) { super ( ) ; } validateBasic ( ) { } route ( ) { return ROUTE ; } type ( ) { return ApproveInteractionMsg . type ( ) ; } } export class RejectInteractionMsg extends Message < void > { public static type ( ) { return "reject-interaction" ; } constructor ( public readonly id ) { super ( ) ; } validateBasic ( ) { } route ( ) { return ROUTE ; } type ( ) { return RejectInteractionMsg . type ( ) ; } }