fix compilation errors
This commit is contained in:
parent
caae87d564
commit
33e4ed037e
36 changed files with 1325 additions and 1271 deletions
|
|
@ -114,8 +114,10 @@ genInput = do
|
|||
val <- genSingletonValue
|
||||
return $
|
||||
input $
|
||||
credential cred
|
||||
. withValue val
|
||||
mconcat
|
||||
[ credential cred
|
||||
, withValue val
|
||||
]
|
||||
|
||||
genOutput :: Builder a => Gen a
|
||||
genOutput = do
|
||||
|
|
@ -123,8 +125,10 @@ genOutput = do
|
|||
val <- genSingletonValue
|
||||
return $
|
||||
output $
|
||||
credential cred
|
||||
. withValue val
|
||||
mconcat
|
||||
[ credential cred
|
||||
, withValue val
|
||||
]
|
||||
|
||||
genOutRef :: Gen TxOutRef
|
||||
genOutRef = do
|
||||
|
|
|
|||
|
|
@ -157,7 +157,13 @@ governorMintingProperty =
|
|||
-}
|
||||
gst = assetClassValue govAssetClass 1
|
||||
mintAmount x = mint . mconcat $ replicate x gst
|
||||
outputToGov = output $ script govValidatorHash . withValue gst . withDatum govDatum
|
||||
outputToGov =
|
||||
output $
|
||||
mconcat
|
||||
[ script govValidatorHash
|
||||
, withValue gst
|
||||
, withDatum govDatum
|
||||
]
|
||||
referencedInput = input $ withOutRef gstUTXORef
|
||||
|
||||
govDatum :: GovernorDatum
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue