update deploy script
This commit is contained in:
@@ -190,6 +190,6 @@ contract FeeRateDIP3Impl is InitializableOwnable {
|
||||
}
|
||||
|
||||
function _kjudge(bytes32 _hashPoolVersion) internal pure returns (bool) {
|
||||
return (_hashPoolVersion == keccak256(abi.encodePacked("DVM 1.0.2")) || _hashPoolVersion == keccak256(abi.encodePacked("DSP 1.0.1")) || _hashPoolVersion == keccak256(abi.encodePacked("DPP 1.0.0")));
|
||||
return (_hashPoolVersion == keccak256(abi.encodePacked("DVM 1.0.2")) || _hashPoolVersion == keccak256(abi.encodePacked("DSP 1.0.1")) || _hashPoolVersion == keccak256(abi.encodePacked("DPP 1.0.0")) || _hashPoolVersion == keccak256(abi.encodePacked("DPP Advanced 1.0.0")));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ import {DecimalMath} from "../lib/DecimalMath.sol";
|
||||
import {FeeRateModel} from "../lib/FeeRateModel.sol";
|
||||
|
||||
interface IFeeRateImpl {
|
||||
function getFeeRate(address pool, address trader) external view returns (uint256);
|
||||
function addCpPoolInfo(address cpPool, address quoteToken, int globalQuota, address feeAddr, address quotaAddr) external;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user