Challenge 3
Gas-Optimized Storage
GasGas optimization
Challenge
The company name and tagline never change. What is the most gas-efficient way to store these values?
Starter code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Company {
string public companyName = "FutureTech";
string public tagline = "Innovating the Decentralized World!";
}Show hint
Think about how Solidity handles values that never change.