@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
16 lines (15 loc) • 500 B
TypeScript
import { GenericStructDefinition, GenericTermType, SopDefinition } from "./types.js";
/**
* needed for
*
* ```ctorDefExtends```
* ```structExtends```
* ```typeExtends```
*/
type TyParam = {
tyVar: symbol;
tyArg: GenericTermType;
};
export declare function sopDefExtends(extendingDef: SopDefinition, sDef: SopDefinition | GenericStructDefinition, subs?: TyParam[]): boolean;
export declare function typeExtends(extending: GenericTermType, extended: GenericTermType): boolean;
export {};