Hot answers tagged

4 votes
Accepted

Does txInfoValidRange adjust as time continues on?

I hope I understood your question correctly. No, we don't move anything. I think that the naming is confusing. It shouldn't be called deadline because in my opinion deadline is when something ends. In ...
3 votes

What exactly is the script context in Plutus context?

Aiming to contribute to the great answer from Mitchell, I'll add this: Script context can be understood like the summary of the transaction and can be used to validate it. This includes all inputs ...
  • 1,664
3 votes
Accepted

What exactly is the script context in Plutus context?

The context includes two parts: TxInfo and ScriptPurpose. data ScriptContext = ScriptContext{ scriptContextTxInfo :: TxInfo, scriptContextPurpose :: ScriptPurpose } When people are talking ...
1 vote

What's the difference between these two TxOut?

getContinuingOutputs makes use of findOwnInput to find all outputs at the script address. findOwnInputs only returns Maybe TxInInfo. See here fore implementation details: getContinuingOutputs

Only top scored, non community-wiki answers of a minimum length are eligible