Commit Graph

558 Commits

Author SHA1 Message Date
TheJuze
a2cdadfa09 update lockOrder types 2024-01-23 16:52:22 +03:00
TheJuze
aac63a6930 Merge branch 'main' into feat/OP-4308-cross-chain-swap
# Conflicts:
#	package-lock.json
#	package.json
#	src/services/Aggregator/index.ts
2024-01-23 16:31:40 +03:00
TheJuze
ac865f4de9 add signLockOrder to imports 2024-01-23 12:54:41 +03:00
Mikhail Gladchenko
093274f6b7 Update package.json 2024-01-23 08:13:34 +00:00
Mikhail Gladchenko
a1c01fca09 Merge branch 'main' into feat/OP-4924-add-new-networks
# Conflicts:
#	package.json
2024-01-23 07:45:14 +00:00
Kirill Litvinov
a8a11184ef update OrderSource type 2024-01-22 19:10:51 +03:00
TheJuze
2079e49a04 fix build and types 2024-01-19 12:35:58 +03:00
TheJuze
0d9d19b116 Merge branch 'main' into feat/OP-4308-cross-chain-swap
# Conflicts:
#	package.json
2024-01-19 12:28:18 +03:00
TheJuze
fcc30178ab make fields in signOrder optional 2024-01-19 12:27:19 +03:00
TheJuze
330fc513e5 add to signOrder secretHash only if targetChainId exist 2024-01-19 12:15:33 +03:00
TheJuze
72e1e9464e add lock order support 2024-01-18 17:45:32 +03:00
Steam Deck User
769719293f fix: make matcher, feeAsset, fee fields of BaseGenerateSwapCalldata optional 2024-01-16 19:32:26 +04:00
TheJuze
2eeae0686a Merge branch 'main' into feat/OP-4308-cross-chain-swap
# Conflicts:
#	package-lock.json
#	package.json
2024-01-16 12:57:44 +03:00
Kirill Litvinov
627e6f70be update x-source 2024-01-16 11:06:24 +03:00
Mikhail Gladchenko
59f8356da1 feat: update version 2024-01-11 12:56:11 +00:00
Kirill Litvinov
5edd39b63f update X-Source type 2024-01-10 21:45:02 +03:00
TheJuze
782b39ca23 update getCrossChainAssetsByNetwork return type 2024-01-10 17:18:38 +03:00
TheJuze
49c529481b update getCrossChainAssetsByNetwork prop types 2024-01-10 15:55:40 +03:00
TheJuze
c654778129 add getCrossChainAssetsByNetwork method 2024-01-10 15:29:06 +03:00
Alex Kraiz
9002b4553f fix: unnecessary space in config; fix order schema removed unnecessary fields 2024-01-09 04:36:48 +04:00
kigastu
11a5bd9be0 bump version 2024-01-04 18:08:21 +03:00
Alex Kraiz
994e6d44fa feat: return back swap market / limit 2024-01-04 02:59:34 +04:00
Kirill Litvinov
d4a94aca02 added thena exchange 2023-12-27 20:01:54 +03:00
Kirill Litvinov
bec9dc5b35 fix rawExchangeRestrictions 2023-12-27 15:27:48 +03:00
Kirill Litvinov
8eea148a5f rawExchangeRestrictions 2023-12-26 21:22:18 +03:00
Steam Deck User
c7269f534e bump 2023-12-20 14:09:32 +04:00
Steam Deck User
a0bed6b5b6 transform all addresses to lower case x2 2023-12-18 13:38:09 +04:00
Steam Deck User
7672b9daf8 transform all addresses to lower case 2023-12-18 13:10:08 +04:00
Steam Deck User
06f1f3d8cf add debug console.log 2023-12-18 13:01:56 +04:00
Steam Deck User
b38f0ba424 convert addresslike to string 2023-12-18 11:56:27 +04:00
Steam Deck User
7cd71b2c60 fee parameter should be in exchange decimals 2023-12-18 11:10:35 +04:00
Steam Deck User
fabce0540e bump 2023-12-18 10:59:57 +04:00
Steam Deck User
ba24f065ed update contracts depedency 2023-12-18 10:54:29 +04:00
Steam Deck User
826b3b508c added fee payment to matcher if dst.Token === feeToken 2023-12-15 17:55:44 +04:00
Mikhail Gladchenko
b847a173bb Update package.json 2023-12-15 10:22:25 +00:00
kigastu
6e14d146ac bump ver 2023-12-14 17:18:58 +03:00
Kirill Litvinov
70ab3f1ffe fix: version 2023-12-13 14:40:38 +03:00
Kirill Litvinov
fa33024ea5 get referral data 2023-12-13 14:39:40 +03:00
Steam Deck User
661cce707d bump 2023-12-12 11:11:54 +04:00
Steam Deck User
e515998ba6 fix: change default bsc-mainnet rpc 2023-12-12 09:53:17 +04:00
Steam Deck User
14998f2531 bump 2023-12-08 17:30:51 +04:00
Steam Deck User
99d02a42cd fix not zero eth value when srcToken not eth 2023-12-08 16:05:41 +04:00
Steam Deck User
bbf7f664c7 add useExchageBalance function, add balance and allowance validation 2023-12-08 15:08:56 +04:00
Kirill Litvinov
14313c98e8 added source header 2023-12-07 17:57:19 +03:00
lomonoshka
a536db3433 bump 2023-11-30 15:10:28 +04:00
lomonoshka
3c56cd0926 fix incorrect definition of useExchangeBalance 2023-11-30 14:59:40 +04:00
lomonoshka
4d2e006db0 dont use exchangeBalance if it's 0 2023-11-30 14:46:52 +04:00
lomonoshka
9d794b5428 fix return eth value type BigInt => bigint 2023-11-30 14:28:20 +04:00
lomonoshka
e0acb78d4f swaps nativeToken => anyToken use exchangeBalance as a priority; generateSwapCalldata now also returns eth value for transaction 2023-11-30 14:15:49 +04:00
lomonoshka
982ec94d40 bump 2023-11-29 21:46:00 +04:00