Skip to main content
🔮 Output PredictionSO Solidity Hard⚡+35 XP

msg.sender in Constructor

Who is msg.sender when a contract is deployed?

Solidity
contract MyToken {
  address public owner;
  constructor() { owner = msg.sender; }
}

🔮 What is the output?