In this example, the 'beneficiary' variable receives an Ethereum address during the smart contract's deployment

PHOTO EMBED

Sat Nov 11 2023 10:29:45 GMT+0000 (Coordinated Universal Time)

Saved by @temycodes

contract MyContract {
    address public beneficiary;

    constructor(address _beneficiary) {
        beneficiary = _beneficiary;
    }
}
content_copyCOPY