/** * 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 { PublicKey } from '@metaplex-foundation/umi'; import { Serializer, publicKey as publicKeySerializer, struct, u32, } from '@metaplex-foundation/umi/serializers'; export type DefaultReceiveLibrarySetEvent = { eid: number; newLib: PublicKey }; export type DefaultReceiveLibrarySetEventArgs = DefaultReceiveLibrarySetEvent; export function getDefaultReceiveLibrarySetEventSerializer(): Serializer< DefaultReceiveLibrarySetEventArgs, DefaultReceiveLibrarySetEvent > { return struct( [ ['eid', u32()], ['newLib', publicKeySerializer()], ], { description: 'DefaultReceiveLibrarySetEvent' } ) as Serializer< DefaultReceiveLibrarySetEventArgs, DefaultReceiveLibrarySetEvent >; }