import { abis } from "@bosonprotocol/common";
import { Interface } from "@ethersproject/abi";
export const abi = abis.BiconomyForwarderABI;
const forwarderInterface = new Interface(abi);
export function encodeGetNonce(signerAddress, batchId) {
    return forwarderInterface.encodeFunctionData("getNonce", [
        signerAddress,
        batchId
    ]);
}
export function decodeGetNonce(result) {
    return forwarderInterface.decodeFunctionResult("getNonce", result);
}
export function encodeVerifyEIP712(request, domainSeparator, signature) {
    return forwarderInterface.encodeFunctionData("verifyEIP712", [
        request,
        domainSeparator,
        signature
    ]);
}
export function decodeVerifyEIP712(result) {
    return forwarderInterface.decodeFunctionResult("verifyEIP712", result);
}
//# sourceMappingURL=biconomy-interface.js.map