We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26aa081 commit 07f3e7cCopy full SHA for 07f3e7c
src/Passage.sol
@@ -102,6 +102,7 @@ contract RollupPassage {
102
/// @param amount - The amount of the ERC20 token to mint on the Rollup, corresponding to the amount locked on L1.
103
/// @custom:emits Exit indicating the the desired recipient on the host chain.
104
function enter(address token, address rollupRecipient, uint256 amount) external {
105
+ // TODO: important that no code is deployed to hostPassage address on the rollup :think:
106
if (msg.sender != hostPassage) revert OnlyHostPassage();
107
// TODO: IERC20(token).mint(recipient, amount);
108
emit Enter(token, rollupRecipient, amount);
0 commit comments