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 |
|
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 |
|
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
|
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 |
|
lomonoshka
|
43e0fa0abe
|
fix build
|
2023-10-30 20:10:50 +04:00 |
|
lomonoshka
|
31efda9969
|
Return exchange precision in swapDescription
|
2023-10-30 20:07:06 +04:00 |
|
lomonoshka
|
cdc3a78eb9
|
Change final transfer location. Add wrap/unwrap functionality
|
2023-10-30 19:54:47 +04:00 |
|
lomonoshka
|
92d7e2028e
|
export generateCalldata function without unit param
|
2023-10-27 15:41:22 +04:00 |
|
lomonoshka
|
9880459e3c
|
Merged with main
|
2023-10-10 19:03:38 +04:00 |
|
Alex Kraiz
|
902b5f3994
|
consistent imports
|
2023-10-03 16:54:40 +04:00 |
|
Mikhail Gladchenko
|
b18a2fa2ef
|
Merge remote-tracking branch 'origin/main' into feat/ethers-v6
# Conflicts:
# package-lock.json
# package.json
|
2023-10-02 15:46:31 +01:00 |
|
Kirill Litvinov
|
bff9be6d83
|
remove console log
|
2023-10-02 16:57:10 +03:00 |
|
Kirill Litvinov
|
b73bbd8f31
|
test
|
2023-10-02 15:13:29 +03:00 |
|
Kirill Litvinov
|
6cd0995d26
|
fix address
|
2023-10-02 15:02:18 +03:00 |
|
Kirill Litvinov
|
b2344549eb
|
fix: lowercase
|
2023-10-02 14:48:35 +03:00 |
|
Kirill Litvinov
|
4f2c1a5c06
|
fix lowercase
|
2023-10-02 14:39:08 +03:00 |
|
Kirill Litvinov
|
1a2f1d7940
|
update
|
2023-10-02 14:21:43 +03:00 |
|
Kirill Litvinov
|
3d1a23ab7b
|
fix
|
2023-10-02 14:21:21 +03:00 |
|
Kirill Litvinov
|
6002899ef8
|
test
|
2023-10-02 14:03:06 +03:00 |
|
Kirill Litvinov
|
91c6342813
|
swap by address fix
|
2023-10-02 13:35:15 +03:00 |
|
lomonoshka
|
21015e9219
|
Added factory schema
|
2023-09-28 19:48:12 +04:00 |
|
lomonoshka
|
1134865abf
|
Renamed type SwapInfo to SingleSwap
|
2023-09-28 18:35:59 +04:00 |
|
Oleg Nechiporenko
|
c2a4084158
|
feat: update ethers@6
fix: bigint errors
fix: TS errors
fix: gasLimit fetch
fix: review comments
fix: contracts errors
chore: bump rc version
fix: revert wrong fix
fix: ts config
fix: ts config
fix: ts config
feat: update signer
|
2023-09-28 11:43:27 +02:00 |
|
lomonoshka
|
7d1177d01c
|
Added cross dex swap support
|
2023-09-27 16:55:08 +04:00 |
|
TheJuze
|
c40cc93b94
|
remove comments and logs
|
2023-09-27 14:05:20 +03:00 |
|