const datum = new ConstrData(0, [
new ByteArrayData(organizer.pubKeyHash.bytes),
new ByteArrayData(attendee.pubKeyHash.bytes),
new IntData(BigInt(Math.floor(releaseDate.getTime() / 1000))),
new IntData(BigInt(Math.floor(cancelDeadline.getTime() / 1000))),
new IntData(BigInt(Math.floor(createdAt.getTime() / 1000))),
])
This is how I do it for now: