164 Commits

Author SHA1 Message Date
Aleksandr Kraiz
67fe598635 Added Goerli 2023-02-20 14:48:02 +04:00
Aleksandr Kraiz
23757600ae Removed old Analytics system connector 2023-02-20 12:41:03 +04:00
Aleksandr Kraiz
eea77d48aa Bind fix 2023-02-20 12:30:59 +04:00
Aleksandr Kraiz
5fc8d488ee Schema minor fix 2023-02-18 21:01:45 +04:00
Aleksandr Kraiz
151477d40e Bump deps 2023-02-17 19:21:21 +04:00
Aleksandr Kraiz
2c24f71453 Strictest / tests / minor improvements 2023-02-17 17:31:35 +04:00
Aleksandr Kraiz
19f46f33d0 Added aggregation methods: getPairs, getAssets 2023-02-16 16:55:08 +04:00
Aleksandr Kraiz
e8c242c357 Fix broken PriceFeed 2023-02-15 13:52:04 +04:00
Mikhail Gladchenko
fb2a9ea95b small type fix 2023-02-14 16:10:37 +00:00
Mikhail Gladchenko
4289fe3339 futuresTradeInfoSchema was updated 2023-02-14 15:58:52 +00:00
Aleksandr Kraiz
c12a4e8e7a Linter standard (#49)
* Impl

* Fix

* Fix

* Bump

* Bump

* Fix

* Bump
2023-02-14 00:34:37 +04:00
Mikhail Gladchenko
5ed6ab552d FUTURES_TRADE_INFO_UPDATE case was updated 2023-02-13 17:24:48 +00:00
Mikhail Gladchenko
3e9cc7bbd6 FuturesTradeInfoSubscription type update 2023-02-13 16:25:01 +00:00
Mikhail Gladchenko
f49b5078df type fix 2023-02-13 14:09:05 +00:00
Mikhail Gladchenko
35b873c789 Eslint error fix 2023-02-13 12:59:05 +00:00
Mikhail Gladchenko
45e59754bc CFD schema was updated 2023-02-13 12:55:34 +00:00
Aleksandr Kraiz
3076258339 Added config 2023-02-10 17:38:54 +04:00
Aleksandr Kraiz
7882b66871 Fix: network codes 2023-02-10 17:28:52 +04:00
Aleksandr Kraiz
bd1c8077bb Fix RPC url 2023-02-10 13:57:55 +04:00
Kuduzow Akhmad
80ffa4a31d fix: made price_feed_meta_info nullable (#46)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-02-09 18:03:35 +04:00
Aleksandr Kraiz
b2f3cdf5fb Orion, Orion Unit, Configuration (#40)
* Refactoring

* Better docs

* Bump

* ESLint standard

* Fix

* Bumo

* VerboseOrionUnitConfig to types

* Docs improvements

* Docs improvements. Orion default env
2023-02-08 14:51:58 +04:00
Mikhail Gladchenko
c0771d4fa5 CFD schema was updated 2023-02-03 07:58:14 +00:00
Mikhail Gladchenko
bf937abad1 Small type fix
package.json version was updated to 0.16.7-rc.0
2023-02-02 14:59:42 +00:00
Mikhail Gladchenko
42eb66c594 CFD small schema update 2023-02-02 12:49:05 +00:00
Mikhail Gladchenko
24d23e0784 CFD schemas update
package.json version was updated to 0.16.6-rc.1
2023-02-02 12:46:49 +00:00
Kuduzow Akhmad
f1718a3097 feat: added methods to get referral system analytics (#35)
Co-authored-by: kuduzow <admin@intocode.ru>
Co-authored-by: Aleksandr Kraiz <selfsurfer@gmail.com>
2023-02-01 12:22:30 +04:00
Kuduzow Akhmad
053a8bafc9 fix: added errorSchema for distinct-analytics and renamed method (#36)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-02-01 12:16:55 +04:00
Aleksandr Kraiz
1e3cf57c87 CFD (#28)
* Added new pairs type: futures

* Added new pairs type: futures

* added market param to pairsConfig request

* OP-3268 [CFD] Deposit amount

Added CFDContracts endpoint
package.json version update

* OP-3268 [CFD] Deposit amount

CFDContractsSchema export

* OP-3268 [CFD] Deposit amount

CFDContractsSchema export
package.json update

* cfdContractsSchema rename
Add getCFDHistory method
package.json update

* Parameter of getCFDHistory method was updated

* cfdHistorySchema was updated

* WS subscribtion for CFD balances, CFD Order signing functionality

* cfdHistorySchema was updated
package.json version 0.16.0-rc.6 was updated

* package.json version 0.16.0-rc.7 was updated

* Exchange and CFD history schemas was transformed
package.json version 0.16.0-rc.8 was updated

* Added HistoryTransactionStatus
package.json version 0.16.0-rc.8 was updated

* cfdContractsSchema was updated
package.json version 0.16.0-rc.10 was updated

* Merge conflicts fix
package.json version was updated to 0.16.0-rc.12

* updated schemas, updated version

* Updated CFD balance schema, updated unsubscribe with passing extra details

* CFD balances schema update

* Added CFD prices request

* typing small fix

* fixed transformation of CFD init / update responses

* temporary added debug

* temporary added debug. changed ver

* debug, ver up

* Add currentPrice to cfdBalanceSchema

* Added maxAvailableLong maxAvailableShort to balances

* added leverage and position status

* Update isWithCode - allow string code

* version up

Co-authored-by: Mikhail Gladchenko <m@gladchenko.pw>
Co-authored-by: Demid <demidn@gmail.com>
Co-authored-by: Dmitry Leleko <lelekodmitry@gmail.com>
2023-01-27 15:45:10 +04:00
Kuduzow Akhmad
e99c3ee9cd added errorSchema to ReferralSystem service (#34)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-01-27 00:46:22 +04:00
Kuduzow Akhmad
cf9e391ecf Добавлен новый метод для получения адреса реферрала (#32)
* Добавлен новый метод для получения адреса реферрала

* Апнута версия пакета

* Добавлена привязка контекста к методу

* Апнута версия пакета

* Доработа логика генерации apiUrl для тестинг-окружения реферальной системы

* URL custom-окружение обрабатывается теперь также как testing

* analytics schema updated

* fix zod schema by add z.record

Co-authored-by: kuduzow <admin@intocode.ru>
2023-01-24 11:37:57 +04:00
Mikhail Gladchenko
26b916c532 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2023-01-05 14:14:00 +00:00
Dmitry
d26f13b6ac OP-3279 Add /api/v1/pools/reserves endpoint (#33)
* OP-3279 Add /api/v1/pools/reserves endpoint

* OP-3279 Fixup

* OP-3279 Fixup

* OP-3279 Update version
2022-12-21 10:51:14 +04:00
Mikhail Gladchenko
f621b4abfd OP-2818 [Swap] Show order route path and benefits in Swap UI
SwapInfoBase type update
package.json version update
2022-12-19 10:24:31 +00:00
Aleksandr Kraiz
84f36a9800 merge 2022-12-16 14:03:53 +04:00
Aleksandr Kraiz
e4f8778b2d Fix schema 2022-12-16 14:02:21 +04:00
Mikhail Gladchenko
43fa0b8c58 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2022-12-16 08:00:06 +00:00
Kuduzow Akhmad
745bec7da5 Added new ReferralSystem service (#30)
* Added new ReferralSystem service

* Version conflict resolved after rebase

* Fixed http header because of backend updates

* Updated package version

Co-authored-by: kuduzow <admin@intocode.ru>
2022-12-15 13:03:45 +04:00
Aleksandr Kraiz
e69082319e no dep cycle 2022-12-14 21:07:38 +04:00
Aleksandr Kraiz
625785bf7d Exchange enum 2022-12-14 19:04:41 +04:00
Mikhail Gladchenko
e5baa6f4a6 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2022-12-14 14:40:20 +00:00
Aleksandr Kraiz
363dafc45c Added exchanges map 2022-12-14 18:37:50 +04:00
Mikhail Gladchenko
b34021695f OP-2818 [Swap] Show order route path and benefits in Swap UI
Data from WS was updated.
2022-12-14 09:23:40 +00:00
Mikhail Gladchenko
b4634b98f0 OP-2818 [Swap] Show order route path and benefits in Swap UI
Updated SwapInfo schemas for WS and REST.
Small type updates.
2022-12-14 08:24:05 +00:00
Mikhail Gladchenko
ab59310645 OP-2818 [Swap] Show order route path and benefits in Swap UI
Updated SwapInfo schemas for WS and REST.
2022-12-13 16:25:26 +00:00
Aleksandr Kraiz
60a2bc0bcd Schema transform optimization 2022-12-13 12:46:03 +04:00
Aleksandr Kraiz
990aa04e46 Broken deleted 2022-12-05 15:45:33 +04:00
Kuduzow Akhmad
842bc195d4 Add new methods to PriceFeed class to get statistics (#29) 2022-12-02 10:48:34 +04:00
Aleksandr Kraiz
f6623f9bec isKeyOfObject fix 2022-11-28 18:26:34 +04:00
Aleksandr Kraiz
1a33c41993 New utils 2022-11-28 17:50:20 +04:00
Aleksandr Kraiz
54b6425dc6 Fix types 2022-11-28 14:21:07 +04:00