I have the following datum type
data ProjectSubmitDatum = ProjectSubmitDatum
{ vProjectOwner :: PaymentPubKeyHash,
vProjectRegistrationFee :: Integer,
vProjectCategory :: BuiltinByteString,
vFundPayIdentifier :: PaymentPubKeyHash
}
deriving (Show)
I also have the module imported like this
import Ledger.Address
The following error pops up when i run cabal repl
src/QuadraticVFSC.hs:45:19: error:
Not in scope: type constructor or class ‘PaymentPubKeyHash’
|
45 | { vFundOwner :: PaymentPubKeyHash,
| ^^^^^^^^^^^^^^^^^