What is the mechanism to ensure execution of contract parameters specified in a contract reference transaction?


If it is allowed to specify contract parameters within the contract reference transaction, it should be possible to adapt the HelloWorld example contract to send a message to an account specified in the reference transaction.

For example, when I send a trigger transaction from account A to the contract runner account B, the contract responses with a message to Account C (where account C is specified in the reference transaction).

What if there is another reference transaction that specifies an account D? How can I be sure that the response will be sent to account C? Is there a parameter for the trigger transaction to reference a specific contract reference transaction?


Article source: “https://bitcoin.stackexchange.com/questions/80625/what-is-the-mechanism-to-ensure-execution-of-contract-parameters-specified-in-a”