/** * 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 ReceiveLibrarySetEvent = { receiver: PublicKey; eid: number; newLib: PublicKey; }; export type ReceiveLibrarySetEventArgs = ReceiveLibrarySetEvent; export function getReceiveLibrarySetEventSerializer(): Serializer< ReceiveLibrarySetEventArgs, ReceiveLibrarySetEvent > { return struct( [ ['receiver', publicKeySerializer()], ['eid', u32()], ['newLib', publicKeySerializer()], ], { description: 'ReceiveLibrarySetEvent' } ) as Serializer; }