c9639c3860
* tests: add solidity test suite * tests: remove require strings * Update tests-solidity/init-test-node.sh * Update tests-solidity/init-test-node.sh Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
25 lines
605 B
Solidity
25 lines
605 B
Solidity
pragma solidity 0.4.24;
|
|
|
|
import "../DepositableDelegateProxy.sol";
|
|
|
|
|
|
contract DepositableDelegateProxyMock is DepositableDelegateProxy {
|
|
address private implementationMock;
|
|
|
|
function enableDepositsOnMock() external {
|
|
setDepositable(true);
|
|
}
|
|
|
|
function setImplementationOnMock(address _implementationMock) external {
|
|
implementationMock = _implementationMock;
|
|
}
|
|
|
|
function implementation() public view returns (address) {
|
|
return implementationMock;
|
|
}
|
|
|
|
function proxyType() public pure returns (uint256 proxyTypeId) {
|
|
return UPGRADEABLE;
|
|
}
|
|
}
|