@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
12 lines (11 loc) • 525 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PDelegatee = void 0;
var pstruct_1 = require("../../../PTypes/PStruct/pstruct.js");
var PPubKeyHash_1 = require("../../V1/PubKey/PPubKeyHash.js");
var PDRep_1 = require("../Governance/PDRep.js");
exports.PDelegatee = (0, pstruct_1.pstruct)({
DelegStake: { poolId: PPubKeyHash_1.PPubKeyHash.type },
DelegVote: { drep: PDRep_1.PDrep.type },
DelegStakeVote: { poolId: PPubKeyHash_1.PPubKeyHash.type, drep: PDRep_1.PDrep.type }
});