Interface MethodArg<A>

interface MethodArg<A> {
    functionName: Extract<keyof A, string>;
    functionType: types.FunctionType;
    fields: [] | AllArgTypes<types.IDL.Type<any>>[];
    validateAndReturnArgs: ((data) => ArgTypeFromIDLType<types.FunctionName<A>>[]);
    defaultValues: MethodArgsDefaultValues<Extract<keyof A, string>>;
}

Type Parameters

Properties

functionName: Extract<keyof A, string>
functionType: types.FunctionType
fields: [] | AllArgTypes<types.IDL.Type<any>>[]
validateAndReturnArgs: ((data) => ArgTypeFromIDLType<types.FunctionName<A>>[])
defaultValues: MethodArgsDefaultValues<Extract<keyof A, string>>