mirror of
https://github.com/codex-storage/codex-contracts-eth.git
synced 2025-01-22 01:19:55 +00:00
15 lines
366 B
Solidity
15 lines
366 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);
|
|
}
|
|
}
|