Questions tagged [types]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Parsing Values from type Contract w s Text()

I have the following datum type. data FundCreationDatum = FundCreationDatum { vFundOwner :: PaymentPubKeyHash, vPrizeAmount :: Integer, vProjectLabel :: [BuiltinByteString], ...
user avatar
0 votes
2 answers
32 views

Type PaymentPubKeyHash not found

I have the following datum type data ProjectSubmitDatum = ProjectSubmitDatum { vProjectOwner :: PaymentPubKeyHash, vProjectRegistrationFee :: Integer, vProjectCategory :: BuiltinByteString, ...
user avatar
0 votes
1 answer
15 views

How can I issue an operational certificate using cardano-serialization-lib?

Cardano Serialization Lib has this class: export class OperationalCert { free(): void; /** * @returns {Uint8Array} */ to_bytes(): Uint8Array; /** * @param {Uint8Array} bytes * @returns {...
user avatar
0 votes
0 answers
15 views

Parsing Values in a Nested Datum Type

I am filtering through transactions like this.Datum is represented as d in the below function. utxos <- Map.filter (isSuitable (cpFund cp)) <$> utxosAt scrAddress isSuitable :: Integer -> ...
user avatar
0 votes
0 answers
15 views

Applying filter function on a datum with two different data types

I am filtering through transactions like this. utxos <- Map.filter (isSuitable (cpFund cp)) <$> utxosAt scrAddress isSuitable :: Integer -> ChainIndexTxOut -> Bool isSuitable fundRound ...
user avatar