@harmoniclabs/buildooor
Version:
Cardano transaction builder in typescript
14 lines (13 loc) • 793 B
TypeScript
import { ITypedVotingProceduresEntry, IVoter, IVotingProceduresEntry } from "@harmoniclabs/cardano-ledger-ts";
import { IScriptWithRedeemer, ScriptWithRedeemer } from "./ScriptWithRedeemer.js";
export interface ITxBuildVotingProcedure {
votingProcedure: IVotingProceduresEntry;
script?: IScriptWithRedeemer;
}
export interface NormalizedITxBuildVotingProcedure {
votingProcedure: ITypedVotingProceduresEntry;
script?: ScriptWithRedeemer;
}
export declare function eqIVoter(a: IVoter, b: IVoter): boolean;
export declare function normalizeITxBuildVotingProcedure({ votingProcedure, script }: ITxBuildVotingProcedure): NormalizedITxBuildVotingProcedure;
export declare function normalizeVotingProcedureEntry(votingProcedure: IVotingProceduresEntry): ITypedVotingProceduresEntry;