tweak(file-templates): update default solidity template

- Added SPDX-License-Identifier
- Renewed default version pragma
This commit is contained in:
Layerex 2022-02-21 13:04:13 +03:00 committed by Henrik Lissner
parent a6eedafb78
commit 169896e9ad

View file

@ -3,8 +3,10 @@
# contributor: Edmund Miller
# name: solidity template
# --
pragma solidity ^0.4.22;
// SPDX-License-Identifier: ${1:UNLICENSED}
contract $0 {
pragma solidity ${2:>=0.8.7 <0.9.0};
contract $3 {
$0
}