Base Camp 07 - Inheritance Exercise Task for Developers
🧠Seeking the ultimate guide to conquer every aspect of BASE CAMP? Look no further: https://www.e-beggar.com/base-camp-the-ultimate-guide/ ðŸ§
To pass the addresses of the deployed Salesperson
and EngineeringManager
contracts as constructor arguments and deploy the InheritanceSubmission
contract, you can follow these steps:
Deploy the Salesperson
contract:
Set the constructor parameters:
- _idNumber: 55555
- _managerId: 12345
- _hourlyRate: 20
Note down the address of the deployed Salesperson
contract.
Deploy the EngineeringManager
contract:
Set the constructor parameters:
- _idNumber: 54321
- _managerId: 11111
- _annualSalary: 200000
Note down the address of the deployed EngineeringManager
contract.
Deploy the InheritanceSubmission
contract:
- Pass the addresses of the deployed
Salesperson
andEngineeringManager
contracts as constructor arguments. - Deploy the contract.
Note down the address of the deployed InheritanceSubmission
contract.
🧠Seeking the ultimate guide to conquer every aspect of BASE CAMP? Look no further: https://www.e-beggar.com/base-camp-the-ultimate-guide/ ðŸ§