If i defined multiple party as my template controller , how to execute it on Navigator ?
1.“issuer” login and create “SimpleIou”
2.Either “owner” or “regulator” login and “Transfer” this contract was failed
So ,what should i do as this on Navigator?
template SimpleIou
with
issuer : Party
owner : Party
cash : Cash
regulator : Party
where
signatory issuer
controller owner , regulator can
Transfer
: ContractId SimpleIou
with
newOwner : Party
do
assertMsg "newOwner cannot be equal to owner." (owner /= newOwner)
create this with owner = newOwner