pragma solidity ^0.8.4;
contract Contract {
address payable public owner;
constructor() public {
owner=payable(msg.sender);
}
}
msg.sender is of type address by default?
so I need to explicitly cast it to address payable should I want it to receive funds?