0

The rollup outputs could be normal calls to L1 smart contracts. Who is the sender and origin of those calls? I understand that anyone can execute them. Do smart contracts have a way to know if the call comes from a rollup output?

Link to Twitter discussion

1 Answer 1

0

From the L1 perspective, the source is the rollup address even though any user can trigger a smart contract call of the outbox.

1
  • Great Then one can implement entrypoints that can only be triggered when the source is the rollup address. I could imagine the rollup could trigger the mint of an NFT and send it to a given address. One wants to be sure that the mint is executed only when it comes from the rollup
    – user9011
    Apr 5, 2023 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.