@@ -8,7 +8,7 @@ import BotPlutusInterface.Balance qualified as Balance
88import BotPlutusInterface.Effects (PABEffect )
99import BotPlutusInterface.Types (
1010 ContractEnvironment (cePABConfig ),
11- PABConfig (pcOwnPubKeyHash , pcProtocolParams ),
11+ PABConfig (pcOwnPubKeyHash ),
1212 )
1313import Control.Lens ((&) , (.~) , (<>~) , (^.) )
1414import Data.Default (Default (def ))
@@ -93,21 +93,17 @@ txOutRef5 = TxOutRef "52a003b3f4956433429631afe4002f82a924a5a7a891db7ae1f6434797
9393txOutRef6 = TxOutRef " 52a003b3f4956433429631afe4002f82a924a5a7a891db7ae1f6434797a57dff" 3
9494txOutRef7 = TxOutRef " 384de3f29396fdf687551e3f9e05bd400adcd277720c71f1d2b61f17f5183e51" 1
9595
96- txIn1 , txIn2 , txIn3 , txIn4 , txIn5 :: TxIn
96+ txIn1 , txIn2 , txIn3 , txIn4 :: TxIn
9797txIn1 = TxIn txOutRef1 (Just ConsumePublicKeyAddress )
9898txIn2 = TxIn txOutRef2 (Just ConsumePublicKeyAddress )
9999txIn3 = TxIn txOutRef3 (Just ConsumePublicKeyAddress )
100100txIn4 = TxIn txOutRef4 (Just ConsumePublicKeyAddress )
101- txIn5 = TxIn txOutRef5 (Just ConsumeSimpleScriptAddress )
102101
103- utxo1 , utxo2 , utxo3 , utxo4 , utxo7 :: (TxOutRef , TxOut )
102+ utxo1 , utxo2 , utxo3 , utxo4 :: (TxOutRef , TxOut )
104103utxo1 = (txOutRef1, TxOut addr1 (Ada. lovelaceValueOf 1_100_000 ) Nothing )
105104utxo2 = (txOutRef2, TxOut addr1 (Ada. lovelaceValueOf 1_000_000 ) Nothing )
106105utxo3 = (txOutRef3, TxOut addr1 (Ada. lovelaceValueOf 900_000 ) Nothing )
107106utxo4 = (txOutRef4, TxOut addr1 (Ada. lovelaceValueOf 800_000 <> Value. assetClassValue tokenAsset 200 ) Nothing )
108- -- utxo5 = (txOutRef5, TxOut addr3 (Ada.lovelaceValueOf 900_000) (Just $ Ledger.DatumHash ""))
109- -- utxo6 = (txOutRef6, TxOut addr3 (Value.singleton "11223344" "Token" 200) Nothing)
110- utxo7 = (txOutRef2, TxOut addr1 (Ada. lovelaceValueOf 5_000_000 ) Nothing )
111107
112108scrValue :: Value. Value
113109scrValue = Value. assetClassValue tokenAsset 200 <> Ada. lovelaceValueOf 500_000
0 commit comments