DeFi

TWAP (Time-Weighted Average Price)

Time-Weighted Average Price—an average price calculated over a specific time period, weighting each price equally by time. TWAP oracles reduce manipulation risk vs. spot prices. Some DEXs (e.g., Jupiter) offer TWAP execution that splits large orders over time. Pyth provides EMA (exponential moving average) prices as a similar anti-manipulation measure.

IDtwapAliasTWAP

Leitura rápida

Comece pela explicação mais curta e útil antes de aprofundar.

Time-Weighted Average Price—an average price calculated over a specific time period, weighting each price equally by time. TWAP oracles reduce manipulation risk vs. spot prices. Some DEXs (e.g., Jupiter) offer TWAP execution that splits large orders over time. Pyth provides EMA (exponential moving average) prices as a similar anti-manipulation measure.

Modelo mental

Use primeiro a analogia curta para raciocinar melhor sobre o termo quando ele aparecer em código, docs ou prompts.

Pense nisso como uma mecânica de mercado usada para precificar, rotear ou mover capital em apps de liquidez.

Contexto técnico

Coloque o termo dentro da camada de Solana em que ele vive para raciocinar melhor sobre ele.

AMMs, roteamento, liquidez, empréstimos e infraestrutura de trading.

Por que builders ligam para isso

Transforme o termo de vocabulário em algo operacional para produto e engenharia.

Este termo destrava conceitos adjacentes rapidamente, então funciona melhor quando você o trata como um ponto de conexão, não como definição isolada.

Handoff para IA

Handoff para IA

Use este bloco compacto quando quiser dar contexto aterrado para um agente ou assistente sem despejar a página inteira.

TWAP (Time-Weighted Average Price) (twap)
Categoria: DeFi
Definição: Time-Weighted Average Price—an average price calculated over a specific time period, weighting each price equally by time. TWAP oracles reduce manipulation risk vs. spot prices. Some DEXs (e.g., Jupiter) offer TWAP execution that splits large orders over time. Pyth provides EMA (exponential moving average) prices as a similar anti-manipulation measure.
Aliases: TWAP
Relacionados: Oráculo, Feed de Preços
Glossary Copilot

Faça perguntas de Solana com contexto aterrado sem sair do glossário.

Use contexto do glossário, relações entre termos, modelos mentais e builder paths para receber respostas estruturadas em vez de output genérico.

Explicar este código

Opcional: cole código Anchor, Solana ou Rust para o Copilot mapear primitivas de volta para termos do glossário.

Faça uma pergunta aterrada no glossário

Faça uma pergunta aterrada no glossário

O Copilot vai responder usando o termo atual, conceitos relacionados, modelos mentais e o grafo ao redor do glossário.

Grafo conceitual

Veja o termo como parte de uma rede, não como uma definição sem saída.

Esses ramos mostram quais conceitos esse termo toca diretamente e o que existe uma camada além deles.

Ramo

Oráculo

A service that provides external data (prices, randomness) to on-chain programs. DeFi protocols rely on oracles for accurate price feeds to calculate collateral ratios, liquidation thresholds, and swap rates. Solana's primary oracles are Pyth (high-frequency price feeds) and Switchboard (general-purpose data feeds and VRF).

Ramo

Feed de Preços

An on-chain account maintained by an oracle (Pyth or Switchboard) containing the current price, confidence interval, and timestamp for an asset pair (e.g., SOL/USD). DeFi programs read price feeds to calculate collateral values, trigger liquidations, and determine swap rates. Feed staleness must be checked to prevent using outdated prices.

Próximos conceitos para explorar

Continue a cadeia de aprendizado em vez de parar em uma única definição.

Estes são os próximos conceitos que valem abrir se você quiser que este termo faça mais sentido dentro de um workflow real de Solana.

DeFi

Oráculo

A service that provides external data (prices, randomness) to on-chain programs. DeFi protocols rely on oracles for accurate price feeds to calculate collateral ratios, liquidation thresholds, and swap rates. Solana's primary oracles are Pyth (high-frequency price feeds) and Switchboard (general-purpose data feeds and VRF).

DeFi

Feed de Preços

An on-chain account maintained by an oracle (Pyth or Switchboard) containing the current price, confidence interval, and timestamp for an asset pair (e.g., SOL/USD). DeFi programs read price feeds to calculate collateral values, trigger liquidations, and determine swap rates. Feed staleness must be checked to prevent using outdated prices.

