Interface MethodField<A>

interface MethodField<A> {
    functionName: Extract<keyof A, string>;
    functionType: types.FunctionType;
    validateAndReturnArgs: ((data) => ArgTypeFromIDLType<Extract<keyof A, string>>[]);
    type: "normal";
    transformData: ((data) => MethodRetsDefaultValues<Extract<keyof A, string>>);
    defaultValues: {
        args: MethodArgsDefaultValues<Extract<keyof A, string>>;
        rets: MethodRetsDefaultValues<Extract<keyof A, string>>;
    };
    argField: [] | AllArgTypes<types.IDL.Type<any>>[];
    retField: [] | AllReturnTypes<types.IDL.Type<any>>[];
}

Type Parameters

Hierarchy

Properties

functionName: Extract<keyof A, string>
functionType: types.FunctionType
validateAndReturnArgs: ((data) => ArgTypeFromIDLType<Extract<keyof A, string>>[])

Type declaration

type: "normal"
transformData: ((data) => MethodRetsDefaultValues<Extract<keyof A, string>>)

Type declaration

defaultValues: {
    args: MethodArgsDefaultValues<Extract<keyof A, string>>;
    rets: MethodRetsDefaultValues<Extract<keyof A, string>>;
}

Type declaration

argField: [] | AllArgTypes<types.IDL.Type<any>>[]
retField: [] | AllReturnTypes<types.IDL.Type<any>>[]