UNPKG

@lifi/composer-sdk

Version:

Public Composer SDK for building and submitting flows

25 lines (24 loc) • 868 B
import { __exportAll } from "../_virtual/_rolldown/runtime.js"; // src/generated/preconditions.generated.ts var preconditions_generated_exports = /* @__PURE__ */ __exportAll({ erc20Allowance: () => erc20Allowance, erc20Balance: () => erc20Balance, nativeBalance: () => nativeBalance }); /** Assert that a wallet holds at least a given ERC-20 token balance */ const erc20Balance = (config) => ({ type: "Erc20Balance", ...config }); /** Assert that a wallet holds at least a given native coin balance */ const nativeBalance = (config) => ({ type: "NativeBalance", ...config }); /** Assert that an ERC-20 allowance is at least a given amount */ const erc20Allowance = (config) => ({ type: "Erc20Allowance", ...config }); export { erc20Allowance, erc20Balance, nativeBalance, preconditions_generated_exports }; //# sourceMappingURL=preconditions.generated.js.map