DeFi

USDC (Native Solana)

Circle-issued USDC minted directly on Solana through the SPL Token program, as opposed to bridged USDC from other chains. Native USDC (mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) is the most widely used stablecoin on Solana with deep DeFi integration. Circle maintains freeze authority over the mint for regulatory compliance and supports CCTP for native cross-chain transfers.

DeFi

Transfer Restrictions

Legal and technical constraints limiting who can hold a regulated token, enforced on every transfer. Prohibit transfers to non-KYC'd, sanctioned, or non-eligible addresses. On Solana, implemented via Token-2022's transfer hook executing compliance checks per transfer.

Comumente confundido com

Termos próximos em vocabulário, sigla ou vizinhança conceitual.

Essas entradas são fáceis de misturar quando você lê rápido, faz prompting em um LLM ou está entrando em uma nova camada de Solana.

DeFiema-price

EMA Price (Oracle)

The exponential moving average price published by Pyth alongside the spot price for each feed. EMA price smooths out short-term price spikes and is more resistant to manipulation than the instantaneous price. Lending protocols often use EMA prices for liquidation calculations to prevent unnecessary liquidations from brief price wicks. The EMA window is typically configured for several minutes of price history.

AliasExponential Moving Average Price
DeFiindex-price

Index Price

The reference spot price sourced from oracle feeds (Pyth, Switchboard) used as the benchmark in derivatives trading. Index price represents the aggregate market price across major exchanges and is used to calculate funding rates and as a component of mark price. Accurate index prices are critical for fair liquidation and funding rate calculations in perps protocols.

DeFimark-price

Mark Price

The fair value price used by perpetual contract platforms to calculate unrealized PnL and trigger liquidations. Mark price is typically derived from a combination of the oracle index price and the order book or AMM mid-price, weighted to resist manipulation. Using mark price instead of last traded price prevents liquidation hunting through short-lived price spikes on thin markets.

Termos relacionados

Siga os conceitos que realmente dão contexto a este termo.

Entradas de glossário só ficam úteis quando estão conectadas. Esses links são o caminho mais curto para ideias adjacentes.

DeFioracle

Oráculo

A service that provides external data (prices, randomness) to on-chain programs. DeFi protocols rely on oracles for accurate price feeds to calculate collateral ratios, liquidation thresholds, and swap rates. Solana's primary oracles are Pyth (high-frequency price feeds) and Switchboard (general-purpose data feeds and VRF).

DeFiprice-feed

Feed de Preços

An on-chain account maintained by an oracle (Pyth or Switchboard) containing the current price, confidence interval, and timestamp for an asset pair (e.g., SOL/USD). DeFi programs read price feeds to calculate collateral values, trigger liquidations, and determine swap rates. Feed staleness must be checked to prevent using outdated prices.

Mais na categoria

Permaneça na mesma camada e continue construindo contexto.

Essas entradas vivem ao lado do termo atual e ajudam a página a parecer parte de um grafo maior, não um beco sem saída.

DeFi

AMM (Formador de Mercado Automatizado)

A protocol that enables token swaps using algorithmic pricing against pooled liquidity instead of matching individual buyers and sellers. AMMs use mathematical formulas (typically constant product x*y=k) to determine prices based on the ratio of tokens in a liquidity pool. On Solana, major AMMs include Raydium, Orca, and Meteora.

DeFi

CLMM (Concentrated Liquidity Market Maker)

An AMM design where liquidity providers concentrate their capital within specific price ranges instead of across the full 0-to-infinity range. CLMMs dramatically improve capital efficiency—LPs earn more fees per dollar deposited within their active range. If the price moves outside the range, the position becomes inactive. Orca Whirlpools and Raydium CLMM are leading implementations on Solana.

DeFi

Pool de Liquidez

A smart-contract-held reserve of two or more tokens that enables trading via an AMM. Users deposit token pairs in specified ratios to become liquidity providers and earn trading fees. Pools are identified by their token pair and fee tier. Pool depth (total value locked) determines price impact for trades.

DeFi

LP Token

A token issued to liquidity providers representing their proportional share of a pool's reserves and accrued fees. LP tokens can be burned to withdraw the underlying assets. The value of LP tokens changes as the pool's token ratios shift and fees accumulate. LP tokens are often stakeable in yield farming programs for additional rewards.