UNPKG

@lit-protocol/vincent-scaffold-sdk

Version:

Shared build configuration and utilities for Vincent abilities and policies

45 lines (44 loc) 2.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.laUtils = exports.toEthAddress = exports.signTx = exports.sendTx = exports.getNonce = exports.nativeSend = exports.sponsoredGasContractCall = exports.contractCall = exports.yellowstoneConfig = void 0; const yellowstoneConfig_1 = require("./la-chain/yellowstone/yellowstoneConfig"); Object.defineProperty(exports, "yellowstoneConfig", { enumerable: true, get: function () { return yellowstoneConfig_1.yellowstoneConfig; } }); const contractCall_1 = require("./la-transactions/handlers/contractCall"); Object.defineProperty(exports, "contractCall", { enumerable: true, get: function () { return contractCall_1.contractCall; } }); const sponsoredGasContractCall_1 = require("./la-transactions/handlers/sponsoredGas/sponsoredGasContractCall"); Object.defineProperty(exports, "sponsoredGasContractCall", { enumerable: true, get: function () { return sponsoredGasContractCall_1.sponsoredGasContractCall; } }); const getAlchemyChainConfig_1 = require("./la-helpers/getAlchemyChainConfig"); const nativeSend_1 = require("./la-transactions/handlers/nativeSend"); Object.defineProperty(exports, "nativeSend", { enumerable: true, get: function () { return nativeSend_1.nativeSend; } }); const getNonce_1 = require("./la-transactions/primitive/getNonce"); Object.defineProperty(exports, "getNonce", { enumerable: true, get: function () { return getNonce_1.getNonce; } }); const sendTx_1 = require("./la-transactions/primitive/sendTx"); Object.defineProperty(exports, "sendTx", { enumerable: true, get: function () { return sendTx_1.sendTx; } }); const signTx_1 = require("./la-transactions/primitive/signTx"); Object.defineProperty(exports, "signTx", { enumerable: true, get: function () { return signTx_1.signTx; } }); const toEthAddress_1 = require("./la-helpers/toEthAddress"); Object.defineProperty(exports, "toEthAddress", { enumerable: true, get: function () { return toEthAddress_1.toEthAddress; } }); // Organized exports under laUtils object exports.laUtils = { chain: { yellowstoneConfig: yellowstoneConfig_1.yellowstoneConfig, }, transaction: { handler: { contractCall: contractCall_1.contractCall, sponsoredGasContractCall: sponsoredGasContractCall_1.sponsoredGasContractCall, nativeSend: nativeSend_1.nativeSend, }, primitive: { getNonce: getNonce_1.getNonce, sendTx: sendTx_1.sendTx, signTx: signTx_1.signTx, }, }, helpers: { toEthAddress: toEthAddress_1.toEthAddress, getAlchemyChainConfig: getAlchemyChainConfig_1.getAlchemyChainConfig, }, }; // Default export for convenience exports.default = exports.laUtils;