Skip to content

Latest commit

 

History

History
506 lines (281 loc) · 27.8 KB

CHANGELOG.md

File metadata and controls

506 lines (281 loc) · 27.8 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.46.58-alpha.1 (2024-09-19)

Adjustments

  • Increase staleTime to 2s (608489c)
  • Limit 10 for owned objects query (6d96fd6)
  • Increase token per interval to 50 and apply incremental delay time (d04e04d)
  • Add walletAddress params to ScallopCache (4e7f940)

0.46.57 (2024-09-13)

Bugfixes

  • Reduce query object limit from 50 to 10 (877667d)
  • Fix undefined value (9e4e653)
  • Fix selecting SUI coin type (38b2885)

0.46.56 (2024-09-11)

Features

  • Add sCoin support for BTC and SOL (b191459)

  • Add getSCoinSwapRate method into scallopQuery (f7e1ac0)

  • Add sCoinType property to marketPool return type (9a2bd5c)

  • Add claimAllUnlockedSca method into scallopClient (d4dbdc8)

0.46.55 (2024-08-18)

Bugfixes

  • Fix the issue where the loyalty program is not transferring rewards to the user’s address after claiming (82a411d)

0.46.54 (2024-08-06)

Features

  • Add token bucket algorithm for rate limit rpc requests (d4369ef)

  • Remove logic from unstakeQuick to prevent ambiguity of the method responsibility (5633a35)

0.46.53 (2024-08-01)

Bugfixes

  • stakeHelper function, handle stake spool when user has old marketCoin and new sCoin (5911caf)

  • minor fix on migrateAllMarketCoin (49da8b8) (04e777f)

0.46.52 (2024-07-31)

Bugfixes

0.46.51 (2024-07-31)

Features

0.46.50 (2024-07-30)

Bugfixes

  • Fix reward apr for borrow incentive when point is 0 (64c924f)

Features

  • Add walletAddress property to ScallopQuery instance (94d8396)
  • Optimize getPythPrices function (d75234b)

0.46.49 (2024-07-12)

Bugfixes

0.46.48 (2024-07-09)

Features

  • Add returnSCoin parameter to unstakeQuick (a3ad485)

0.46.47 (2024-07-09)

Bugfixes

  • update unstakeQuick return type (8fe0660)

0.46.46 (2024-07-09)

Bugfixes

  • Adjust unit tests that uses unstakeQuick (fcace2b)

0.46.45 (2024-07-09)

Bugfixes

0.46.44 (2024-07-09)

Features

  • Adjust staking spool methods with new sCoin (607f53f)

0.46.43 (2024-07-09)

Bugfixes

  • Minor fix on unstakedMarketAmount (faa647d)

0.46.42 (2024-07-08)

Bugfixes

  • Fix getLending parameters order (f71217b)

0.46.41 (2024-07-05)

Features

  • Add query, builder, and client method for new sCoin (291eca0)
  • Update docs (61a53b3)
  • Update API_BASE_URL (50ec3a8)
  • Add totalRewardedPools (d38f654)

0.46.40 (2024-07-02)

Features

  • Add getFlashLoanFees function in scallopQuery (1a5ee01)

0.46.39 (2024-06-20)

Bug Fixes

0.46.38 (2024-06-17)

Bug Fixes

  • Fix order of execution (5cfdc24)
  • Use concurrency on getStakeRewardPools (c59cfdb)

0.46.37 (2024-06-10)

Features

0.46.36 (2024-06-01)

Bug Fixes

0.46.35 (2024-06-01)

Bug Fixes

0.46.34 (2024-05-31)

Bug Fixes

0.46.33 (2024-05-29)

Bug Fixes

  • Fix increasedPointRate calculation (18d364a)

0.46.32 (2024-05-27)

Bug Fixes

⚠ BREAKING CHANGES

  • Refactor borrow incentive pools structure (516afb5)

0.46.31 (2024-05-27)

Bug Fixes

Features

  • Enable indexer for borrowIncentivePools(737c122)

0.46.3 (2024-05-27)

Bug Fixes

0.46.2 (2024-05-23)

Bug Fixes

  • Minor bug fix on spool

0.46.1 (2024-05-22)

Bug Fixes

  • Minor bug fix

0.46.0 (2024-05-22)

Features

  • Add Referral Program

0.45.0 (2024-05-12)

Bug Fixes

  • Avoid multiple RPC calls and Move Call on the same object of short period of time

0.44.28 (2024-05-11)

Features

  • Export getBindedObligationId and getBindedVeScaKey functions (e0a4365)
  • getVeSca return veSca with highest balance (95d928f)

0.44.27 (2024-04-26)

Features

0.44.26 (2024-04-26)

Features

  • Add deactiveBoost method to borrowIncentive builder module(f469475)

0.44.25 (2024-04-22)

Features

  • add afsui, hasui, vsui, and eth borrow incentive(0190c69)

0.44.24 (2024-04-22)

Features

  • add sca borrow incentive (8504da3)

0.44.23 (2024-04-21)

Features

0.44.22 (2024-04-01)

Bug Fixes

  • Minor fix on borrow incentive objectId (184b03d)

