@aurigami/sdk 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SDK.d.ts +2 -0
- package/dist/sdk.cjs.development.js +5 -4
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +5 -4
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +4 -1
- package/src/SDK.ts +6 -4
package/dist/sdk.esm.js
CHANGED
|
@@ -3973,6 +3973,7 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3973
3973
|
var _this;
|
|
3974
3974
|
|
|
3975
3975
|
_this = _BlockchainEntityRead.call(this, networkConnection) || this;
|
|
3976
|
+
_this._stakingRead = new StakingRead(networkConnection);
|
|
3976
3977
|
_this._comptroller = new Contract(networkAddresses.misc.COMPTROLLER, ComptrollerABI.abi, networkConnection.provider);
|
|
3977
3978
|
_this._auriFairLaunch = new Contract(networkAddresses.misc.AURIFAIRLAUNCH, AuriFairLaunchABI.abi, networkConnection.provider);
|
|
3978
3979
|
_this._auriLens = new Contract(networkAddresses.misc.AURILENS, AuriLensABI.abi, networkConnection.provider);
|
|
@@ -4128,7 +4129,7 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4128
4129
|
while (1) {
|
|
4129
4130
|
switch (_context2.prev = _context2.next) {
|
|
4130
4131
|
case 0:
|
|
4131
|
-
return _context2.abrupt("return",
|
|
4132
|
+
return _context2.abrupt("return", this._stakingRead.getPLYWNEARPoolDetails());
|
|
4132
4133
|
|
|
4133
4134
|
case 1:
|
|
4134
4135
|
case "end":
|
|
@@ -4183,7 +4184,7 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4183
4184
|
while (1) {
|
|
4184
4185
|
switch (_context4.prev = _context4.next) {
|
|
4185
4186
|
case 0:
|
|
4186
|
-
return _context4.abrupt("return",
|
|
4187
|
+
return _context4.abrupt("return", this._stakingRead.stakeBalanceOf(user));
|
|
4187
4188
|
|
|
4188
4189
|
case 1:
|
|
4189
4190
|
case "end":
|
|
@@ -4206,7 +4207,7 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4206
4207
|
while (1) {
|
|
4207
4208
|
switch (_context5.prev = _context5.next) {
|
|
4208
4209
|
case 0:
|
|
4209
|
-
return _context5.abrupt("return",
|
|
4210
|
+
return _context5.abrupt("return", this._stakingRead.LpBalanceOf(user));
|
|
4210
4211
|
|
|
4211
4212
|
case 1:
|
|
4212
4213
|
case "end":
|
|
@@ -4229,7 +4230,7 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4229
4230
|
while (1) {
|
|
4230
4231
|
switch (_context6.prev = _context6.next) {
|
|
4231
4232
|
case 0:
|
|
4232
|
-
return _context6.abrupt("return",
|
|
4233
|
+
return _context6.abrupt("return", this._stakingRead.unclaimedRewardsOf(user));
|
|
4233
4234
|
|
|
4234
4235
|
case 1:
|
|
4235
4236
|
case "end":
|