mirror of
https://github.com/FiloSpaTeam/plutus-pioneer-program.git
synced 2024-11-22 06:42:00 +01:00
updated 'Free'
This commit is contained in:
parent
63476046a2
commit
34f21a1a47
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ type FreeSchema =
|
||||||
BlockchainActions
|
BlockchainActions
|
||||||
.\/ Endpoint "mint" MintParams
|
.\/ Endpoint "mint" MintParams
|
||||||
|
|
||||||
mint :: (HasBlockchainActions s, AsContractError e) => MintParams -> Contract w s e ()
|
mint :: MintParams -> Contract w FreeSchema Text ()
|
||||||
mint mp = do
|
mint mp = do
|
||||||
let val = Value.singleton curSymbol (mpTokenName mp) (mpAmount mp)
|
let val = Value.singleton curSymbol (mpTokenName mp) (mpAmount mp)
|
||||||
lookups = Constraints.monetaryPolicy policy
|
lookups = Constraints.monetaryPolicy policy
|
||||||
|
|
Loading…
Reference in a new issue