|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
const storage = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
const storage = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
|
|
|
|
|
|
|
|
pragma solidity >=0.7.0 <0.8.0; |
|
|
|
pragma solidity >=0.7.0 <0.9.0; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @title Storage |
|
|
|
* @title Storage |
|
|
@ -31,7 +31,7 @@ contract Storage { |
|
|
|
|
|
|
|
|
|
|
|
const owner = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
const owner = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
|
|
|
|
|
|
|
|
pragma solidity >=0.7.0 <0.8.0; |
|
|
|
pragma solidity >=0.7.0 <0.9.0; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @title Owner |
|
|
|
* @title Owner |
|
|
@ -83,7 +83,7 @@ contract Owner { |
|
|
|
|
|
|
|
|
|
|
|
const ballot = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
const ballot = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
|
|
|
|
|
|
|
|
pragma solidity >=0.7.0 <0.8.0; |
|
|
|
pragma solidity >=0.7.0 <0.9.0; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @title Ballot |
|
|
|
* @title Ballot |
|
|
@ -223,7 +223,7 @@ contract Ballot { |
|
|
|
|
|
|
|
|
|
|
|
const ballotTest = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
const ballotTest = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
|
|
|
|
|
|
|
|
pragma solidity >=0.7.0 <0.8.0; |
|
|
|
pragma solidity >=0.7.0 <0.9.0; |
|
|
|
import "remix_tests.sol"; // this import is automatically injected by Remix.
|
|
|
|
import "remix_tests.sol"; // this import is automatically injected by Remix.
|
|
|
|
import "../contracts/3_Ballot.sol"; |
|
|
|
import "../contracts/3_Ballot.sol"; |
|
|
|
|
|
|
|
|
|
|
|