-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4945225
commit 9e8914c
Showing
287 changed files
with
65,446 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/1/CCD/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
|
||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/1/DLR/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string storage name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/1/FVR/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) external { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/1/MOC/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20Permit(name) ERC20(name, symbol) {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/1/MOD/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/1/RSD/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
/* return block.chainid; */ | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/2/DLR/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string storage name, string storage symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/2/FVR/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) external { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) external { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/3/FVR/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) external { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) external { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() public view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
contracts/mutants/ERC20VotesCompMock/original/ERC20VotesCompMock.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesComp.sol"; | ||
|
||
contract ERC20VotesCompMock is ERC20VotesComp { | ||
constructor(string memory name, string memory symbol) ERC20(name, symbol) ERC20Permit(name) {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
contracts/mutants/ERC20VotesCompMockUpgradeable/1/DLR/ERC20VotesCompMockUpgradeable.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesCompUpgradeable.sol"; | ||
import "../proxy/utils/Initializable.sol"; | ||
|
||
contract ERC20VotesCompMockUpgradeable is Initializable, ERC20VotesCompUpgradeable { | ||
function __ERC20VotesCompMock_init(string storage name, string memory symbol) internal onlyInitializing { | ||
__ERC20_init_unchained(name, symbol); | ||
__EIP712_init_unchained(name, "1"); | ||
__ERC20Permit_init_unchained(name); | ||
} | ||
|
||
function __ERC20VotesCompMock_init_unchained(string memory, string memory) internal onlyInitializing {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
|
||
/** | ||
* @dev This empty reserved space is put in place to allow future versions to add new | ||
* variables without shifting down storage in the inheritance chain. | ||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps | ||
*/ | ||
uint256[50] private __gap; | ||
} |
35 changes: 35 additions & 0 deletions
35
contracts/mutants/ERC20VotesCompMockUpgradeable/1/FVR/ERC20VotesCompMockUpgradeable.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesCompUpgradeable.sol"; | ||
import "../proxy/utils/Initializable.sol"; | ||
|
||
contract ERC20VotesCompMockUpgradeable is Initializable, ERC20VotesCompUpgradeable { | ||
function __ERC20VotesCompMock_init(string memory name, string memory symbol) public onlyInitializing { | ||
__ERC20_init_unchained(name, symbol); | ||
__EIP712_init_unchained(name, "1"); | ||
__ERC20Permit_init_unchained(name); | ||
} | ||
|
||
function __ERC20VotesCompMock_init_unchained(string memory, string memory) internal onlyInitializing {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
|
||
/** | ||
* @dev This empty reserved space is put in place to allow future versions to add new | ||
* variables without shifting down storage in the inheritance chain. | ||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps | ||
*/ | ||
uint256[50] private __gap; | ||
} |
35 changes: 35 additions & 0 deletions
35
contracts/mutants/ERC20VotesCompMockUpgradeable/1/ILR/ERC20VotesCompMockUpgradeable.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesCompUpgradeable.sol"; | ||
import "../proxy/utils/Initializable.sol"; | ||
|
||
contract ERC20VotesCompMockUpgradeable is Initializable, ERC20VotesCompUpgradeable { | ||
function __ERC20VotesCompMock_init(string memory name, string memory symbol) internal onlyInitializing { | ||
__ERC20_init_unchained(name, symbol); | ||
__EIP712_init_unchained(name, "1"); | ||
__ERC20Permit_init_unchained(name); | ||
} | ||
|
||
function __ERC20VotesCompMock_init_unchained(string memory, string memory) internal onlyInitializing {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
|
||
/** | ||
* @dev This empty reserved space is put in place to allow future versions to add new | ||
* variables without shifting down storage in the inheritance chain. | ||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps | ||
*/ | ||
uint256[49] private __gap; | ||
} |
35 changes: 35 additions & 0 deletions
35
contracts/mutants/ERC20VotesCompMockUpgradeable/1/MOI/ERC20VotesCompMockUpgradeable.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesCompUpgradeable.sol"; | ||
import "../proxy/utils/Initializable.sol"; | ||
|
||
contract ERC20VotesCompMockUpgradeable is Initializable, ERC20VotesCompUpgradeable { | ||
function __ERC20VotesCompMock_init(string memory name, string memory symbol) internal onlyInitializing { | ||
__ERC20_init_unchained(name, symbol); | ||
__EIP712_init_unchained(name, "1"); | ||
__ERC20Permit_init_unchained(name); | ||
} | ||
|
||
function __ERC20VotesCompMock_init_unchained(string memory, string memory) internal onlyInitializing {} | ||
|
||
function mint(address account, uint256 amount) public onlyInitializing { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
return block.chainid; | ||
} | ||
|
||
/** | ||
* @dev This empty reserved space is put in place to allow future versions to add new | ||
* variables without shifting down storage in the inheritance chain. | ||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps | ||
*/ | ||
uint256[50] private __gap; | ||
} |
35 changes: 35 additions & 0 deletions
35
contracts/mutants/ERC20VotesCompMockUpgradeable/1/RSD/ERC20VotesCompMockUpgradeable.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../token/ERC20/extensions/ERC20VotesCompUpgradeable.sol"; | ||
import "../proxy/utils/Initializable.sol"; | ||
|
||
contract ERC20VotesCompMockUpgradeable is Initializable, ERC20VotesCompUpgradeable { | ||
function __ERC20VotesCompMock_init(string memory name, string memory symbol) internal onlyInitializing { | ||
__ERC20_init_unchained(name, symbol); | ||
__EIP712_init_unchained(name, "1"); | ||
__ERC20Permit_init_unchained(name); | ||
} | ||
|
||
function __ERC20VotesCompMock_init_unchained(string memory, string memory) internal onlyInitializing {} | ||
|
||
function mint(address account, uint256 amount) public { | ||
_mint(account, amount); | ||
} | ||
|
||
function burn(address account, uint256 amount) public { | ||
_burn(account, amount); | ||
} | ||
|
||
function getChainId() external view returns (uint256) { | ||
/* return block.chainid; */ | ||
} | ||
|
||
/** | ||
* @dev This empty reserved space is put in place to allow future versions to add new | ||
* variables without shifting down storage in the inheritance chain. | ||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps | ||
*/ | ||
uint256[50] private __gap; | ||
} |
Oops, something went wrong.