@aurigami/sdk 1.5.0-dummy-1 → 1.5.0
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/Papermill.d.ts +1 -1
- package/dist/SDK.d.ts +2 -2
- package/dist/constants.d.ts +2 -2
- package/dist/sdk.cjs.development.js +79 -61
- 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 +77 -59
- package/dist/sdk.esm.js.map +1 -1
- package/dist/token.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +3 -3
- package/src/Papermill.ts +8 -7
- package/src/SDK.ts +24 -16
- package/src/constants.ts +4 -4
- package/src/decimals.ts +1 -1
- package/src/deployments/aurora_mainnet.json +1 -1
- package/src/priceFetcher.ts +9 -7
- package/src/token.ts +3 -3
- package/src/types.ts +1 -1
package/dist/sdk.esm.js
CHANGED
|
@@ -994,7 +994,7 @@ var networkAddresses = {
|
|
|
994
994
|
TRI: /*#__PURE__*/'0xFa94348467f64D5A457F75F8bc40495D33c65aBB'.toLowerCase(),
|
|
995
995
|
META: /*#__PURE__*/'0xc21ff01229e982d7c8b8691163b0a3cb8f357453'.toLocaleLowerCase(),
|
|
996
996
|
PULP: /*#__PURE__*/'0x04Ac48711BCdc45b4d223fb021E09DA73c71095e'.toLowerCase(),
|
|
997
|
-
|
|
997
|
+
PLYWNEAR: /*#__PURE__*/'0x044b6B0CD3Bb13D2b9057781Df4459C66781dCe7'.toLowerCase()
|
|
998
998
|
}
|
|
999
999
|
};
|
|
1000
1000
|
var PRICE_WHITELISTED = /*#__PURE__*/new Set( /*#__PURE__*/[].concat( /*#__PURE__*/networkAddresses.auTokens.map(function (t) {
|
|
@@ -1005,8 +1005,8 @@ var BORROW_LIMIT_BUFFER = /*#__PURE__*/new BigNumber(1);
|
|
|
1005
1005
|
var ONE_DAY = 86400;
|
|
1006
1006
|
var ONE_WEEK = ONE_DAY * 7;
|
|
1007
1007
|
var ONE_YEAR = ONE_DAY * 365;
|
|
1008
|
-
var
|
|
1009
|
-
var
|
|
1008
|
+
var PLYWNEAR_POOL_ID = 0;
|
|
1009
|
+
var PLYWNEAR_REWARD_TOKENS = ['0x09C9D464b58d96837f8d8b6f4d9fE4aD408d3A4f', '0xC42C30aC6Cc15faC9bD938618BcaA1a1FaE8501d', '0x8BEc47865aDe3B172A928df8f990Bc7f2A3b9f79', '0xFa94348467f64D5A457F75F8bc40495D33c65aBB'];
|
|
1010
1010
|
var ALL_STAKING_POOLS = [];
|
|
1011
1011
|
var INF = /*#__PURE__*/BigNumber$1.from(2).pow(256).sub(1);
|
|
1012
1012
|
var AIRDROP_START_TIMESTAMP = 1649858400;
|
|
@@ -1088,7 +1088,7 @@ var decimalRecords = {
|
|
|
1088
1088
|
'0xf4eb217ba2454613b15dbdea6e5f22276410e89e': 8,
|
|
1089
1089
|
'0xc21ff01229e982d7c8b8691163b0a3cb8f357453': 24,
|
|
1090
1090
|
'0x04ac48711bcdc45b4d223fb021e09da73c71095e': 18,
|
|
1091
|
-
'
|
|
1091
|
+
'0x044b6b0cd3bb13d2b9057781df4459c66781dce7': 18
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
1094
|
function formatObject(object) {
|
|
@@ -1200,7 +1200,7 @@ var Token = function Token(address, decimals) {
|
|
|
1200
1200
|
this.decimals = decimals;
|
|
1201
1201
|
};
|
|
1202
1202
|
var PLYToken = /*#__PURE__*/new Token(networkAddresses.tokens.PLY, /*#__PURE__*/getDecimal(networkAddresses.tokens.PLY));
|
|
1203
|
-
var
|
|
1203
|
+
var PLYWNEARToken = /*#__PURE__*/new Token(networkAddresses.tokens.PLYWNEAR, /*#__PURE__*/getDecimal(networkAddresses.tokens.PLYWNEAR));
|
|
1204
1204
|
|
|
1205
1205
|
var TokenAmount = /*#__PURE__*/function () {
|
|
1206
1206
|
function TokenAmount(token, amount, isRaw) {
|
|
@@ -2556,7 +2556,7 @@ function _fetchPrice3() {
|
|
|
2556
2556
|
while (1) {
|
|
2557
2557
|
switch (_context10.prev = _context10.next) {
|
|
2558
2558
|
case 0:
|
|
2559
|
-
if (!isSameAddress(address, networkAddresses.tokens.
|
|
2559
|
+
if (!isSameAddress(address, networkAddresses.tokens.PLYWNEAR)) {
|
|
2560
2560
|
_context10.next = 4;
|
|
2561
2561
|
break;
|
|
2562
2562
|
}
|
|
@@ -2590,38 +2590,37 @@ function fetchPLYPrice(_x15) {
|
|
|
2590
2590
|
|
|
2591
2591
|
function _fetchPLYPrice() {
|
|
2592
2592
|
_fetchPLYPrice = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee11(provider) {
|
|
2593
|
-
var LPInfo, plyAddress, plyDecimal,
|
|
2593
|
+
var LPInfo, plyAddress, plyDecimal, wnearAddress, wnearDecimal;
|
|
2594
2594
|
return runtime_1.wrap(function _callee11$(_context11) {
|
|
2595
2595
|
while (1) {
|
|
2596
2596
|
switch (_context11.prev = _context11.next) {
|
|
2597
2597
|
case 0:
|
|
2598
|
-
_context11.
|
|
2599
|
-
return fetchLPPositions(networkAddresses.tokens.PLYUSDC, provider);
|
|
2598
|
+
return _context11.abrupt("return", new BigNumber(0));
|
|
2600
2599
|
|
|
2601
|
-
case
|
|
2600
|
+
case 3:
|
|
2602
2601
|
LPInfo = _context11.sent;
|
|
2603
2602
|
|
|
2604
2603
|
if (!LPInfo.reserve1.isZero()) {
|
|
2605
|
-
_context11.next =
|
|
2604
|
+
_context11.next = 6;
|
|
2606
2605
|
break;
|
|
2607
2606
|
}
|
|
2608
2607
|
|
|
2609
2608
|
return _context11.abrupt("return", new BigNumber(0));
|
|
2610
2609
|
|
|
2611
|
-
case
|
|
2610
|
+
case 6:
|
|
2612
2611
|
plyAddress = LPInfo.token0;
|
|
2613
2612
|
assert(isSameAddress(plyAddress, networkAddresses.tokens.PLY));
|
|
2614
2613
|
plyDecimal = getDecimal(plyAddress);
|
|
2615
|
-
|
|
2616
|
-
assert(isSameAddress(
|
|
2617
|
-
|
|
2618
|
-
_context11.next =
|
|
2619
|
-
return fetchPrice(
|
|
2620
|
-
|
|
2621
|
-
case 13:
|
|
2622
|
-
return _context11.abrupt("return", _context11.sent.multipliedBy(LPInfo.reserve1.toString()).multipliedBy(decimalFactor(plyDecimal)).dividedBy(decimalFactor(usdcDecimal)).dividedBy(LPInfo.reserve0.toString()));
|
|
2614
|
+
wnearAddress = LPInfo.token1;
|
|
2615
|
+
assert(isSameAddress(wnearAddress, networkAddresses.tokens.WNEAR));
|
|
2616
|
+
wnearDecimal = getDecimal(wnearAddress);
|
|
2617
|
+
_context11.next = 14;
|
|
2618
|
+
return fetchPrice(wnearAddress, provider);
|
|
2623
2619
|
|
|
2624
2620
|
case 14:
|
|
2621
|
+
return _context11.abrupt("return", _context11.sent.multipliedBy(LPInfo.reserve1.toString()).multipliedBy(decimalFactor(plyDecimal)).dividedBy(decimalFactor(wnearDecimal)).dividedBy(LPInfo.reserve0.toString()));
|
|
2622
|
+
|
|
2623
|
+
case 15:
|
|
2625
2624
|
case "end":
|
|
2626
2625
|
return _context11.stop();
|
|
2627
2626
|
}
|
|
@@ -3555,15 +3554,34 @@ var PapermillRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3555
3554
|
return getLockingDetails;
|
|
3556
3555
|
}();
|
|
3557
3556
|
|
|
3558
|
-
_proto.getTimestampToUnlock = function
|
|
3559
|
-
var
|
|
3557
|
+
_proto.getTimestampToUnlock = /*#__PURE__*/function () {
|
|
3558
|
+
var _getTimestampToUnlock = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(userAddress, targetUnlockPortion) {
|
|
3559
|
+
var weekId;
|
|
3560
|
+
return runtime_1.wrap(function _callee5$(_context5) {
|
|
3561
|
+
while (1) {
|
|
3562
|
+
switch (_context5.prev = _context5.next) {
|
|
3563
|
+
case 0:
|
|
3564
|
+
_context5.next = 2;
|
|
3565
|
+
return this._auriLens.getWeekToUnlock(this._pulp.address, userAddress, targetUnlockPortion * 100);
|
|
3566
|
+
|
|
3567
|
+
case 2:
|
|
3568
|
+
weekId = _context5.sent;
|
|
3569
|
+
return _context5.abrupt("return", REWARD_CLAIM_START + ONE_WEEK * weekId.toNumber());
|
|
3570
|
+
|
|
3571
|
+
case 4:
|
|
3572
|
+
case "end":
|
|
3573
|
+
return _context5.stop();
|
|
3574
|
+
}
|
|
3575
|
+
}
|
|
3576
|
+
}, _callee5, this);
|
|
3577
|
+
}));
|
|
3560
3578
|
|
|
3561
|
-
|
|
3562
|
-
return
|
|
3579
|
+
function getTimestampToUnlock(_x5, _x6) {
|
|
3580
|
+
return _getTimestampToUnlock.apply(this, arguments);
|
|
3563
3581
|
}
|
|
3564
3582
|
|
|
3565
|
-
return
|
|
3566
|
-
};
|
|
3583
|
+
return getTimestampToUnlock;
|
|
3584
|
+
}();
|
|
3567
3585
|
|
|
3568
3586
|
return PapermillRead;
|
|
3569
3587
|
}(BlockchainEntityRead);
|
|
@@ -3577,22 +3595,22 @@ var PapermillReadWrite = /*#__PURE__*/function (_PapermillRead) {
|
|
|
3577
3595
|
var _proto2 = PapermillReadWrite.prototype;
|
|
3578
3596
|
|
|
3579
3597
|
_proto2.redeem = /*#__PURE__*/function () {
|
|
3580
|
-
var _redeem = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function
|
|
3581
|
-
return runtime_1.wrap(function
|
|
3598
|
+
var _redeem = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(recipient, amount) {
|
|
3599
|
+
return runtime_1.wrap(function _callee6$(_context6) {
|
|
3582
3600
|
while (1) {
|
|
3583
|
-
switch (
|
|
3601
|
+
switch (_context6.prev = _context6.next) {
|
|
3584
3602
|
case 0:
|
|
3585
|
-
return
|
|
3603
|
+
return _context6.abrupt("return", this._pulp.connect(this._networkConnection.signer).redeem(recipient, amount.rawAmount()));
|
|
3586
3604
|
|
|
3587
3605
|
case 1:
|
|
3588
3606
|
case "end":
|
|
3589
|
-
return
|
|
3607
|
+
return _context6.stop();
|
|
3590
3608
|
}
|
|
3591
3609
|
}
|
|
3592
|
-
},
|
|
3610
|
+
}, _callee6, this);
|
|
3593
3611
|
}));
|
|
3594
3612
|
|
|
3595
|
-
function redeem(
|
|
3613
|
+
function redeem(_x7, _x8) {
|
|
3596
3614
|
return _redeem.apply(this, arguments);
|
|
3597
3615
|
}
|
|
3598
3616
|
|
|
@@ -3600,28 +3618,28 @@ var PapermillReadWrite = /*#__PURE__*/function (_PapermillRead) {
|
|
|
3600
3618
|
}();
|
|
3601
3619
|
|
|
3602
3620
|
_proto2.selfRedeem = /*#__PURE__*/function () {
|
|
3603
|
-
var _selfRedeem = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function
|
|
3621
|
+
var _selfRedeem = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(amount) {
|
|
3604
3622
|
var msgSender;
|
|
3605
|
-
return runtime_1.wrap(function
|
|
3623
|
+
return runtime_1.wrap(function _callee7$(_context7) {
|
|
3606
3624
|
while (1) {
|
|
3607
|
-
switch (
|
|
3625
|
+
switch (_context7.prev = _context7.next) {
|
|
3608
3626
|
case 0:
|
|
3609
|
-
|
|
3627
|
+
_context7.next = 2;
|
|
3610
3628
|
return this._networkConnection.signer.getAddress();
|
|
3611
3629
|
|
|
3612
3630
|
case 2:
|
|
3613
|
-
msgSender =
|
|
3614
|
-
return
|
|
3631
|
+
msgSender = _context7.sent;
|
|
3632
|
+
return _context7.abrupt("return", this.redeem(msgSender, amount));
|
|
3615
3633
|
|
|
3616
3634
|
case 4:
|
|
3617
3635
|
case "end":
|
|
3618
|
-
return
|
|
3636
|
+
return _context7.stop();
|
|
3619
3637
|
}
|
|
3620
3638
|
}
|
|
3621
|
-
},
|
|
3639
|
+
}, _callee7, this);
|
|
3622
3640
|
}));
|
|
3623
3641
|
|
|
3624
|
-
function selfRedeem(
|
|
3642
|
+
function selfRedeem(_x9) {
|
|
3625
3643
|
return _selfRedeem.apply(this, arguments);
|
|
3626
3644
|
}
|
|
3627
3645
|
|
|
@@ -3806,8 +3824,8 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3806
3824
|
return getUserDetails;
|
|
3807
3825
|
}();
|
|
3808
3826
|
|
|
3809
|
-
_proto.
|
|
3810
|
-
var
|
|
3827
|
+
_proto.getPLYWNEARPoolDetails = /*#__PURE__*/function () {
|
|
3828
|
+
var _getPLYWNEARPoolDetails = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2() {
|
|
3811
3829
|
var stakedLiquidity, rewardPerSeconds, stakedLiquidityAmount, promises, _i, rewardTokenAddress, rewardToken, rewardPerSecond, rewardPerSecondValuation, totalStakeValuation;
|
|
3812
3830
|
|
|
3813
3831
|
return runtime_1.wrap(function _callee2$(_context2) {
|
|
@@ -3815,17 +3833,17 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3815
3833
|
switch (_context2.prev = _context2.next) {
|
|
3816
3834
|
case 0:
|
|
3817
3835
|
_context2.next = 2;
|
|
3818
|
-
return this._auriFairLaunch.getPoolInfo(
|
|
3836
|
+
return this._auriFairLaunch.getPoolInfo(PLYWNEAR_POOL_ID).then(function (res) {
|
|
3819
3837
|
stakedLiquidity = res.totalStake;
|
|
3820
3838
|
rewardPerSeconds = res.rewardPerSeconds;
|
|
3821
3839
|
});
|
|
3822
3840
|
|
|
3823
3841
|
case 2:
|
|
3824
|
-
stakedLiquidityAmount = new TokenAmount(
|
|
3842
|
+
stakedLiquidityAmount = new TokenAmount(PLYWNEARToken, stakedLiquidity.toString());
|
|
3825
3843
|
promises = [];
|
|
3826
3844
|
|
|
3827
3845
|
for (_i = 0; _i < rewardPerSeconds.length; _i++) {
|
|
3828
|
-
rewardTokenAddress =
|
|
3846
|
+
rewardTokenAddress = PLYWNEAR_REWARD_TOKENS[_i];
|
|
3829
3847
|
rewardToken = new Token(rewardTokenAddress, getDecimal(rewardTokenAddress));
|
|
3830
3848
|
rewardPerSecond = rewardPerSeconds[_i];
|
|
3831
3849
|
promises.push(fetchValuation(new TokenAmount(rewardToken, rewardPerSecond.toString()), this._networkConnection.provider));
|
|
@@ -3862,11 +3880,11 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3862
3880
|
}, _callee2, this);
|
|
3863
3881
|
}));
|
|
3864
3882
|
|
|
3865
|
-
function
|
|
3866
|
-
return
|
|
3883
|
+
function getPLYWNEARPoolDetails() {
|
|
3884
|
+
return _getPLYWNEARPoolDetails.apply(this, arguments);
|
|
3867
3885
|
}
|
|
3868
3886
|
|
|
3869
|
-
return
|
|
3887
|
+
return getPLYWNEARPoolDetails;
|
|
3870
3888
|
}();
|
|
3871
3889
|
|
|
3872
3890
|
_proto.getTokenPrice = /*#__PURE__*/function () {
|
|
@@ -3909,11 +3927,11 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3909
3927
|
switch (_context4.prev = _context4.next) {
|
|
3910
3928
|
case 0:
|
|
3911
3929
|
_context4.next = 2;
|
|
3912
|
-
return this._auriFairLaunch.getUserInfo(
|
|
3930
|
+
return this._auriFairLaunch.getUserInfo(PLYWNEAR_POOL_ID, user);
|
|
3913
3931
|
|
|
3914
3932
|
case 2:
|
|
3915
3933
|
userInfo = _context4.sent;
|
|
3916
|
-
stakeAmount = new TokenAmount(
|
|
3934
|
+
stakeAmount = new TokenAmount(PLYWNEARToken, userInfo.amount.toString());
|
|
3917
3935
|
return _context4.abrupt("return", valuateToken(stakeAmount, this._networkConnection.provider));
|
|
3918
3936
|
|
|
3919
3937
|
case 5:
|
|
@@ -3933,18 +3951,18 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3933
3951
|
|
|
3934
3952
|
_proto.LpBalanceOf = /*#__PURE__*/function () {
|
|
3935
3953
|
var _LpBalanceOf = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(user) {
|
|
3936
|
-
var
|
|
3954
|
+
var lpContract, balance;
|
|
3937
3955
|
return runtime_1.wrap(function _callee5$(_context5) {
|
|
3938
3956
|
while (1) {
|
|
3939
3957
|
switch (_context5.prev = _context5.next) {
|
|
3940
3958
|
case 0:
|
|
3941
|
-
|
|
3959
|
+
lpContract = new Contract(networkAddresses.tokens.PLYWNEAR, EIP20InterfaceABI.abi, this._networkConnection.provider);
|
|
3942
3960
|
_context5.next = 3;
|
|
3943
|
-
return
|
|
3961
|
+
return lpContract.balanceOf(user);
|
|
3944
3962
|
|
|
3945
3963
|
case 3:
|
|
3946
3964
|
balance = _context5.sent;
|
|
3947
|
-
return _context5.abrupt("return", valuateToken(new TokenAmount(
|
|
3965
|
+
return _context5.abrupt("return", valuateToken(new TokenAmount(PLYWNEARToken, balance.toString()), this._networkConnection.provider));
|
|
3948
3966
|
|
|
3949
3967
|
case 5:
|
|
3950
3968
|
case "end":
|
|
@@ -4039,7 +4057,7 @@ var SdkReadWrite = /*#__PURE__*/function (_SdkRead) {
|
|
|
4039
4057
|
while (1) {
|
|
4040
4058
|
switch (_context7.prev = _context7.next) {
|
|
4041
4059
|
case 0:
|
|
4042
|
-
return _context7.abrupt("return", this._auriFairLaunch.connect(this._networkConnection.signer).deposit(
|
|
4060
|
+
return _context7.abrupt("return", this._auriFairLaunch.connect(this._networkConnection.signer).deposit(PLYWNEAR_POOL_ID, amount.rawAmount()));
|
|
4043
4061
|
|
|
4044
4062
|
case 1:
|
|
4045
4063
|
case "end":
|
|
@@ -4062,7 +4080,7 @@ var SdkReadWrite = /*#__PURE__*/function (_SdkRead) {
|
|
|
4062
4080
|
while (1) {
|
|
4063
4081
|
switch (_context8.prev = _context8.next) {
|
|
4064
4082
|
case 0:
|
|
4065
|
-
return _context8.abrupt("return", this._auriFairLaunch.connect(this._networkConnection.signer).withdraw(
|
|
4083
|
+
return _context8.abrupt("return", this._auriFairLaunch.connect(this._networkConnection.signer).withdraw(PLYWNEAR_POOL_ID, amount.rawAmount()));
|
|
4066
4084
|
|
|
4067
4085
|
case 1:
|
|
4068
4086
|
case "end":
|
|
@@ -107330,5 +107348,5 @@ BigNumber.config({
|
|
|
107330
107348
|
DECIMAL_PLACES: 50
|
|
107331
107349
|
});
|
|
107332
107350
|
|
|
107333
|
-
export { AIRDROP_END_TIMESTAMP, AIRDROP_KEEP_THRESHOLD, AIRDROP_START_TIMESTAMP, ALL_STAKING_POOLS, AURORA_CHAINID, Airdrop, AirdropRead, AirdropReadWrite, BORROW_LIMIT_BUFFER, BORROW_NEAR_REWARDS_PER_WEEK, BlockchainEntity, BlockchainEntityRead, BlockchainEntityReadWrite, ComptrollerRewardType, DECIMAL_PRECISION, DEPOSIT_NEAR_REWARDS_PER_WEEK, ETHAddress, INF, MarketAction, MoneyMarket, MoneyMarketRead, MoneyMarketReadWrite, ONE_DAY, ONE_WEEK, ONE_YEAR, PLYToken,
|
|
107351
|
+
export { AIRDROP_END_TIMESTAMP, AIRDROP_KEEP_THRESHOLD, AIRDROP_START_TIMESTAMP, ALL_STAKING_POOLS, AURORA_CHAINID, Airdrop, AirdropRead, AirdropReadWrite, BORROW_LIMIT_BUFFER, BORROW_NEAR_REWARDS_PER_WEEK, BlockchainEntity, BlockchainEntityRead, BlockchainEntityReadWrite, ComptrollerRewardType, DECIMAL_PRECISION, DEPOSIT_NEAR_REWARDS_PER_WEEK, ETHAddress, INF, MarketAction, MoneyMarket, MoneyMarketRead, MoneyMarketReadWrite, ONE_DAY, ONE_WEEK, ONE_YEAR, PLYToken, PLYWNEARToken, PLYWNEAR_POOL_ID, PLYWNEAR_REWARD_TOKENS, PRICE_WHITELISTED, Papermill, PapermillRead, PapermillReadWrite, REWARD_CLAIM_START, SDK, SdkRead, SdkReadWrite, Token, TokenAmount, TransferEventQuery, calcLMRewardApr, calcValuation, decimalFactor, dummyAddress, dummyMarketAddress, dummyPly, dummyPlyAurora, dummyToken, dummyTokenAmount, dummyTokenAmount2, dummyTokenAmount3, dummyUserMarketDetails, dummyZeroTokenAmount, fetchLPPositions, fetchLPPrice, fetchPLYPrice, fetchPrice, fetchPriceFromCoingecko, fetchPriceFromCoingeckoAPI, fetchPriceFromOracle, fetchStNEARPrice, fetchUnderlyingTokensPrices, fetchValuation, formatObject, getBlockBeforeTimestamp, getBlockTimestamp, getCurrentTimestamp, getDecimal, isSameAddress, networkAddresses, validateAndParseAddress, valuateToken };
|
|
107334
107352
|
//# sourceMappingURL=sdk.esm.js.map
|