Skip to content

Commit

Permalink
feat(utils): remove deprecated IPaymasterFlow ABI
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove the deprecated `utils.IPaymasterFlow` in
favor of `utils.PAYMASTER_FLOW_ABI`.
  • Loading branch information
danijelTxFusion committed Jan 21, 2024
1 parent c8849e1 commit 56f8094
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/paymaster-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import {
PaymasterParams,
} from "./types";

/** @deprecated This ABI is here for backward compatibility - please use utils.PAYMASTER_FLOW_ABI instead */
export const IPaymasterFlow = new ethers.Interface(require("../abi/IPaymasterFlow.json"));

export function getApprovalBasedPaymasterInput(paymasterInput: ApprovalBasedPaymasterInput): BytesLike {
return PAYMASTER_FLOW_ABI.encodeFunctionData("approvalBased", [
paymasterInput.token,
Expand Down

0 comments on commit 56f8094

Please sign in to comment.