@kiroboio/fct-core
Version:
Kirobo.io FCT Core library
51 lines • 1.48 kB
TypeScript
import { Flow } from "../../../constants";
import { Call, Validation } from "../../classes";
import { CallIdBase } from "../bases/CallIdBase";
export declare class CallId_oldVersion extends CallIdBase {
asString({ calls, validation, call, index, payerIndex, }: {
calls: Call[];
validation: Validation;
call: Call;
index: number;
payerIndex?: number;
}): string;
parse(callId: string): {
options: {
gasLimit: string;
flow: Flow;
jumpOnSuccess: string;
jumpOnFail: string;
validation: string;
};
viewOnly: boolean;
permissions: string;
payerIndex: number;
callIndex: number;
};
parseWithNumbers(callId: string): {
options: {
gasLimit: string;
flow: Flow;
jumpOnSuccess: number;
jumpOnFail: number;
validation: number;
};
viewOnly: boolean;
permissions: string;
payerIndex: number;
callIndex: number;
};
protected destructCallId: (callId: string) => {
validation: number;
permissions: string;
flowNumber: number;
jumpOnFail: number;
jumpOnSuccess: number;
payerIndex: number;
callIndex: number;
gasLimit: string;
flags: number;
};
protected getFlow: (flowNumber: number) => Flow;
}
//# sourceMappingURL=CallId.d.ts.map