UNPKG

@bandz/protocol-js

Version:

Bandz protocol data aggregation tool

20 lines (19 loc) 1.5 kB
import 'reflect-metadata'; export declare const IsBchAddressMetadataKey: unique symbol; export declare const IsBchAddressArrayMetadataKey: unique symbol; export declare const IsBchAddressOrENSMetadataKey: unique symbol; export declare const isPositiveMetadataKey: unique symbol; export declare const isPositiveOrMinusOneMetadataKey: unique symbol; export declare const is0OrPositiveMetadataKey: unique symbol; export declare const optionalMetadataKey: unique symbol; export declare type paramsType = { index: number; field: string | undefined; }; export declare function IsBchAddress(field?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function IsBchAddressArray(field?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function IsBchAddressOrENS(field?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function IsPositiveAmount(field?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Is0OrPositiveAmount(field?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function IsPositiveOrMinusOneAmount(field?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Optional(target: any, propertyKey: string | symbol, parameterIndex: number): void;