locklift
Version:
Node JS framework for working with Ever contracts. Inspired by Truffle and Hardhat. Helps you to build, test, run and maintain your smart contracts.
15 lines (14 loc) • 651 B
TypeScript
import { ConfigState, NetworkValue } from "../config";
import { Clock } from "everscale-standalone-client";
import { SeService } from "./seService";
export declare class TimeMovement {
private readonly seService;
private readonly clock;
readonly isEnabled: boolean;
constructor(seService: SeService | undefined, clock: Clock, isEnabled: boolean);
getTimeOffset: () => number;
getCurrentTime: () => number;
increaseTime: (seconds: number) => Promise<void>;
private resetTimeOffset;
}
export declare const createTimeMovement: (clock: Clock, connectionConfig: NetworkValue<ConfigState.INTERNAL>) => Promise<TimeMovement>;