/** * This code was AUTOGENERATED using the kinobi library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun kinobi to update it. * * @see https://github.com/kinobi-so/kinobi */ import { Option, OptionOrNullable, PublicKey } from '@metaplex-foundation/umi'; import { Serializer, option, publicKey as publicKeySerializer, struct, } from '@metaplex-foundation/umi/serializers'; export type LzTokenSetEvent = { token: Option }; export type LzTokenSetEventArgs = { token: OptionOrNullable }; export function getLzTokenSetEventSerializer(): Serializer< LzTokenSetEventArgs, LzTokenSetEvent > { return struct([['token', option(publicKeySerializer())]], { description: 'LzTokenSetEvent', }) as Serializer; }