mirror of
				https://github.com/Instadapp/Gelato-automations.git
				synced 2024-07-29 22:28:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			533 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			533 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
// SPDX-License-Identifier: UNLICENSED
 | 
						|
pragma solidity 0.7.4;
 | 
						|
 | 
						|
import {
 | 
						|
    IConnectGelatoProviderPayment
 | 
						|
} from "../../../interfaces/InstaDapp/connectors/IConnectGelatoProviderPayment.sol";
 | 
						|
 | 
						|
function _encodePayGelatoProvider(
 | 
						|
    address _token,
 | 
						|
    uint256 _amt,
 | 
						|
    uint256 _getId,
 | 
						|
    uint256 _setId
 | 
						|
) pure returns (bytes memory) {
 | 
						|
    return
 | 
						|
        abi.encodeWithSelector(
 | 
						|
            IConnectGelatoProviderPayment.payProvider.selector,
 | 
						|
            _token,
 | 
						|
            _amt,
 | 
						|
            _getId,
 | 
						|
            _setId
 | 
						|
        );
 | 
						|
}
 |