unchange FeeRateModel
This commit is contained in:
@@ -12,7 +12,6 @@ import {InitializableOwnable} from "../lib/InitializableOwnable.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;
|
||||
}
|
||||
|
||||
interface IFeeRateModel {
|
||||
@@ -31,8 +30,4 @@ contract FeeRateModel is InitializableOwnable {
|
||||
return 0;
|
||||
return IFeeRateImpl(feeRateImpl).getFeeRate(msg.sender,trader);
|
||||
}
|
||||
|
||||
function addCpPoolInfo(address cpPool, address quoteToken, int globalQuota, address feeAddr, address quotaAddr) external {
|
||||
IFeeRateImpl(feeRateImpl).addCpPoolInfo(cpPool, quoteToken, globalQuota, feeAddr, quotaAddr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user