/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * 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 { NetworkTypeEnum } from './NetworkTypeEnum'; /** * Transaction to set a restriction rule to an address. * @export * @interface MosaicAddressRestrictionTransactionDTO */ export interface MosaicAddressRestrictionTransactionDTO { /** * A number that allows uint 32 values. * @type {number} * @memberof MosaicAddressRestrictionTransactionDTO */ size: number; /** * Entity's signature generated by the signer. * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ signature: string; /** * Public key. * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ signerPublicKey: string; /** * Entity version. * @type {number} * @memberof MosaicAddressRestrictionTransactionDTO */ version: number; /** * * @type {NetworkTypeEnum} * @memberof MosaicAddressRestrictionTransactionDTO */ network: NetworkTypeEnum; /** * * @type {number} * @memberof MosaicAddressRestrictionTransactionDTO */ type: number; /** * Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative). * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ maxFee: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ deadline: string; /** * Mosaic identifier. If the most significant bit of byte 0 is set, a namespaceId (alias) * is used instead of the real mosaic identifier. * * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ mosaicId: string; /** * Restriction key. * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ restrictionKey: string; /** * Restriction value. * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ previousRestrictionValue: string; /** * Restriction value. * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ newRestrictionValue: string; /** * Address expressed in Base32 format. If the bit 0 of byte 0 is not set (like in 0x90), then it is a * regular address. Example: TAOXUJOTTW3W5XTBQMQEX3SQNA6MCUVGXLXR3TA. * Otherwise (e.g. 0x91) it represents a namespace id which starts at byte 1. Example: THBIMC3THGH5RUYAAAAAAAAAAAAAAAAAAAAAAAA * * @type {string} * @memberof MosaicAddressRestrictionTransactionDTO */ targetAddress: string; } /** * Check if a given object implements the MosaicAddressRestrictionTransactionDTO interface. */ export declare function instanceOfMosaicAddressRestrictionTransactionDTO(value: Record): value is MosaicAddressRestrictionTransactionDTO; export declare function MosaicAddressRestrictionTransactionDTOFromJSON(json: any): MosaicAddressRestrictionTransactionDTO; export declare function MosaicAddressRestrictionTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MosaicAddressRestrictionTransactionDTO; export declare function MosaicAddressRestrictionTransactionDTOToJSON(json: any): MosaicAddressRestrictionTransactionDTO; export declare function MosaicAddressRestrictionTransactionDTOToJSONTyped(value?: MosaicAddressRestrictionTransactionDTO | null, ignoreDiscriminator?: boolean): any;