UNPKG

@zlattice/lattice-js

Version:

Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)

29 lines 865 B
import { LatticeAbi } from "../../utils/index.js"; /** * Builtin contract */ declare class BuiltinContract { private readonly description; private readonly address; private readonly abiString; /** * @param description - The description of the contract * @param address - The address of the contract * @param abiString - The abi string of the contract */ constructor(description: string, address: string, abiString: string); getLatticeInterface(): LatticeAbi; getAddress(): string; getAbi(): string; } type writeTraceabilityRequest = { protocolUri: number; dataId: string; data: string[]; businessContractAddress: string; }; interface UploadKeyRequest { publicKey: string; } export { BuiltinContract, type writeTraceabilityRequest, type UploadKeyRequest }; //# sourceMappingURL=types.d.ts.map