Commit Graph

507 Commits

Author SHA1 Message Date
Kirill Litvinov
a8dd99d092 Merge remote-tracking branch origin/main into fix-platform-fees 2023-12-12 14:08:01 +03:00
Steam Deck User
5576cc89b9 fix: change default bsc-mainnet rpc 2023-12-12 11:11:39 +04:00
Steam Deck User
e515998ba6 fix: change default bsc-mainnet rpc 2023-12-12 09:53:17 +04:00
Kirill Litvinov
b7351ab7ba fix platform fees 2023-12-11 19:18:23 +03: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
Kirill Litvinov
14313c98e8 added source header 2023-12-07 17:57:19 +03: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
Kirill Litvinov
6c770f41f0 fix: zod 2023-11-28 07:31:20 +05:00
Kirill Litvinov
5e932276e7 fix: types 2023-11-28 07:24:42 +05:00
Kirill Litvinov
87f9c738a5 fix: types 2023-11-28 07:16:21 +05:00
Kirill Litvinov
643a2c8469 fix: types 2023-11-28 06:47:32 +05:00
Kirill Litvinov
09a894e9ed swapInfo usd 2023-11-27 19:49:03 +05:00
Dmitry
d38d8bd715 OP-4758: fix generateSwapCallData (#214) 2023-11-27 15:56:34 +03:00
Dmitry
e5ec15a87a feat: governance improvements (#211) 2023-11-16 10:40:16 +03:00
Dmitry
093c57ccdc return governance schemas (#210) 2023-11-15 14:03:46 +03:00
Dmitry
186c29342b governance improvements (#209) 2023-11-15 13:13:41 +03:00
Mikhail Gladchenko
b5d6dd937b OP-4504 Fix Governance and Pools (#197) 2023-11-14 12:35:51 +03:00
lomonoshka
8fe0c4314c hotfix: support for ticker and address in generateSwapCalldata 2023-11-09 19:04:47 +04:00
lomonoshka
9175d9ad1d update weth curve registry addresses in config 2023-11-09 17:40:54 +04:00
Dmitry
a0d2df3cd5 Rename integrator to indexer (#207) 2023-11-09 10:56:32 +03:00
lomonoshka
ad40b10f78 fix exchangeToNativeDecimal function 2023-11-03 18:34:43 +04:00
lomonoshka
323b4e052d change curve registry address 2023-11-03 15:45:50 +04:00
lomonoshka
827b2d32cd fix passing ticker instead of token address 2023-11-03 14:59:04 +04:00
lomonoshka
b467888774 fix error with denormolized user wallet balance 2023-11-03 14:20:43 +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
Mikhail Gladchenko
e5d4f5a2b1 feature: updated version to 0.20.14-rc0 2023-11-01 15:08:34 +00: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
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
Kirill Litvinov
1fc201a626 fix: drip rpc 2023-10-25 13:48:43 +03:00
lomonoshka
bf14f141b0 merged with develop 2023-10-11 17:14:19 +04:00
lomonoshka
c23958ad6e Fixed ethers contracts version 2023-10-11 16:27:57 +04:00
Dmitry
ec81a62d65 OP-4534: Integrator pools (#188) 2023-10-11 10:34:55 +03:00
lomonoshka
20cf407de2 Minor review fixes 2023-10-10 19:26:28 +04:00
lomonoshka
9880459e3c Merged with main 2023-10-10 19:03:38 +04:00
Dmitry Leleko
4dd7245c78 Fix integrator service 2023-10-06 09:49:24 +02:00