license added in example contracts

pull/529/head
aniket-engg 4 years ago
parent c6c559e04d
commit f71e79af6a
  1. 12
      apps/remix-ide/src/app/editor/example-contracts.js

@ -1,6 +1,7 @@
'use strict'
const storage = `pragma solidity >=0.7.0 <0.8.0;
const storage = `// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
* @title Storage
@ -27,7 +28,8 @@ contract Storage {
}
}`
const owner = `pragma solidity >=0.7.0 <0.8.0;
const owner = `// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
* @title Owner
@ -77,7 +79,8 @@ contract Owner {
}
}`
const ballot = `pragma solidity >=0.7.0 <0.8.0;
const ballot = `// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
* @title Ballot
@ -215,7 +218,8 @@ contract Ballot {
}
`
var ballotTest = `pragma solidity >=0.7.0 <0.8.0;
var ballotTest = `// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../3_Ballot.sol";

Loading…
Cancel
Save