feat/ponder-lm-indexing (#142)

This commit is contained in:
johba 2026-02-18 00:19:05 +01:00
parent de3c8eef94
commit 31063379a8
107 changed files with 12517 additions and 367 deletions

View file

@ -18,10 +18,23 @@ export const KRAIKEN_ABI = KraikenForgeOutput.abi;
*/
export const STAKE_ABI = StakeForgeOutput.abi;
/**
* LiquidityManager events-only ABI
* Tracks recenters, ETH reserve, and VWAP data
*/
export const LiquidityManagerAbi = [
{"type":"event","name":"EthAbundance","inputs":[{"name":"currentTick","type":"int24","indexed":false},{"name":"ethBalance","type":"uint256","indexed":false},{"name":"outstandingSupply","type":"uint256","indexed":false},{"name":"vwap","type":"uint256","indexed":false},{"name":"vwapTick","type":"int24","indexed":false}],"anonymous":false},
{"type":"event","name":"EthScarcity","inputs":[{"name":"currentTick","type":"int24","indexed":false},{"name":"ethBalance","type":"uint256","indexed":false},{"name":"outstandingSupply","type":"uint256","indexed":false},{"name":"vwap","type":"uint256","indexed":false},{"name":"vwapTick","type":"int24","indexed":false}],"anonymous":false},
{"type":"event","name":"Recentered","inputs":[{"name":"currentTick","type":"int24","indexed":true},{"name":"isUp","type":"bool","indexed":true}],"anonymous":false}
] as const;
export const LM_ABI = LiquidityManagerAbi;
// Re-export for convenience
export const ABIS = {
Kraiken: KRAIKEN_ABI,
Stake: STAKE_ABI,
LiquidityManager: LM_ABI,
} as const;
// Backward-compatible aliases