mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
make all functions payable so they can be composed with payable functions
This commit is contained in:
parent
f37b863815
commit
f81af1743e
|
@ -326,7 +326,7 @@ abstract contract LiquityResolver is Events, Helpers {
|
||||||
uint setWithdrawId,
|
uint setWithdrawId,
|
||||||
uint setEthGainId,
|
uint setEthGainId,
|
||||||
uint setLqtyGainId
|
uint setLqtyGainId
|
||||||
) external returns (string memory _eventName, bytes memory _eventParam) {
|
) external payable returns (string memory _eventName, bytes memory _eventParam) {
|
||||||
amount = getUint(getWithdrawId, amount);
|
amount = getUint(getWithdrawId, amount);
|
||||||
|
|
||||||
amount = amount == uint(-1) ? stabilityPool.getCompoundedLUSDDeposit(address(this)) : amount;
|
amount = amount == uint(-1) ? stabilityPool.getCompoundedLUSDDeposit(address(this)) : amount;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user