How to fix ‘Data location must be memory or calldata‘ | Where can the EVM read and write data?
Learn where the EVM can read and write data, what calldata, memory, and storage are, and the best practices to know when writing your solidity or Vyper smart contracts