/** * 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, } from '@metaplex-foundation/umi/serializers'; export type DelegateSetEvent = { newDelegate: PublicKey }; export type DelegateSetEventArgs = DelegateSetEvent; export function getDelegateSetEventSerializer(): Serializer< DelegateSetEventArgs, DelegateSetEvent > { return struct([['newDelegate', publicKeySerializer()]], { description: 'DelegateSetEvent', }) as Serializer; }