import { StateCoder } from "../index.js"; import { Idl } from "../../idl"; export class SplTokenStateCoder implements StateCoder { constructor(_idl: Idl) {} encode(_name: string, _account: T): Promise { throw new Error("SPL token does not have state"); } decode(_ix: Buffer): T { throw new Error("SPL token does not have state"); } }