UNPKG

@renec-foundation/mpl-token-metadata

Version:

MPL Token Metadata JavaScript API.

27 lines (26 loc) 699 B
import { Borsh } from '@renec-foundation/mpl-core'; import { MetadataKey, UseMethod } from '.'; type UsesArgs = { useMethod: UseMethod; total: number; remaining: number; }; export declare class Uses extends Borsh.Data<UsesArgs> { static readonly SCHEMA: any; useMethod: UseMethod; total: number; remaining: number; constructor(args: UsesArgs); } type UseAuthorityRecordArgs = { allowedUses: number; bump: number; }; export declare class UseAuthorityRecord extends Borsh.Data<UseAuthorityRecordArgs> { static readonly SCHEMA: any; key: MetadataKey; allowedUses: number; bump: number; constructor(args: UseAuthorityRecordArgs); } export {};