0.44.21 (2024-03-29)

Bug Fixes

  • Minor fix on borrow incentive builder test (39af1fa)
  • add isFinite check to boostValue calculation, add staked property to BorrowIncentivePool type (97640b5)

Features

  • Refactor unit tests for veSCA builder (3d0acf4)

0.44.20 (2024-03-26)

Bug Fixes

  • borrow incentive reward apr calculation (555671f)
  • get sca price in with pyth feed (2347b87)

0.44.19 (2024-03-25)

Features

  • add veSCA and stakeObligationWithVeSca implementation (dbd6c68)
  • add vesca bind check before using it (873826b)
  • done veScaQuickMethods (d96fe36)
  • finish borrow incentive (bd466fb)
  • update address id (0f9d6a9)
  • use test vesca (d700b3c)

Bug Fixes

  • Add OLD_BORROW_INCENTIVE_PROTOCOL_ID constant to borrowIncentiveBuilder.ts (01c0d0a)
  • add weighted staked on query (6e79d08)
  • boost calculation (270ed16)
  • minor (df4d118)
  • minor typo (c1ba7ff)
  • typo (fb57c5a)
  • use normal stake if no vesca (4dda1df)
  • use production addressses (3f14e82)

0.44.18 (2024-03-03)

Bug Fixes

0.44.17 (2024-03-03)

Features

  • add multiple pyth endpoints (216b6a3)
  • add new spools (fc08c12)
  • support specifying pyth endpoints (a526c36)

Bug Fixes

  • redundant initialization (bd74a99)

0.44.16 (2024-01-29)

Features

0.44.15 (2024-01-29)

Features

  • add LSDs to the const of empty addresses (eebc5ed)
  • add support for new spools in getStakeAccounts (aad24e0)
  • lending query adds conversionRate and marketCoinPrice fields (ebe4e33)
  • update for lsd incentive (e37ccdb)

0.44.14 (2024-01-11)

Bug Fixes

  • remove coin name for stakeObligation and unstakeObligation (186cf2e)

0.44.13 (2024-01-07)

Bug Fixes

0.44.12 (2024-01-05)

Bug Fixes

  • wrong obligation id obtaining (2e4e6e9)

0.44.11 (2024-01-05)

Bug Fixes

  • avoid loop getOwnedObjects (327e82b)

0.44.10 (2023-12-27)

Features

  • add change ratio when using indexer for getTvl (e4e9ce6)

0.44.9 (2023-12-27)

Features

  • add poolSize limit to availableDepositAmount (e42be8a)
  • update sdk api endpoint (78ea1d4)

0.44.8 (2023-12-26)

Features

0.44.7 (2023-11-30)

Features

  • add requiredRepay field and change the value of availableRepay in obligationAccount (4118a29)
  • add usdt borrow incentive support (d89d558)
  • borrow and repay with sign tx in client support incentive (ddf8298)

0.44.6 (2023-11-28)

0.44.5 (2023-11-24)

Features

  • add an object id address to dynamically update protocol objec (df8faa3)
  • add borrow fee information in core query (2a4dfa8)
  • add reward fee information in spool and borrow incentive query (0b26403)

0.44.4 (2023-11-14)

Features

  • add avaliable claim of borrow incentive pools in getObligationAccount (fcaac4c)

Bug Fixes

  • wrong availableClaim in getLending (fee4ec6)

0.44.3 (2023-11-12)

Features

  • add borrow incentive support (d6ad251)
  • rename functions and constants for spool (8d49c06)

0.44.2 (2023-11-07)

Features

0.44.1 (2023-10-25)

Features

  • add new afsui and hasui pools (c42ec5b)

0.44.0 (2023-10-22)

0.42.8 (2023-10-20)

0.42.7 (2023-10-18)

Bug Fixes

0.42.6 (2023-10-10)

Bug Fixes

  • correct the number of staked coin for getLending (466d603)

0.42.5 (2023-10-07)

0.42.4 (2023-10-07)

0.42.3 (2023-10-07)

Features

  • add getting tvl in query model (33579ca)

0.42.2 (2023-10-05)

Features

  • add depositAndStake and unstakeAndWithdraw (57e8669)
  • add get coins amount (8311bf2)
  • add get market coin (6bd48ae)
  • add get market coins (18e136c)
  • add getting coin decimal to utils (02efc60)
  • add getting coin wrap type to utils (93b7b14)
  • add getting multiple stake and reward pools in query (6be7063)
  • add getting obligation account in query (31bad4e)
  • add getting price from pyth to query and utils (ee487a0)
  • add getting spools and spool in query (ba92d7b)
  • add getting user lending info in query (21fdf6a)
  • add market pools and collaterals (fc72248)
  • add marketPool fields (7901444)
  • add parse coin name to symbol function in utils (85c96bd)
  • add portfolio query and improve pool, collateral and spool fields (c75e462)
  • add price field into marke pools and collaterals (99b3958)

Bug Fixes

  • correct getting coin prices (38bd69c)
  • correct getting coin type regex (3badcfc)

0.42.1 (2023-09-27)

⚠ BREAKING CHANGES

  • refactor the entire SDK

Features