Module

Ctl.Examples.ChangeGeneration

#checkChangeOutputsDistribution

checkChangeOutputsDistribution :: Int -> Int -> Int -> Contract Unit

A contract that creates outputsToScript number of outputs at a script address, outputsToSelf outputs going to own address, and asserts that the number of change outputs is equal to expectedOutputs.

Modules