Yusuf Seyrek
d4a2f19db2
feat: replaced all possible BN(0) & BN(1) occurrences with constants ( #320 )
2023-07-26 12:19:19 +03:00
Bob van der Helm
3413203ca7
Mp 2949 implemet health computer for borrow ( #311 )
...
* implemented max borrow for borrow page
setup basic useHealthComputer
* finish up healthcomputer
* updated tests
2023-07-24 09:44:45 +02:00
Yusuf Seyrek
d949cc84b7
feat: multi price source implementation ( #299 )
2023-07-14 14:49:33 +03:00
Linkie Link
df6d7a3ba2
overall cleanup and refactoring + SettingsModal ( #286 )
2023-07-11 21:01:14 +02:00
Linkie Link
3c3e722c49
Mp 2821 unlocked positions ( #276 )
2023-07-04 16:15:36 +02:00
Bob van der Helm
697e83b7cb
Mp depostied vaults table ( #271 )
...
* added correct resolving of account positions
* solve rendering bug for lp amount
* bugfix: add slippage to minlpamount
* fix DisplayCurrency to accept only BNCoin
* bugfix: remove prices from store
* add basic depostied vaults table
* Farm: Added deposited table
* finish deposited table, remove featured vaults:
2023-06-29 12:55:47 +02:00
Bob van der Helm
415da05b8d
Mp 2548 deposit into vault ( #264 )
...
* Implement vault deposit message
* Merge custom Coin into BNCoin
* Fix build errors
* fixed tests
2023-06-26 10:08:45 +02:00
Yusuf Seyrek
db9f222732
Mp 2993 update smart contracts ( #262 )
...
* feat: update contract addresses and types
* feat: add account type
* feat: comment out old contract vaults
* tests: disable vaults test suite
* instantiate contract-specfiic clients
* fix build
* rebase and fix test
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-06-21 00:20:42 +02:00
Bob van der Helm
7b5d4c3255
Mp 2546 borrow asset modal ( #255 )
...
* Refactor Modal folder and setup basic addassetsmodal
* basic tables
* Update basic logic
* small fixes
* Update closing for modals
* fix slider update bug and set borrowing subtitle
* fix store
* add missing dependency
* fix tests for VaultBorrowings
* Add DisplayCurrency test for VaultBorrowings
* trigger updated
* update borrowModal import path
* update imports for modals
* updating paths again
* update structure of modals directory
* fix all file naming and relative imports
* fix icon spacing button and jest.mocked import
* fix icon classes for button
* change Map to array and add BNCoin
* add AssetImage
* update logic for selecting borrow denoms
2023-06-15 13:00:46 +02:00
Bob van der Helm
0f8e656651
Mp 2543 farm adv borrow ( #247 )
...
* add calculation for max borrowings
* implement borrow side for modal
* add test and resolve comments
2023-06-07 16:22:13 +02:00
Linkie Link
0ae70899e5
Mp 2344 fund credit account flow ( #179 )
...
* tidy: refactor text
* feat: added unstyled select
* tidy: useToggle
* tidy: useToggle
* MP-2344: first unstyled version of Select
* fix: fixed the build
* MP-2344: progress on the Select
* MP-2344: almost finished the Select
* env: update wallet-connector
* fix: relative imports
* env: started adding osmo-test-5 contracts
* refactor: rename stargate.ts to d.ts
* env: adjusted tsconfig.json
* feat: updated modals to use the dialog element
* env: added mainnet config
* env: enabled osmosis-1
* tidy: refactor
* fix: fixed decimals
* fix: fixed the NaN issue for ETH
* fix: fixed price calculations for large decimals
* feat: finished conversion to <dialog>
* fix: fixed some logic issues
* fix: layout fix
* fix: fixed token slider and input
* tidy: format
* fix: added currentAccount hook
* Mp 2345 withdraw from credit account flow (#180 )
* MP-2345: created the barebone for withdraw
* MP-2351: changed the AccountHealth logic
* MP-2345: enabled withdraw function
* MP-2351: added animation to Accordion
* fix: adjusted according to feedback
* fix: reduced complexity
* tidy: format
* env: enabled osmo-test-5 support
* feat: added USDC.n
* env: updated dependencies
* fix: hotfixed react-draggable
* fix: fixed vault info
2023-05-08 12:18:33 +02:00
Bob van der Helm
4847121180
Mp 2539 vaults api ( #156 )
...
* add basic endpoint for vaultConfigs
* implement apy for vaults
2023-04-14 14:36:49 +02:00