UNPKG

592 BTypeScriptView Raw
1import type { AnyTuple, CallBase as CallBaseBase, CallFunction as CallFunctionBase, IMethod } from '@polkadot/types-codec/types';
2import type { FunctionMetadataLatest } from '../interfaces/metadata';
3import type { Call } from '../interfaces/runtime';
4import type { Registry } from './registry';
5export interface CallBase<A extends AnyTuple, M = FunctionMetadataLatest> extends CallBaseBase<A, M> {
6 registry: Registry;
7}
8export interface CallFunction<A extends AnyTuple = AnyTuple, M = FunctionMetadataLatest> extends CallFunctionBase<A, M> {
9 (...args: any[]): Call & IMethod<A, M>;
10}