title: How can i check the module-name in `cont` type transactions for gas-station?
body: <p>I have implemented a gas-station for my project.
  When i tried to pay gas for a <code>cont</code> type txn, and it threw me <code>Inside an exec</code> error.</p>
  <pre><code>(defcap GAS_PAYER:bool
      ( user:string
        limit:integer
        price:decimal
      )
      (enforce (= &quot;exec&quot; (at &quot;tx-type&quot; (read-msg))) &quot;Inside an exec&quot;)
      (enforce (= 1 (length (at &quot;exec-code&quot; (read-msg)))) &quot;Tx of only one pact function&quot;)
      (enforce (= &quot;(free.anedak.&quot; (take 13 (at 0 (at &quot;exec-code&quot; (read-msg))))) &quot;only free.anedak smart contract&quot;)
      (compose-capability (ALLOW_GAS))
    )
  </code></pre>
  <p>While looking at the code, I found that only <code>exec</code> type transactions are supported in gas-stations and the ability to check that the txn call is made only by my contract is only possible in <code>exec</code> type txns.</p>
  <p>The data to check for module name and txn types are added in this block of code.</p>
  <p><a href="https://github.com/kadena-io/chainweb-node/blob/0b24dd35a7fda27719ea7a2ca54db2cfd1196d95/src/Chainweb/Pact/TransactionExec.hs#L876" rel="nofollow noreferrer">https://github.com/kadena-io/chainweb-node/blob/0b24dd35a7fda27719ea7a2ca54db2cfd1196d95/src/Chainweb/Pact/TransactionExec.hs#L876</a>.</p>
  <p>I don't think i can use the existing props for checking the module name in <code>cont</code> type txns.</p>
  <p><a href="https://github.com/kadena-io/chainweb-node/blob/8c32fcfff85c4e5b61a9554f0180ca6c90840e42/test/pact/continuation-gas-payer.pact" rel="nofollow noreferrer">https://github.com/kadena-io/chainweb-node/blob/8c32fcfff85c4e5b61a9554f0180ca6c90840e42/test/pact/continuation-gas-payer.pact</a>
  I found this one for <code>cont</code> type txns, but no checks on module name.
  Any solutions on how i can check the module-name in cont type txns will be helpful as this will prevent my gas-station from spamming.</p>