Ekubo TWAMM & MEV-resist integration (#192)
* Add Ekubo TWAMM support * Change order of words * Account TWAMM order balances * Fix tracking wrong component balance deltas Swapped and PositionUpdated are the only events affecting pool TVL * Fix fee addition Fees are a .64 instead of a .128 since v2 & the result is rounded * Consistent naming * cargo fmt * Add method for selecting store method from change type * Only store the affected sale rate delta on OrderUpdated events * Remove unnecessary parameterization * Index Ekubo MEV-resist pools * cargo clippy
This commit is contained in:
3
substreams/Cargo.lock
generated
3
substreams/Cargo.lock
generated
@@ -299,7 +299,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ethereum-ekubo-v2"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ethabi 18.0.0",
|
||||
@@ -312,6 +312,7 @@ dependencies = [
|
||||
"substreams",
|
||||
"substreams-ethereum",
|
||||
"substreams-helper 0.0.2 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=e4609be)",
|
||||
"tiny-keccak",
|
||||
"tycho-substreams 0.2.0 (git+https://github.com/propeller-heads/tycho-protocol-sdk.git?rev=3c08359)",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user