UNPKG

jcc-ethereum-utils

Version:

Toolkit of crossing chain from Ethereum to SWTC chain

7 lines (6 loc) 563 B
export declare const isValidEthereumAddress: (target: any, name: string, index: number) => void; export declare const isValidEthereumSecret: (target: any, name: string, index: number) => void; export declare const isValidJingtumAddress: (target: any, name: string, index: number) => void; export declare const isValidHash: (target: any, name: string, index: number) => void; export declare const isValidAmount: (target: any, name: string, index: number) => void; export declare const validate: (target: any, name: string, descriptor: PropertyDescriptor) => void;