* 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
14 lines
317 B
Rust
14 lines
317 B
Rust
use serde::Deserialize;
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct DeploymentConfig {
|
|
#[serde(with = "hex::serde")]
|
|
pub core: Vec<u8>,
|
|
#[serde(with = "hex::serde")]
|
|
pub oracle: Vec<u8>,
|
|
#[serde(with = "hex::serde")]
|
|
pub twamm: Vec<u8>,
|
|
#[serde(with = "hex::serde")]
|
|
pub mev_resist: Vec<u8>,
|
|
}
|