UNPKG

@lifi/composer-sdk

Version:

Public Composer SDK for building and submitting flows

34 lines (33 loc) • 1.13 kB
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); //#region src/generated/preconditions.generated.ts var preconditions_generated_exports = /* @__PURE__ */ require("../_virtual/_rolldown/runtime.cjs").__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 }); //#endregion exports.erc20Allowance = erc20Allowance; exports.erc20Balance = erc20Balance; exports.nativeBalance = nativeBalance; Object.defineProperty(exports, "preconditions_generated_exports", { enumerable: true, get: function() { return preconditions_generated_exports; } }); //# sourceMappingURL=preconditions.generated.cjs.map