PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@near-js/accounts/lib/commonjs/local-view-execution

Просмотр файла: storage.d.ts

import { BlockHash, BlockReference } from '@near-js/types';
import { ContractState } from './types';
export interface StorageData {
    blockHeight: number;
    blockTimestamp: number;
    contractCode: string;
    contractState: ContractState;
}
export interface StorageOptions {
    max: number;
}
export declare class Storage {
    private readonly cache;
    private static MAX_ELEMENTS;
    private blockHeights;
    constructor(options?: StorageOptions);
    load(blockRef: BlockReference): StorageData | undefined;
    save(blockHash: BlockHash, { blockHeight, blockTimestamp, contractCode, contractState }: StorageData): void;
}
//# sourceMappingURL=storage.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!