2022-09-05 16:57:11 -04:00
|
|
|
"use strict";
|
2022-11-30 15:44:23 -05:00
|
|
|
/**
|
2023-06-01 17:52:58 -04:00
|
|
|
* A **Provider** provides a connection to the blockchain, whch can be
|
|
|
|
* used to query its current state, simulate execution and send transactions
|
|
|
|
* to update the state.
|
|
|
|
*
|
|
|
|
* It is one of the most fundamental components of interacting with a
|
|
|
|
* blockchain application, and there are many ways to connect, such as over
|
|
|
|
* HTTP, WebSockets or injected providers such as [MetaMask](link-metamask).
|
2022-11-30 15:44:23 -05:00
|
|
|
*
|
2023-02-12 22:14:26 -05:00
|
|
|
* @_section: api/providers:Providers [about-providers]
|
2022-11-30 15:44:23 -05:00
|
|
|
*/
|
2022-09-05 16:57:11 -04:00
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2023-07-29 02:37:03 -04:00
|
|
|
exports.SocketEventSubscriber = exports.SocketPendingSubscriber = exports.SocketBlockSubscriber = exports.SocketSubscriber = exports.WebSocketProvider = exports.SocketProvider = exports.IpcSocketProvider = exports.QuickNodeProvider = exports.PocketProvider = exports.InfuraWebSocketProvider = exports.InfuraProvider = exports.EtherscanPlugin = exports.EtherscanProvider = exports.CloudflareProvider = exports.AnkrProvider = exports.AlchemyProvider = exports.BrowserProvider = exports.JsonRpcSigner = exports.JsonRpcProvider = exports.JsonRpcApiProvider = exports.FallbackProvider = exports.copyRequest = exports.TransactionResponse = exports.TransactionReceipt = exports.Log = exports.FeeData = exports.Block = exports.FetchUrlFeeDataNetworkPlugin = exports.FeeDataNetworkPlugin = exports.EnsPlugin = exports.GasCostPlugin = exports.NetworkPlugin = exports.NonceManager = exports.Network = exports.MulticoinProviderPlugin = exports.EnsResolver = exports.getDefaultProvider = exports.showThrottleMessage = exports.VoidSigner = exports.AbstractSigner = exports.UnmanagedSubscriber = exports.AbstractProvider = void 0;
|
2022-09-15 22:58:45 -04:00
|
|
|
var abstract_provider_js_1 = require("./abstract-provider.js");
|
|
|
|
Object.defineProperty(exports, "AbstractProvider", { enumerable: true, get: function () { return abstract_provider_js_1.AbstractProvider; } });
|
|
|
|
Object.defineProperty(exports, "UnmanagedSubscriber", { enumerable: true, get: function () { return abstract_provider_js_1.UnmanagedSubscriber; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
var abstract_signer_js_1 = require("./abstract-signer.js");
|
|
|
|
Object.defineProperty(exports, "AbstractSigner", { enumerable: true, get: function () { return abstract_signer_js_1.AbstractSigner; } });
|
|
|
|
Object.defineProperty(exports, "VoidSigner", { enumerable: true, get: function () { return abstract_signer_js_1.VoidSigner; } });
|
2022-12-05 22:19:14 -05:00
|
|
|
var community_js_1 = require("./community.js");
|
|
|
|
Object.defineProperty(exports, "showThrottleMessage", { enumerable: true, get: function () { return community_js_1.showThrottleMessage; } });
|
|
|
|
var default_provider_js_1 = require("./default-provider.js");
|
|
|
|
Object.defineProperty(exports, "getDefaultProvider", { enumerable: true, get: function () { return default_provider_js_1.getDefaultProvider; } });
|
|
|
|
var ens_resolver_js_1 = require("./ens-resolver.js");
|
|
|
|
Object.defineProperty(exports, "EnsResolver", { enumerable: true, get: function () { return ens_resolver_js_1.EnsResolver; } });
|
2023-06-13 21:47:44 -04:00
|
|
|
Object.defineProperty(exports, "MulticoinProviderPlugin", { enumerable: true, get: function () { return ens_resolver_js_1.MulticoinProviderPlugin; } });
|
2022-10-20 05:03:32 -04:00
|
|
|
var network_js_1 = require("./network.js");
|
|
|
|
Object.defineProperty(exports, "Network", { enumerable: true, get: function () { return network_js_1.Network; } });
|
2023-02-02 04:05:47 -05:00
|
|
|
var signer_noncemanager_js_1 = require("./signer-noncemanager.js");
|
|
|
|
Object.defineProperty(exports, "NonceManager", { enumerable: true, get: function () { return signer_noncemanager_js_1.NonceManager; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
var plugins_network_js_1 = require("./plugins-network.js");
|
|
|
|
Object.defineProperty(exports, "NetworkPlugin", { enumerable: true, get: function () { return plugins_network_js_1.NetworkPlugin; } });
|
|
|
|
Object.defineProperty(exports, "GasCostPlugin", { enumerable: true, get: function () { return plugins_network_js_1.GasCostPlugin; } });
|
|
|
|
Object.defineProperty(exports, "EnsPlugin", { enumerable: true, get: function () { return plugins_network_js_1.EnsPlugin; } });
|
2023-01-26 23:36:26 -05:00
|
|
|
Object.defineProperty(exports, "FeeDataNetworkPlugin", { enumerable: true, get: function () { return plugins_network_js_1.FeeDataNetworkPlugin; } });
|
2023-07-29 02:37:03 -04:00
|
|
|
Object.defineProperty(exports, "FetchUrlFeeDataNetworkPlugin", { enumerable: true, get: function () { return plugins_network_js_1.FetchUrlFeeDataNetworkPlugin; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
var provider_js_1 = require("./provider.js");
|
|
|
|
Object.defineProperty(exports, "Block", { enumerable: true, get: function () { return provider_js_1.Block; } });
|
|
|
|
Object.defineProperty(exports, "FeeData", { enumerable: true, get: function () { return provider_js_1.FeeData; } });
|
|
|
|
Object.defineProperty(exports, "Log", { enumerable: true, get: function () { return provider_js_1.Log; } });
|
|
|
|
Object.defineProperty(exports, "TransactionReceipt", { enumerable: true, get: function () { return provider_js_1.TransactionReceipt; } });
|
|
|
|
Object.defineProperty(exports, "TransactionResponse", { enumerable: true, get: function () { return provider_js_1.TransactionResponse; } });
|
|
|
|
Object.defineProperty(exports, "copyRequest", { enumerable: true, get: function () { return provider_js_1.copyRequest; } });
|
|
|
|
var provider_fallback_js_1 = require("./provider-fallback.js");
|
|
|
|
Object.defineProperty(exports, "FallbackProvider", { enumerable: true, get: function () { return provider_fallback_js_1.FallbackProvider; } });
|
|
|
|
var provider_jsonrpc_js_1 = require("./provider-jsonrpc.js");
|
|
|
|
Object.defineProperty(exports, "JsonRpcApiProvider", { enumerable: true, get: function () { return provider_jsonrpc_js_1.JsonRpcApiProvider; } });
|
|
|
|
Object.defineProperty(exports, "JsonRpcProvider", { enumerable: true, get: function () { return provider_jsonrpc_js_1.JsonRpcProvider; } });
|
|
|
|
Object.defineProperty(exports, "JsonRpcSigner", { enumerable: true, get: function () { return provider_jsonrpc_js_1.JsonRpcSigner; } });
|
2022-10-20 05:03:32 -04:00
|
|
|
var provider_browser_js_1 = require("./provider-browser.js");
|
|
|
|
Object.defineProperty(exports, "BrowserProvider", { enumerable: true, get: function () { return provider_browser_js_1.BrowserProvider; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
var provider_alchemy_js_1 = require("./provider-alchemy.js");
|
|
|
|
Object.defineProperty(exports, "AlchemyProvider", { enumerable: true, get: function () { return provider_alchemy_js_1.AlchemyProvider; } });
|
|
|
|
var provider_ankr_js_1 = require("./provider-ankr.js");
|
|
|
|
Object.defineProperty(exports, "AnkrProvider", { enumerable: true, get: function () { return provider_ankr_js_1.AnkrProvider; } });
|
|
|
|
var provider_cloudflare_js_1 = require("./provider-cloudflare.js");
|
|
|
|
Object.defineProperty(exports, "CloudflareProvider", { enumerable: true, get: function () { return provider_cloudflare_js_1.CloudflareProvider; } });
|
|
|
|
var provider_etherscan_js_1 = require("./provider-etherscan.js");
|
|
|
|
Object.defineProperty(exports, "EtherscanProvider", { enumerable: true, get: function () { return provider_etherscan_js_1.EtherscanProvider; } });
|
2023-02-02 04:05:47 -05:00
|
|
|
Object.defineProperty(exports, "EtherscanPlugin", { enumerable: true, get: function () { return provider_etherscan_js_1.EtherscanPlugin; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
var provider_infura_js_1 = require("./provider-infura.js");
|
|
|
|
Object.defineProperty(exports, "InfuraProvider", { enumerable: true, get: function () { return provider_infura_js_1.InfuraProvider; } });
|
2022-11-30 15:44:23 -05:00
|
|
|
Object.defineProperty(exports, "InfuraWebSocketProvider", { enumerable: true, get: function () { return provider_infura_js_1.InfuraWebSocketProvider; } });
|
2023-02-02 04:05:47 -05:00
|
|
|
var provider_pocket_js_1 = require("./provider-pocket.js");
|
|
|
|
Object.defineProperty(exports, "PocketProvider", { enumerable: true, get: function () { return provider_pocket_js_1.PocketProvider; } });
|
2022-12-05 22:19:14 -05:00
|
|
|
var provider_quicknode_js_1 = require("./provider-quicknode.js");
|
|
|
|
Object.defineProperty(exports, "QuickNodeProvider", { enumerable: true, get: function () { return provider_quicknode_js_1.QuickNodeProvider; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
const provider_ipcsocket_js_1 = require("./provider-ipcsocket.js"); /*-browser*/
|
|
|
|
Object.defineProperty(exports, "IpcSocketProvider", { enumerable: true, get: function () { return provider_ipcsocket_js_1.IpcSocketProvider; } });
|
|
|
|
var provider_socket_js_1 = require("./provider-socket.js");
|
|
|
|
Object.defineProperty(exports, "SocketProvider", { enumerable: true, get: function () { return provider_socket_js_1.SocketProvider; } });
|
|
|
|
var provider_websocket_js_1 = require("./provider-websocket.js");
|
|
|
|
Object.defineProperty(exports, "WebSocketProvider", { enumerable: true, get: function () { return provider_websocket_js_1.WebSocketProvider; } });
|
2022-09-15 22:58:45 -04:00
|
|
|
var provider_socket_js_2 = require("./provider-socket.js");
|
|
|
|
Object.defineProperty(exports, "SocketSubscriber", { enumerable: true, get: function () { return provider_socket_js_2.SocketSubscriber; } });
|
|
|
|
Object.defineProperty(exports, "SocketBlockSubscriber", { enumerable: true, get: function () { return provider_socket_js_2.SocketBlockSubscriber; } });
|
|
|
|
Object.defineProperty(exports, "SocketPendingSubscriber", { enumerable: true, get: function () { return provider_socket_js_2.SocketPendingSubscriber; } });
|
|
|
|
Object.defineProperty(exports, "SocketEventSubscriber", { enumerable: true, get: function () { return provider_socket_js_2.SocketEventSubscriber; } });
|
2022-09-05 16:57:11 -04:00
|
|
|
//# sourceMappingURL=index.js.map
|