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

25 lines
579 B
Solidity

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