Den Great
|
0d20d804c3
|
aero
|
2024-06-11 18:45:13 +08:00 |
|
Kirill Litvinov
|
98ca93a8f4
|
Merge remote-tracking branch origin/main into remove-exactReceive
|
2024-05-29 15:42:32 +03:00 |
|
Mikhail Gladchenko
|
3572aba813
|
feat: changed default fee
|
2024-05-28 15:12:35 +01:00 |
|
Kirill Litvinov
|
245fb444d6
|
Merge remote-tracking branch origin/main into remove-exactReceive
|
2024-05-28 15:40:45 +03:00 |
|
Mikhail Gladchenko
|
a1455bdda9
|
feat: moved to swapUniV2Scaled function
|
2024-05-27 11:51:18 +01:00 |
|
Mikhail Gladchenko
|
eed05bd830
|
feat: updated generateSwapCalldata with custom fee from the path
|
2024-05-23 10:42:11 +01:00 |
|
Kirill Litvinov
|
ac6b331eca
|
is trade buy
|
2024-05-22 22:51:03 +03:00 |
|
Kirill Litvinov
|
32836a2bde
|
is exact receive
|
2024-05-22 22:09:11 +03:00 |
|
Kirill Litvinov
|
ed9fe7651e
|
remove exactReceive
|
2024-05-13 15:19:31 +03:00 |
|
Kirill Litvinov
|
39f5287ea4
|
fix: logger
|
2024-04-15 15:38:54 +03:00 |
|
Kirill Litvinov
|
b2809ee8f2
|
fix: test text
|
2024-04-15 13:00:31 +03:00 |
|
Mikhail Gladchenko
|
09a394b28b
|
fix: change asset names to asset addresses
|
2024-03-25 16:45:34 +00:00 |
|
Mikhail Gladchenko
|
386b2e50ae
|
fix: console log all constants
|
2024-03-25 12:40:55 +00:00 |
|
Mikhail Gladchenko
|
940b269c01
|
fix: console log all constants
|
2024-03-25 12:23:44 +00:00 |
|
Mikhail Gladchenko
|
4af485cbbf
|
fix: console log all constants
|
2024-03-25 12:13:39 +00:00 |
|
Mikhail Gladchenko
|
555e26f842
|
feat: get from wallet first fix
|
2024-03-20 13:47:40 +00:00 |
|
Steam Deck User
|
769719293f
|
fix: make matcher, feeAsset, fee fields of BaseGenerateSwapCalldata optional
|
2024-01-16 19:32:26 +04:00 |
|
Alex Kraiz
|
c42e660867
|
fix: swapMarket and swapLimit
|
2024-01-04 17:47:53 +04:00 |
|
Alex Kraiz
|
0633f9c113
|
fix: swapMarket / swapLimit
|
2024-01-04 11:21:04 +04:00 |
|
Alex Kraiz
|
994e6d44fa
|
feat: return back swap market / limit
|
2024-01-04 02:59:34 +04:00 |
|
Alex Kraiz
|
c16c34514d
|
Merge branch 'main' into main
|
2024-01-04 02:40:54 +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
|
fc00a8bff0
|
fix types
|
2023-12-18 12:42:38 +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
|
826b3b508c
|
added fee payment to matcher if dst.Token === feeToken
|
2023-12-15 17:55:44 +04:00 |
|
Steam Deck User
|
1af36a83ca
|
fix don't check allowance when token is native
|
2023-12-13 19:15:50 +04:00 |
|
Alex Kraiz
|
47d671a9f7
|
fix: params count in swap funct; feat: added comments
|
2023-12-11 13:39:23 +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
|
2698434ab1
|
fix build, delete unused imports
|
2023-12-08 15:13:17 +04:00 |
|
Steam Deck User
|
bbf7f664c7
|
add useExchageBalance function, add balance and allowance validation
|
2023-12-08 15:08:56 +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
|
ff8729a1d3
|
fix: fix bug with curve calldata generation while in crossfactory
|
2023-11-29 20:03:47 +04:00 |
|
lomonoshka
|
91b5ca3239
|
hotfix: fix calldata generation for nativeAsset => anyAsset
|
2023-11-29 18:41:46 +04:00 |
|
Dmitry
|
d38d8bd715
|
OP-4758: fix generateSwapCallData (#214)
|
2023-11-27 15:56:34 +03:00 |
|
lomonoshka
|
8fe0c4314c
|
hotfix: support for ticker and address in generateSwapCalldata
|
2023-11-09 19:04:47 +04:00 |
|
lomonoshka
|
ad40b10f78
|
fix exchangeToNativeDecimal function
|
2023-11-03 18:34:43 +04:00 |
|
lomonoshka
|
827b2d32cd
|
fix passing ticker instead of token address
|
2023-11-03 14:59:04 +04:00 |
|
lomonoshka
|
fa0a9d09ce
|
remove unused imports and variables
|
2023-11-03 13:21:45 +04:00 |
|
lomonoshka
|
47e68cc7fa
|
fix denormolized wallet balance error
|
2023-11-03 13:16:16 +04:00 |
|
lomonoshka
|
8e018aa1b0
|
fix: correct exchange::generateSwapCalldata params type
|
2023-11-01 13:02:08 +04:00 |
|
lomonoshka
|
935412724e
|
fix: correct swapDescription.flags initialization to enable contract balance for swaps
|
2023-10-31 20:56:25 +04:00 |
|
lomonoshka
|
fa5863b42c
|
Fix patching with eth balance
|
2023-10-31 10:44:23 +04:00 |
|
lomonoshka
|
83f4a54ef8
|
Fix single factory srcReceiver bug
|
2023-10-30 20:43:39 +04:00 |
|
lomonoshka
|
4d9f09bc21
|
Add final transfer from executor in any case
|
2023-10-30 20:24:58 +04:00 |
|