@safe-global/protocol-kit
Version:
SDK that facilitates the interaction with Safe Smart Accounts
16 lines • 773 B
TypeScript
import { SafeContractImplementationType, SafeModulesPaginated } from '../types';
import SafeProvider from '../SafeProvider';
declare class ModuleManager {
#private;
constructor(safeProvider: SafeProvider, safeContract?: SafeContractImplementationType);
private validateModuleAddress;
private validateModuleIsNotEnabled;
private validateModuleIsEnabled;
getModules(): Promise<string[]>;
getModulesPaginated(start: string, pageSize: number): Promise<SafeModulesPaginated>;
isModuleEnabled(moduleAddress: string): Promise<boolean>;
encodeEnableModuleData(moduleAddress: string): Promise<string>;
encodeDisableModuleData(moduleAddress: string): Promise<string>;
}
export default ModuleManager;
//# sourceMappingURL=moduleManager.d.ts.map