UNPKG

viem

Version:

TypeScript Interface for Ethereum

112 lines • 13.7 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.publicActionsL1 = exports.eip712WalletActions = exports.chainConfig = exports.zksyncSepoliaTestnet = exports.zkSyncSepoliaTestnet = exports.zksyncLocalNode = exports.zkSyncLocalNode = exports.zksyncInMemoryNode = exports.zksyncLocalHyperchainL1 = exports.zksyncLocalHyperchain = exports.zksyncLocalCustomHyperchain = exports.zkSyncInMemoryNode = exports.zksync = exports.zkSync = exports.l2BaseTokenAddress = exports.legacyEthAddress = exports.finalizeWithdrawal = exports.withdraw = exports.getL1TokenAddress = exports.getL2TokenAddress = exports.signTransaction = exports.signEip712Transaction = exports.sendEip712Transaction = exports.sendTransaction = exports.requestExecute = exports.isWithdrawalFinalized = exports.getTransactionDetails = exports.getTestnetPaymasterAddress = exports.getRawBlockTransactions = exports.getMainContractAddress = exports.getLogProof = exports.getL1TokenBalance = exports.getL1ChainId = exports.getL1BatchNumber = exports.getL1BatchDetails = exports.getL1BatchBlockRange = exports.getL1Balance = exports.getL1Allowance = exports.getBridgehubContractAddress = exports.getDefaultBridgeAddresses = exports.getBlockDetails = exports.getAllBalances = exports.estimateFee = exports.deposit = exports.hashBytecode = exports.encodeDeployData = exports.deployContract = exports.toSinglesigSmartAccount = exports.toMultisigSmartAccount = exports.toSmartAccount = void 0; exports.parseEip712Transaction = exports.getGeneralPaymasterInput = exports.getApprovalBasedPaymasterInput = exports.undoL1ToL2Alias = exports.getL2HashFromPriorityOp = exports.serializeTransaction = exports.walletActionsL2 = exports.walletActionsL1 = exports.publicActionsL2 = void 0; var toSmartAccount_js_1 = require("./accounts/toSmartAccount.js"); Object.defineProperty(exports, "toSmartAccount", { enumerable: true, get: function () { return toSmartAccount_js_1.toSmartAccount; } }); var toMultisigSmartAccount_js_1 = require("./accounts/toMultisigSmartAccount.js"); Object.defineProperty(exports, "toMultisigSmartAccount", { enumerable: true, get: function () { return toMultisigSmartAccount_js_1.toMultisigSmartAccount; } }); var toSinglesigSmartAccount_js_1 = require("./accounts/toSinglesigSmartAccount.js"); Object.defineProperty(exports, "toSinglesigSmartAccount", { enumerable: true, get: function () { return toSinglesigSmartAccount_js_1.toSinglesigSmartAccount; } }); var deployContract_js_1 = require("./actions/deployContract.js"); Object.defineProperty(exports, "deployContract", { enumerable: true, get: function () { return deployContract_js_1.deployContract; } }); var encodeDeployData_js_1 = require("./utils/abi/encodeDeployData.js"); Object.defineProperty(exports, "encodeDeployData", { enumerable: true, get: function () { return encodeDeployData_js_1.encodeDeployData; } }); var hashBytecode_js_1 = require("./utils/hashBytecode.js"); Object.defineProperty(exports, "hashBytecode", { enumerable: true, get: function () { return hashBytecode_js_1.hashBytecode; } }); var deposit_js_1 = require("./actions/deposit.js"); Object.defineProperty(exports, "deposit", { enumerable: true, get: function () { return deposit_js_1.deposit; } }); var estimateFee_js_1 = require("./actions/estimateFee.js"); Object.defineProperty(exports, "estimateFee", { enumerable: true, get: function () { return estimateFee_js_1.estimateFee; } }); var getAllBalances_js_1 = require("./actions/getAllBalances.js"); Object.defineProperty(exports, "getAllBalances", { enumerable: true, get: function () { return getAllBalances_js_1.getAllBalances; } }); var getBlockDetails_js_1 = require("./actions/getBlockDetails.js"); Object.defineProperty(exports, "getBlockDetails", { enumerable: true, get: function () { return getBlockDetails_js_1.getBlockDetails; } }); var getDefaultBridgeAddresses_js_1 = require("./actions/getDefaultBridgeAddresses.js"); Object.defineProperty(exports, "getDefaultBridgeAddresses", { enumerable: true, get: function () { return getDefaultBridgeAddresses_js_1.getDefaultBridgeAddresses; } }); var getBridgehubContractAddress_js_1 = require("./actions/getBridgehubContractAddress.js"); Object.defineProperty(exports, "getBridgehubContractAddress", { enumerable: true, get: function () { return getBridgehubContractAddress_js_1.getBridgehubContractAddress; } }); var getL1Allowance_js_1 = require("./actions/getL1Allowance.js"); Object.defineProperty(exports, "getL1Allowance", { enumerable: true, get: function () { return getL1Allowance_js_1.getL1Allowance; } }); var getL1Balance_js_1 = require("./actions/getL1Balance.js"); Object.defineProperty(exports, "getL1Balance", { enumerable: true, get: function () { return getL1Balance_js_1.getL1Balance; } }); var getL1BatchBlockRange_js_1 = require("./actions/getL1BatchBlockRange.js"); Object.defineProperty(exports, "getL1BatchBlockRange", { enumerable: true, get: function () { return getL1BatchBlockRange_js_1.getL1BatchBlockRange; } }); var getL1BatchDetails_js_1 = require("./actions/getL1BatchDetails.js"); Object.defineProperty(exports, "getL1BatchDetails", { enumerable: true, get: function () { return getL1BatchDetails_js_1.getL1BatchDetails; } }); var getL1BatchNumber_js_1 = require("./actions/getL1BatchNumber.js"); Object.defineProperty(exports, "getL1BatchNumber", { enumerable: true, get: function () { return getL1BatchNumber_js_1.getL1BatchNumber; } }); var getL1ChainId_js_1 = require("./actions/getL1ChainId.js"); Object.defineProperty(exports, "getL1ChainId", { enumerable: true, get: function () { return getL1ChainId_js_1.getL1ChainId; } }); var getL1TokenBalance_js_1 = require("./actions/getL1TokenBalance.js"); Object.defineProperty(exports, "getL1TokenBalance", { enumerable: true, get: function () { return getL1TokenBalance_js_1.getL1TokenBalance; } }); var getLogProof_js_1 = require("./actions/getLogProof.js"); Object.defineProperty(exports, "getLogProof", { enumerable: true, get: function () { return getLogProof_js_1.getLogProof; } }); var getMainContractAddress_js_1 = require("./actions/getMainContractAddress.js"); Object.defineProperty(exports, "getMainContractAddress", { enumerable: true, get: function () { return getMainContractAddress_js_1.getMainContractAddress; } }); var getRawBlockTransactions_js_1 = require("./actions/getRawBlockTransactions.js"); Object.defineProperty(exports, "getRawBlockTransactions", { enumerable: true, get: function () { return getRawBlockTransactions_js_1.getRawBlockTransactions; } }); var getTestnetPaymasterAddress_js_1 = require("./actions/getTestnetPaymasterAddress.js"); Object.defineProperty(exports, "getTestnetPaymasterAddress", { enumerable: true, get: function () { return getTestnetPaymasterAddress_js_1.getTestnetPaymasterAddress; } }); var getTransactionDetails_js_1 = require("./actions/getTransactionDetails.js"); Object.defineProperty(exports, "getTransactionDetails", { enumerable: true, get: function () { return getTransactionDetails_js_1.getTransactionDetails; } }); var isWithdrawalFinalized_js_1 = require("./actions/isWithdrawalFinalized.js"); Object.defineProperty(exports, "isWithdrawalFinalized", { enumerable: true, get: function () { return isWithdrawalFinalized_js_1.isWithdrawalFinalized; } }); var requestExecute_js_1 = require("./actions/requestExecute.js"); Object.defineProperty(exports, "requestExecute", { enumerable: true, get: function () { return requestExecute_js_1.requestExecute; } }); var sendTransaction_js_1 = require("./actions/sendTransaction.js"); Object.defineProperty(exports, "sendTransaction", { enumerable: true, get: function () { return sendTransaction_js_1.sendTransaction; } }); var sendEip712Transaction_js_1 = require("./actions/sendEip712Transaction.js"); Object.defineProperty(exports, "sendEip712Transaction", { enumerable: true, get: function () { return sendEip712Transaction_js_1.sendEip712Transaction; } }); var signEip712Transaction_js_1 = require("./actions/signEip712Transaction.js"); Object.defineProperty(exports, "signEip712Transaction", { enumerable: true, get: function () { return signEip712Transaction_js_1.signEip712Transaction; } }); var signTransaction_js_1 = require("./actions/signTransaction.js"); Object.defineProperty(exports, "signTransaction", { enumerable: true, get: function () { return signTransaction_js_1.signTransaction; } }); var getL2TokenAddress_js_1 = require("./actions/getL2TokenAddress.js"); Object.defineProperty(exports, "getL2TokenAddress", { enumerable: true, get: function () { return getL2TokenAddress_js_1.getL2TokenAddress; } }); var getL1TokenAddress_js_1 = require("./actions/getL1TokenAddress.js"); Object.defineProperty(exports, "getL1TokenAddress", { enumerable: true, get: function () { return getL1TokenAddress_js_1.getL1TokenAddress; } }); var withdraw_js_1 = require("./actions/withdraw.js"); Object.defineProperty(exports, "withdraw", { enumerable: true, get: function () { return withdraw_js_1.withdraw; } }); var finalizeWithdrawal_js_1 = require("./actions/finalizeWithdrawal.js"); Object.defineProperty(exports, "finalizeWithdrawal", { enumerable: true, get: function () { return finalizeWithdrawal_js_1.finalizeWithdrawal; } }); var address_js_1 = require("./constants/address.js"); Object.defineProperty(exports, "legacyEthAddress", { enumerable: true, get: function () { return address_js_1.legacyEthAddress; } }); Object.defineProperty(exports, "l2BaseTokenAddress", { enumerable: true, get: function () { return address_js_1.l2BaseTokenAddress; } }); var chains_js_1 = require("./chains.js"); Object.defineProperty(exports, "zkSync", { enumerable: true, get: function () { return chains_js_1.zksync; } }); Object.defineProperty(exports, "zksync", { enumerable: true, get: function () { return chains_js_1.zksync; } }); Object.defineProperty(exports, "zkSyncInMemoryNode", { enumerable: true, get: function () { return chains_js_1.zksyncInMemoryNode; } }); Object.defineProperty(exports, "zksyncLocalCustomHyperchain", { enumerable: true, get: function () { return chains_js_1.zksyncLocalCustomHyperchain; } }); Object.defineProperty(exports, "zksyncLocalHyperchain", { enumerable: true, get: function () { return chains_js_1.zksyncLocalHyperchain; } }); Object.defineProperty(exports, "zksyncLocalHyperchainL1", { enumerable: true, get: function () { return chains_js_1.zksyncLocalHyperchainL1; } }); Object.defineProperty(exports, "zksyncInMemoryNode", { enumerable: true, get: function () { return chains_js_1.zksyncInMemoryNode; } }); Object.defineProperty(exports, "zkSyncLocalNode", { enumerable: true, get: function () { return chains_js_1.zksyncLocalNode; } }); Object.defineProperty(exports, "zksyncLocalNode", { enumerable: true, get: function () { return chains_js_1.zksyncLocalNode; } }); Object.defineProperty(exports, "zkSyncSepoliaTestnet", { enumerable: true, get: function () { return chains_js_1.zksyncSepoliaTestnet; } }); Object.defineProperty(exports, "zksyncSepoliaTestnet", { enumerable: true, get: function () { return chains_js_1.zksyncSepoliaTestnet; } }); var chainConfig_js_1 = require("./chainConfig.js"); Object.defineProperty(exports, "chainConfig", { enumerable: true, get: function () { return chainConfig_js_1.chainConfig; } }); var eip712_js_1 = require("./decorators/eip712.js"); Object.defineProperty(exports, "eip712WalletActions", { enumerable: true, get: function () { return eip712_js_1.eip712WalletActions; } }); var publicL1_js_1 = require("./decorators/publicL1.js"); Object.defineProperty(exports, "publicActionsL1", { enumerable: true, get: function () { return publicL1_js_1.publicActionsL1; } }); var publicL2_js_1 = require("./decorators/publicL2.js"); Object.defineProperty(exports, "publicActionsL2", { enumerable: true, get: function () { return publicL2_js_1.publicActionsL2; } }); var walletL1_js_1 = require("./decorators/walletL1.js"); Object.defineProperty(exports, "walletActionsL1", { enumerable: true, get: function () { return walletL1_js_1.walletActionsL1; } }); var walletL2_js_1 = require("./decorators/walletL2.js"); Object.defineProperty(exports, "walletActionsL2", { enumerable: true, get: function () { return walletL2_js_1.walletActionsL2; } }); var serializers_js_1 = require("./serializers.js"); Object.defineProperty(exports, "serializeTransaction", { enumerable: true, get: function () { return serializers_js_1.serializeTransaction; } }); var getL2HashFromPriorityOp_js_1 = require("./utils/bridge/getL2HashFromPriorityOp.js"); Object.defineProperty(exports, "getL2HashFromPriorityOp", { enumerable: true, get: function () { return getL2HashFromPriorityOp_js_1.getL2HashFromPriorityOp; } }); var undoL1ToL2Alias_js_1 = require("./utils/bridge/undoL1ToL2Alias.js"); Object.defineProperty(exports, "undoL1ToL2Alias", { enumerable: true, get: function () { return undoL1ToL2Alias_js_1.undoL1ToL2Alias; } }); var getApprovalBasedPaymasterInput_js_1 = require("./utils/paymaster/getApprovalBasedPaymasterInput.js"); Object.defineProperty(exports, "getApprovalBasedPaymasterInput", { enumerable: true, get: function () { return getApprovalBasedPaymasterInput_js_1.getApprovalBasedPaymasterInput; } }); var getGeneralPaymasterInput_js_1 = require("./utils/paymaster/getGeneralPaymasterInput.js"); Object.defineProperty(exports, "getGeneralPaymasterInput", { enumerable: true, get: function () { return getGeneralPaymasterInput_js_1.getGeneralPaymasterInput; } }); var parseEip712Transaction_js_1 = require("./utils/parseEip712Transaction.js"); Object.defineProperty(exports, "parseEip712Transaction", { enumerable: true, get: function () { return parseEip712Transaction_js_1.parseEip712Transaction; } }); //# sourceMappingURL=index.js.map