/** * 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 OAppRegisteredEvent = { oapp: PublicKey; delegate: PublicKey }; export type OAppRegisteredEventArgs = OAppRegisteredEvent; export function getOAppRegisteredEventSerializer(): Serializer< OAppRegisteredEventArgs, OAppRegisteredEvent > { return struct( [ ['oapp', publicKeySerializer()], ['delegate', publicKeySerializer()], ], { description: 'OAppRegisteredEvent' } ) as Serializer; }