|
|
@ -1,6 +1,7 @@ |
|
|
|
'use strict' |
|
|
|
'use strict' |
|
|
|
|
|
|
|
|
|
|
|
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.8.0; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -29,6 +30,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.8.0; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -80,6 +82,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.8.0; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -219,6 +222,7 @@ contract Ballot { |
|
|
|
` |
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
var ballotTest = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
var ballotTest = `// SPDX-License-Identifier: GPL-3.0
|
|
|
|
|
|
|
|
|
|
|
|
pragma solidity >=0.7.0 <0.8.0; |
|
|
|
pragma solidity >=0.7.0 <0.8.0; |
|
|
|
import "remix_tests.sol"; // this import is automatically injected by Remix.
|
|
|
|
import "remix_tests.sol"; // this import is automatically injected by Remix.
|
|
|
|
import "../3_Ballot.sol"; |
|
|
|
import "../3_Ballot.sol"; |
|
|
|