mirror of
https://github.com/FiloSpaTeam/plutus-pioneer-program.git
synced 2024-11-14 02:42:35 +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
|
||||
.\/ Endpoint "mint" MintParams
|
||||
|
||||
mint :: (HasBlockchainActions s, AsContractError e) => MintParams -> Contract w s e ()
|
||||
mint :: MintParams -> Contract w FreeSchema Text ()
|
||||
mint mp = do
|
||||
let val = Value.singleton curSymbol (mpTokenName mp) (mpAmount mp)
|
||||
lookups = Constraints.monetaryPolicy policy
|
||||
|
|
Loading…
Reference in a new issue