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