Gelato-automations/contracts/functions/InstaDapp/connectors/FInstaPoolV2.sol
2020-11-02 12:10:53 +01:00

23 lines
499 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.4;
import {
IConnectInstaPoolV2
} from "../../../interfaces/InstaDapp/connectors/IConnectInstaPoolV2.sol";
function _encodeFlashPayback(
address _token,
uint256 _amt,
uint256 _getId,
uint256 _setId
) pure returns (bytes memory) {
return
abi.encodeWithSelector(
IConnectInstaPoolV2.flashPayback.selector,
_token,
_amt,
_getId,
_setId
);
}