mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-24 22:09:24 -05:00
make inheritable functions abstract
This commit is contained in:
parent
111c966c1e
commit
8e8243823a
@ -74,7 +74,7 @@ contract Mixer is MerkleTreeWithHistory {
|
||||
}
|
||||
|
||||
/** @dev this function is defined in a child contract */
|
||||
function _processDeposit() internal {}
|
||||
function _processDeposit() internal;
|
||||
|
||||
/**
|
||||
@dev Withdraw deposit from the mixer. `proof` is a zkSNARK proof data, and input is an array of circuit public inputs
|
||||
@ -102,7 +102,7 @@ contract Mixer is MerkleTreeWithHistory {
|
||||
}
|
||||
|
||||
/** @dev this function is defined in a child contract */
|
||||
function _processWithdraw(address payable _receiver, address payable _relayer, uint256 _fee, uint256 _refund) internal {}
|
||||
function _processWithdraw(address payable _receiver, address payable _relayer, uint256 _fee, uint256 _refund) internal;
|
||||
|
||||
/** @dev whether a note is already spent */
|
||||
function isSpent(uint256 nullifier) public view returns(bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user