UNPKG

@lidofinance/lido-ethereum-sdk

Version:

<div style="display: flex;" align="center"> <h1 align="center">Lido Ethereum SDK</h1> </div>

122 lines 4.46 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LidoSDK = void 0; const index_js_1 = require("./core/index.js"); const index_js_2 = require("./stake/index.js"); const index_js_3 = require("./wrap/index.js"); const index_js_4 = require("./withdraw/index.js"); const index_js_5 = require("./erc20/index.js"); const index_js_6 = require("./unsteth/index.js"); const index_js_7 = require("./events/index.js"); const index_js_8 = require("./statistics/index.js"); const index_js_9 = require("./rewards/index.js"); const index_js_10 = require("./shares/index.js"); const index_js_11 = require("./l2/index.js"); const index_js_12 = require("./dual-governance/index.js"); const index_js_13 = require("./stvault/index.js"); const version_js_1 = require("./version.js"); class LidoSDK { constructor(props) { Object.defineProperty(this, "core", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "stake", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "wrap", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "withdraw", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "steth", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "wsteth", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "shares", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "unsteth", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "events", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "statistics", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "rewards", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "l2", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "dualGovernance", { enumerable: true, configurable: true, writable: true, value: void 0 }); Object.defineProperty(this, "stVaultModule", { enumerable: true, configurable: true, writable: true, value: void 0 }); this.core = new index_js_1.LidoSDKCore(props, version_js_1.version); const core = this.core; this.stake = new index_js_2.LidoSDKStake({ ...props, core }); this.wrap = new index_js_3.LidoSDKWrap({ ...props, core }); this.withdraw = new index_js_4.LidoSDKWithdraw({ ...props, core }); this.steth = new index_js_5.LidoSDKstETH({ ...props, core }); this.wsteth = new index_js_5.LidoSDKwstETH({ ...props, core }); this.unsteth = new index_js_6.LidoSDKUnstETH({ ...props, core }); this.shares = new index_js_10.LidoSDKShares({ ...props, core }); this.events = new index_js_7.LidoSDKEvents({ ...props, core }); this.statistics = new index_js_8.LidoSDKStatistics({ ...props, core }); this.rewards = new index_js_9.LidoSDKRewards({ ...props, core }); this.l2 = new index_js_11.LidoSDKL2({ ...props, core }); this.dualGovernance = new index_js_12.LidoSDKDualGovernance({ ...props, core }); this.stVaultModule = new index_js_13.LidoSDKVaultModule({ ...props, core }); } } exports.LidoSDK = LidoSDK; //# sourceMappingURL=sdk.js.map