/** * 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, u64, } from '@metaplex-foundation/umi/serializers'; export type RentWithdrawnEvent = { receiver: PublicKey; amount: bigint }; export type RentWithdrawnEventArgs = { receiver: PublicKey; amount: number | bigint; }; export function getRentWithdrawnEventSerializer(): Serializer< RentWithdrawnEventArgs, RentWithdrawnEvent > { return struct( [ ['receiver', publicKeySerializer()], ['amount', u64()], ], { description: 'RentWithdrawnEvent' } ) as Serializer; }