mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-08 17:25:04 -04:00
contracts fixed
This commit is contained in:
parent
3c4def1e64
commit
c6b442713a
11 changed files with 220 additions and 71 deletions
|
@ -1,6 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity 0.6.12;
|
||||
pragma solidity ^0.6.0;
|
||||
|
||||
contract BadRecipient {
|
||||
fallback() external {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity 0.6.12;
|
||||
pragma solidity ^0.6.0;
|
||||
|
||||
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity 0.6.12;
|
||||
pragma solidity ^0.6.0;
|
||||
|
||||
interface ERC20Basic {
|
||||
uint public _totalSupply;
|
||||
function _totalSupply() external returns(uint);
|
||||
function totalSupply() external view returns (uint);
|
||||
function balanceOf(address who) external view returns (uint);
|
||||
function transfer(address to, uint value) external;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity 0.6.12;
|
||||
pragma solidity ^0.6.0;
|
||||
|
||||
import '../MerkleTreeWithHistory.sol';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue