Gelato-automations/contracts/functions/InstaDapp/connectors/FConnectGelatoProviderPayment.sol
2020-11-03 14:39:45 +01:00

24 lines
562 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.4;
import {
IConnectGelatoProviderPayment
} from "../../../interfaces/InstaDapp/connectors/IConnectGelatoProviderPayment.sol";
// solhint-disable-next-line
function _encodePayGelatoProvider(
address _token,
uint256 _amt,
uint256 _getId,
uint256 _setId
) pure returns (bytes memory) {
return
abi.encodeWithSelector(
IConnectGelatoProviderPayment.payProvider.selector,
_token,
_amt,
_getId,
_setId
);
}