@reef-defi/types
Version:
Polkadot.js type definations for Reef Chain
18 lines (17 loc) • 565 B
TypeScript
import type { ApiTypes } from '@polkadot/api/types';
import type { u32 } from '@polkadot/types';
import type { Codec } from '@polkadot/types/types';
declare module '@polkadot/api/types/consts' {
interface AugmentedConsts<ApiType> {
tokens: {
maxLocks: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
}
interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
[key: string]: QueryableModuleConsts;
}
}