Commit Graph

17 Commits

Author SHA1 Message Date
GroovieGermanikus 959818a7ce
inline services-mango-lib 2025-01-23 18:04:42 +01:00
galactus 78167c7bd4
Print errors that we encounter while quoting swap, and list missing accounts (#46) 2024-11-28 11:46:23 +01:00
galactus 05f6125440
Adding config to support config and using env variable for tests and … (#45)
* Adding config to support config and using env variable for tests and value from file for others

* avoid passing enable compression everywhere

* avoiding adding environment variable everywhere
2024-11-25 22:11:43 +00:00
Maximilian Schneider ddee5464cb
Token 2022 support (#40)
* enable invariant dex

* enabling invariant on eclipse

* fix invariant token 2022

* fix test blanance for token 2022

* able to use custom autobahn executor to test spl2022

* remove env variable for vendored autobahn binary

* update executor to support token2022

* make executor fully compatible with token2022

* cleanup

* format & lint

* disable CI incompatible tests on github actions

* fix broken test

---------

Co-authored-by: Godmode Galactus <godmodegalactus@gmail.com>
Co-authored-by: none00y <mich_smyk@wp.pl>
2024-11-06 22:42:23 +01:00
Michał Smykała 465a601600
Invariant integration (#30)
* add internal setup

* remove compression from getProgramAccounts

* add autobahn .so

* add working testnet

* update version to 0.29.0

* remove debug logs

* fix swap simulation

* fix dex

* use mainnet address

* add default tick and remove fee growth calculations

* add smaller tickmap
improve error handling
fix swap limits

* add find all tick indexes

* remove dbg logs

* update edge identifier

* remove unused imports

* improve error handling

* remove pool filtering

* add decimal as a package

* remove testnet fixture

* add token2022 support

* Revert "add autobahn .so"

This reverts commit 515d2ddc53.

* Revert "remove compression from getProgramAccounts"

This reverts commit ca7bf93787.
2024-11-06 16:43:49 +01:00
galactus fa5a08973f
Eclipse integration (#35)
* adding fixes to run autobahn on eclipse

* adding configuration files for eclipse

* add CONFIG_PATH build arg

* minor config changes and bugfixes

* increase acceptable slot lag, because eclipse is not so much active yet

---------

Co-authored-by: Riordan Panayides <riordan@panayid.es>
2024-11-06 13:57:40 +01:00
galactus 65a7a822bc
Changes to activate all raydium pools on production (#15)
* Changes to activate all raydium pools on production

* chaning quic client and repanicking on lags

* fixing prometheus server

* Removing CORs from prometheus server

* removing unwanted error message from prometheus

* Adding region dfw for dallas

* updating name in config file
2024-11-04 13:25:37 +01:00
galactus a4dc9f19fd
Migrating testing to lib svm (#28)
* Using libSVM for simulation

* Some more fixes for invalid mint authority

* avoiding disabled lst mints

* performance improvements, reduced log-levels

* adding a todo for token extention program
2024-10-25 17:02:05 +02:00
galactus 6324916be7
Fixing issue with exact out dumping (#26)
* Fixing issue with exact out dumping

* Updating programs and loading all program related accounts

* Making simulator prinln debug logs, fmt

* fixing warnings and adding missing cargo file
2024-10-21 17:37:09 +02:00
Maximilian Schneider b39e098107
document dex interface (#27)
* document dex interface

* document swap instruction
2024-10-17 19:38:26 +03:00
Maximilian Schneider dd34dbf658
update program id (#1)
* update program id

* re-export autobahn id

* Executor: fix log discriminant

---------

Co-authored-by: Serge Farny <serge.farny@gmail.com>
2024-10-02 09:05:08 +02:00
galactus 20fd5e70c2
Adding configuration to make number of accounts fetched by gma (#8) 2024-10-01 14:54:34 +02:00
Serge Farny 1bd6d1aa1a
Router: add a liquidity endpoint (#2)
Fetch total liquidity (in US $) of a token reachable through autobahn
2024-10-01 10:23:40 +02:00
galactus 520d6a74b3
Adding quic geyser source and making it work with all raydium pools (#5)
Adding quic geyser source and making it work with all raydium pools
2024-10-01 10:15:23 +02:00
Serge Farny 31b4f35d61
Router: move raydium 'frozen vault' check to quote (avoid double loading of the tokens accounts) (#4) 2024-09-30 14:50:54 +02:00
Serge Farny ba138ed4ea
Router: fix 'channel lagged by' for composite price feed (#3)
* Router: fix 'channel lagged by' for composite price feed

* Router: fix typo
2024-09-27 15:19:50 +02:00
Serge Farny ad94eca4bb Autobahn: initial public repository commit
Code imported from private repository with contribution from:

- Christian Kamm <mail@ckamm.de>
- Serge Farny <serge.farny@gmail.com>
- Microwavedcola1 <microwavedcola@gmail.com>
- Maximilian Schneider <mail@maximilianschneider.net>
- GroovieGermanikus <groovie@mango.markets>
- Godmode Galactus <godmodegalactus@gmail.com>
- Adrian Brzeziński <a.brzezinski94@gmail.com>
- Riordanp <riordan@panayid.es>
2024-09-25 20:12:39 +02:00