import { GetStorage } from "../../../src/storage"; /** * This is the doc comment for pallet `Sudo`'s storages. * * `Sudo`'s calls: {@link: module:pangolin/sudo/calls} * * @module pangolin/sudo/storages */ export const getSudo = (getStorage: GetStorage) => { return { /** * The `AccountId` of the sudo key. * * @returns {Promise} AccountId20: [U8; 20] */ key: async (): Promise => { return await getStorage('Sudo', 'Key'); }, }; };