I currently have two contracts: a.compact:
module a {
export sealed ledger num: Uint<8>;
}
b.compact:
import "a";
constructor() {
num = 10;
}
Is it expected for typescript target files generated by compactc to be empty and look like this:
import type * as __compactRuntime from '@midnight-ntwrk/compact-runtime';
export type Witnesses<T> = {
}
export type ImpureCircuits<T> = {
}
export type PureCircuits = {
}
export type Circuits<T> = {
}
export type Ledger = {
}
export type ContractReferenceLocations = any;
export declare const contractReferenceLocations : ContractReferenceLocations;
export declare class Contract<T, W extends Witnesses<T> = Witnesses<T>> {
witnesses: W;
circuits: Circuits<T>;
impureCircuits: ImpureCircuits<T>;
constructor(witnesses: W);
initialState(context: __compactRuntime.ConstructorContext<T>): __compactRuntime.ConstructorResult<T>;
}
export declare function ledger(state: __compactRuntime.StateValue): Ledger;
export declare const pureCircuits: PureCircuits;