Adaptive Solutions for DeFi: Leveraging T2EMA’s Dynamic Oracle Protection

Decentralized Exchanges (DEXs) are vital to the crypto ecosystem, especially in Decentralized Finance (DeFi), offering autonomy, privacy, and yield opportunities. With nearly 1 million users and billions in trading volume, they remain vulnerable to price oracle manipulation, with 41 attacks reported by Chainalysis in 2022. This paper presents T2EMA, a protocol combining Trimmed Mean (TM) and Exponential Moving Average (EMA) for price calculation. T2EMA detects outliers that signal manipulation and adjusts its smoothing factor to counter attacks. It can be easily integrated into on-chain and off-chain oracles. By reducing price fluctuations, T2EMA improves the security and reliability of DEXs, addressing vulnerabilities with a more resilient price aggregation method.

Institutions

Publication Details

Published
2025-06-02
DOI
https://doi.org/10.1109/icbc64466.2025.11114707
Primary Topic
Malaria Research and Control
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Solutions for DeFi: Leveraging T2EMA’s Dynamic Oracle Protection

Malaria Research and Control
article

Adaptive Solutions for DeFi: Leveraging T2EMA’s Dynamic Oracle Protection

article en

Abstract

Decentralized Exchanges (DEXs) are vital to the crypto ecosystem, especially in Decentralized Finance (DeFi), offering autonomy, privacy, and yield opportunities. With nearly 1 million users and billions in trading volume, they remain vulnerable to price oracle manipulation, with 41 attacks reported by Chainalysis in 2022. This paper presents T2EMA, a protocol combining Trimmed Mean (TM) and Exponential Moving Average (EMA) for price calculation. T2EMA detects outliers that signal manipulation and adjusts its smoothing factor to counter attacks. It can be easily integrated into on-chain and off-chain oracles. By reducing price fluctuations, T2EMA improves the security and reliability of DEXs, addressing vulnerabilities with a more resilient price aggregation method.

Florida International University (US)
Openalex Percentile: Top 36%
Malaria Research and Control
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.