mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
function name change
This commit is contained in:
parent
aaa99ff3a4
commit
a12b7ec607
|
@ -313,7 +313,7 @@ contract LiquidityAccessHelper is EventHelpers {
|
||||||
* @param getId Get token amount at this ID from `InstaMemory` Contract.
|
* @param getId Get token amount at this ID from `InstaMemory` Contract.
|
||||||
* @param setId Set token amount at this ID in `InstaMemory` Contract.
|
* @param setId Set token amount at this ID in `InstaMemory` Contract.
|
||||||
*/
|
*/
|
||||||
function setFeeAmount(address token, uint amt, uint getId, uint setId) external payable {
|
function addFeeAmount(address token, uint amt, uint getId, uint setId) external payable {
|
||||||
uint _amt = getUint(getId, amt);
|
uint _amt = getUint(getId, amt);
|
||||||
require(_amt != 0, "amt-is-0");
|
require(_amt != 0, "amt-is-0");
|
||||||
uint totalFee = calculateTotalFeeAmt(token, _amt);
|
uint totalFee = calculateTotalFeeAmt(token, _amt);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user