/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { MosaicAddressRestrictionEntryDTO } from './MosaicAddressRestrictionEntryDTO'; import type { MosaicRestrictionEntryTypeEnum } from './MosaicRestrictionEntryTypeEnum'; /** * Wrapper object containing one mosaic address restriction entry. * @export * @interface MosaicAddressRestrictionEntryWrapperDTO */ export interface MosaicAddressRestrictionEntryWrapperDTO { /** * Version of the on-chain state serialization format. Incremented when the storage * schema of the entity changes (e.g. new fields are added), allowing the node to * deserialize entries written under earlier formats. * * @type {number} * @memberof MosaicAddressRestrictionEntryWrapperDTO */ version: number; /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof MosaicAddressRestrictionEntryWrapperDTO */ compositeHash: string; /** * * @type {MosaicRestrictionEntryTypeEnum} * @memberof MosaicAddressRestrictionEntryWrapperDTO */ entryType: MosaicRestrictionEntryTypeEnum; /** * Unique [mosaic](https://docs.symbol.dev/concepts/mosaic.html) identifier. * A 64-bit unsigned integer derived from the creator's address and a registration nonce, * encoded as a 16-character hexadecimal string. * * @type {string} * @memberof MosaicAddressRestrictionEntryWrapperDTO */ mosaicId: string; /** * Address encoded as a 48-character hexadecimal string (24 bytes). * The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`. * * @type {string} * @memberof MosaicAddressRestrictionEntryWrapperDTO */ targetAddress: string; /** * Address-specific restriction values associated with the mosaic and target address. * @type {Array} * @memberof MosaicAddressRestrictionEntryWrapperDTO */ restrictions: Array; } /** * Check if a given object implements the MosaicAddressRestrictionEntryWrapperDTO interface. */ export declare function instanceOfMosaicAddressRestrictionEntryWrapperDTO(value: Record): value is MosaicAddressRestrictionEntryWrapperDTO; export declare function MosaicAddressRestrictionEntryWrapperDTOFromJSON(json: any): MosaicAddressRestrictionEntryWrapperDTO; export declare function MosaicAddressRestrictionEntryWrapperDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MosaicAddressRestrictionEntryWrapperDTO; export declare function MosaicAddressRestrictionEntryWrapperDTOToJSON(json: any): MosaicAddressRestrictionEntryWrapperDTO; export declare function MosaicAddressRestrictionEntryWrapperDTOToJSONTyped(value?: MosaicAddressRestrictionEntryWrapperDTO | null, ignoreDiscriminator?: boolean): any;