ton3-core
Version:
TON low-level API tools
21 lines (20 loc) • 544 B
TypeScript
import { Address } from '../address';
import { ContractLibrary } from './libraries';
import { Cell } from '../boc';
interface ContractBaseOptions {
workchain: number;
code: Cell;
storage?: Cell;
libraries?: ContractLibrary[];
}
declare class ContractBase {
private _state;
private _workchain;
private _address;
constructor(options: ContractBaseOptions);
get workchain(): number;
get address(): Address;
get state(): Cell;
private static stateInit;
}
export { ContractBase, ContractBaseOptions };