Gelato-automations/contracts/functions/InstaDapp/connectors/FConnectGelatoExecutorPayment.sol

23 lines
527 B
Solidity

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