import { Idl, StateCoder } from "@project-serum/anchor"; export class NftBridgeStateCoder implements StateCoder { constructor(_idl: Idl) {} encode(_name: string, _account: T): Promise { throw new Error("NFT Bridge program does not have state"); } decode(_ix: Buffer): T { throw new Error("NFT Bridge program does not have state"); } }