mirror of
https://github.com/status-im/dagger-contracts.git
synced 2025-01-14 16:48:10 +00:00
b3855c4ba3
Co-authored-by: Eric Mastro <eric.mastro@gmail.com>
19 lines
460 B
Solidity
19 lines
460 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "./Collateral.sol";
|
|
|
|
// exposes internal functions for testing
|
|
contract TestCollateral is Collateral {
|
|
// solhint-disable-next-line no-empty-blocks
|
|
constructor(IERC20 token) Collateral(token) {}
|
|
|
|
function slash(address account, uint256 percentage) public {
|
|
_slash(account, percentage);
|
|
}
|
|
|
|
function _isWithdrawAllowed() internal pure override returns (bool) {
|
|
return true;
|
|
}
|
|
}
|