File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
doc/docusaurus/static/code Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 18
18
{-# OPTIONS_GHC -fno-unbox-small-strict-fields #-}
19
19
{-# OPTIONS_GHC -fno-unbox-strict-fields #-}
20
20
{-# OPTIONS_GHC -fplugin PlutusTx.Plugin #-}
21
- {-# OPTIONS_GHC -fplugin-opt PlutusTx.Plugin:target-version=1.0 .0 #-}
21
+ {-# OPTIONS_GHC -fplugin-opt PlutusTx.Plugin:target-version=1.1 .0 #-}
22
22
23
23
module AuctionMintingPolicy where
24
24
25
- import PlutusCore.Version (plcVersion100 )
25
+ import PlutusCore.Version (plcVersion110 )
26
26
import PlutusLedgerApi.V1.Value (flattenValue )
27
- import PlutusLedgerApi.V2 (PubKeyHash , ScriptContext (.. ), TxInfo (.. ))
28
- import PlutusLedgerApi.V2 .Contexts (ownCurrencySymbol , txSignedBy )
27
+ import PlutusLedgerApi.V3 (PubKeyHash , ScriptContext (.. ), TxInfo (.. ))
28
+ import PlutusLedgerApi.V3 .Contexts (ownCurrencySymbol , txSignedBy )
29
29
import PlutusTx
30
30
import PlutusTx.Prelude qualified as PlutusTx
31
31
@@ -67,4 +67,4 @@ auctionMintingPolicyScript ::
67
67
CompiledCode (BuiltinData -> BuiltinData -> PlutusTx. BuiltinUnit )
68
68
auctionMintingPolicyScript pkh =
69
69
$$ (PlutusTx. compile [|| auctionUntypedMintingPolicy|| ])
70
- `PlutusTx.unsafeApplyCode` PlutusTx. liftCode plcVersion100 pkh
70
+ `PlutusTx.unsafeApplyCode` PlutusTx. liftCode plcVersion110 pkh
Original file line number Diff line number Diff line change 24
24
{-# OPTIONS_GHC -fno-unbox-small-strict-fields #-}
25
25
{-# OPTIONS_GHC -fno-unbox-strict-fields #-}
26
26
{-# OPTIONS_GHC -fplugin PlutusTx.Plugin #-}
27
+ {-# OPTIONS_GHC -fplugin-opt PlutusTx.Plugin:target-version=1.1.0 #-}
27
28
28
29
module AuctionValidator where
29
30
You can’t perform that action at this time.
0 commit comments