@owlprotocol/contracts-account-abstraction
Version:
ERC4337 Account Abstraction support for deploying relevant smart contracts and interacting with UserOps.
18 lines (17 loc) • 567 B
JavaScript
import {
getPaymasterData
} from "../../actions/paymaster/getPaymasterData.js";
import {
getPaymasterStubData
} from "../../actions/paymaster/getPaymasterStubData.js";
import { getUserOperationGasPrice } from "../../actions/index.js";
function backendPaymasterActions(client) {
return {
getPaymasterData: (parameters) => getPaymasterData(client, parameters),
getPaymasterStubData: (parameters) => getPaymasterStubData(client, parameters),
getUserOperationGasPrice: () => getUserOperationGasPrice(client)
};
}
export {
backendPaymasterActions
};