mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 18:45:38 +00:00
994fa03828
* Rsk network with checksum * Initial change from chainid everywhere to selectors * Fix ternary * Check in address book changes to lower case. Currently a little busted. * Fix validation * Fix tests. * Identicon back to SFC * Remove unnecessary prop * Paper Wallet Refactor (#1950) * Convert print wallet to save png image. Move all styles into CSS. * Fix re-print paper wallet with save modal * Address PR comments
20 lines
481 B
TypeScript
20 lines
481 B
TypeScript
declare module 'rskjs-util' {
|
|
/**
|
|
*
|
|
* @description Returns a checksummed address
|
|
* @export
|
|
* @param {string} address
|
|
* @returns {string}
|
|
*/
|
|
export function toChecksumAddress(address: string, chainId: number): string;
|
|
|
|
/**
|
|
*
|
|
* @description Checks if the address is a valid checksummed address
|
|
* @export
|
|
* @param {string} address
|
|
* @returns {boolean}
|
|
*/
|
|
export function isValidChecksumAddress(address: string, chainId: number): boolean;
|
|
}
|