PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@cosmjs/encoding/build
Просмотр файла: bech32.d.ts
export declare function toBech32(prefix: string, data: Uint8Array, limit?: number): string;
export declare function fromBech32(address: string, limit?: number): {
readonly prefix: string;
readonly data: Uint8Array;
};
/**
* Takes a bech32 address and returns a normalized (i.e. lower case) representation of it.
*
* The input is validated along the way, which makes this significantly safer than
* using `address.toLowerCase()`.
*/
export declare function normalizeBech32(address: string): string;
/**
* @deprecated This class is deprecated and will be removed soon. Please use fromBech32() and toBech32() instead. For more details please refer to https://github.com/cosmos/cosmjs/issues/1053.
*/
export declare class Bech32 {
/**
* @deprecated This class is deprecated and will be removed soon. Please use fromBech32() and toBech32() instead. For more details please refer to https://github.com/cosmos/cosmjs/issues/1053.
*/
static encode(prefix: string, data: Uint8Array, limit?: number): string;
/**
* @deprecated This class is deprecated and will be removed soon. Please use fromBech32() and toBech32() instead. For more details please refer to https://github.com/cosmos/cosmjs/issues/1053.
*/
static decode(address: string, limit?: number): {
readonly prefix: string;
readonly data: Uint8Array;
};
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!