import { ITxHash , TAddress } from '@types' ; export const isSameAddress = ( addressOne ? , addressTwo ? ) => isSameString ( addressOne , addressTwo ) ; export const isSameHash = ( hashOne ? , hashTwo ? ) => isSameString ( hashOne , hashTwo ) ; const isSameString = ( strOne ? , strTwo ? ) => { if ( ! strOne || ! strTwo ) return false ; return strOne . toLowerCase ( ) === strTwo . toLowerCase ( ) ; } ;