near-workspaces
Version:
Write tests in TypeScript/JavaScript to run in a controlled NEAR Sandbox local environment.
13 lines • 380 B
TypeScript
/// <reference types="node" />
import { Buffer } from 'buffer';
import { type Schema } from 'borsh';
export declare class ContractState {
private readonly data;
constructor(dataArray: Array<{
key: Buffer;
value: Buffer;
}>);
getRaw(key: string): Buffer;
get(key: string, borshSchema: Schema): any;
}
//# sourceMappingURL=contract-state.d.ts.map