@@ -8,7 +8,7 @@ import BotPlutusInterface.Balance qualified as Balance
8
8
import BotPlutusInterface.Effects (PABEffect )
9
9
import BotPlutusInterface.Types (
10
10
ContractEnvironment (cePABConfig ),
11
- PABConfig (pcOwnPubKeyHash , pcProtocolParams ),
11
+ PABConfig (pcOwnPubKeyHash ),
12
12
)
13
13
import Control.Lens ((&) , (.~) , (<>~) , (^.) )
14
14
import Data.Default (Default (def ))
@@ -93,21 +93,17 @@ txOutRef5 = TxOutRef "52a003b3f4956433429631afe4002f82a924a5a7a891db7ae1f6434797
93
93
txOutRef6 = TxOutRef " 52a003b3f4956433429631afe4002f82a924a5a7a891db7ae1f6434797a57dff" 3
94
94
txOutRef7 = TxOutRef " 384de3f29396fdf687551e3f9e05bd400adcd277720c71f1d2b61f17f5183e51" 1
95
95
96
- txIn1 , txIn2 , txIn3 , txIn4 , txIn5 :: TxIn
96
+ txIn1 , txIn2 , txIn3 , txIn4 :: TxIn
97
97
txIn1 = TxIn txOutRef1 (Just ConsumePublicKeyAddress )
98
98
txIn2 = TxIn txOutRef2 (Just ConsumePublicKeyAddress )
99
99
txIn3 = TxIn txOutRef3 (Just ConsumePublicKeyAddress )
100
100
txIn4 = TxIn txOutRef4 (Just ConsumePublicKeyAddress )
101
- txIn5 = TxIn txOutRef5 (Just ConsumeSimpleScriptAddress )
102
101
103
- utxo1 , utxo2 , utxo3 , utxo4 , utxo7 :: (TxOutRef , TxOut )
102
+ utxo1 , utxo2 , utxo3 , utxo4 :: (TxOutRef , TxOut )
104
103
utxo1 = (txOutRef1, TxOut addr1 (Ada. lovelaceValueOf 1_100_000 ) Nothing )
105
104
utxo2 = (txOutRef2, TxOut addr1 (Ada. lovelaceValueOf 1_000_000 ) Nothing )
106
105
utxo3 = (txOutRef3, TxOut addr1 (Ada. lovelaceValueOf 900_000 ) Nothing )
107
106
utxo4 = (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 )
111
107
112
108
scrValue :: Value. Value
113
109
scrValue = Value. assetClassValue tokenAsset 200 <> Ada. lovelaceValueOf 500_000
0 commit comments