Top Tweets for #base_token
This is Rust code, specifically **benchmark or unit tests** for a token smart contract.
@base @jessepollak
1. First function: `base_token_unpause`
This test checks the **unpausing** functionality of a token.
- It creates a new token using `BaseTokenBenchSetup::create_token()`.
- The token is created with **PausableFeature::TRANSFER** enabled (meaning transfers can be paused).
- It then calls `token.unpause(admin, ...)` to remove the pause from the token.
**Purpose:** To verify that the token can be successfully unpaused.
---
2. Second function: `base_token_set_supply_cap`
This test checks setting a **maximum supply cap** on the token.
- It creates a token using `BaseTokenBenchSetup::create_token()`.
- Parameters include:
- `B256::repeat_byte(0x15)` — likely a test address or identifier.
- `U256::from(1_000u64)` — sets the maximum total supply to **1,000** tokens.
**Purpose:** To test that setting a supply cap (maximum total supply limit) works correctly.
Summary:
This code is part of a testing suite (likely benchmarks) for a **BaseToken** smart contract. It is probably related to blockchain projects such as **NEAR Protocol**, **Aurora**, or other EVM-compatible chains.
Key features being tested:
- **Pausable** — Ability to pause and unpause token transfers.
- **Supply Cap** — Limiting the maximum number of tokens that can ever exist.
These kinds of tests ensure the smart contract's core security and functionality work as expected.

GoldRush Update Pairs Stream: Real-Time Metrics for Tracked DEX Pairs
The Update Pairs Stream in GoldRush’s Streaming API (public beta, launched August 2025) provides continuous, sub-second updates on key metrics for existing DEX pairs, such as price, volume, market cap, and liquidity. It’s tailored for applications requiring ongoing monitoring, like portfolio trackers, alerting systems, or high-frequency trading (HFT) bots, without the need for constant polling. Unlike the New DEX Pairs Stream (for creations), this focuses on live changes to established pairs. Powered by @Covalent_HQ’s co-processor, it delivers enriched data with USD conversions and time-series deltas across supported chains. As of October 23, 2025, it’s free in beta, with potential schema tweaks and no credit charges yet.
Key Features
• Sub-Second Updates: Real-time pushes for metrics like price_usd and volume_usd, enabling reactive apps.
• Enriched Metrics: Includes time-based deltas (e.g., price changes over 5m/1h) and swap counts for trend analysis.
• Multi-Pair Tracking: Monitor multiple pairs in one subscription for efficient scaling.
• Verifiable Data: Built-in proofs for trustless use in AI agents or compliance tools.
• Use Cases: Portfolio exposure monitoring, trade signal triggers, or DeFi dashboards updating in real-time.
Supported Chains & DEXes
• BASE_MAINNET: UNISWAP_V2/V3/V4, VIRTUALS_V2, CLANKER.
• SOLANA_MAINNET: RAYDIUM_AMM/CPMM, PUMP_DOT_FUN, PUMP_FUN_AMM, MOONSHOT, RAYDIUM_LAUNCH_LAB, METEORA_DAMM/DLMM/DBC.
• ETH_MAINNET: UNISWAP_V2/V3/V4.
• BSC_MAINNET: PANCAKESWAP_V2/V3.
• SONIC_MAINNET: SHADOW_V2/V3.
Pairs must exist on these DEXes; track by providing addresses.
Parameters
Subscribe via GraphQL with these params:
• chain_name: Required enum (e.g., BASE_MAINNET) – Specifies the chain.
• pair_addresses: Required array<string> – List of pair addresses to track.
Response Fields
Each update is a JSON object with:
• chain_name: String – Chain identifier.
• pair_address: String – Pair contract address.
• timestamp: ISO string – Update time.
• price: Float – Token price.
• price_usd: Float – Price in USD.
• volume: Float – Trading volume.
• volume_usd: Float – Volume in USD.
• market_cap: Float – Derived market cap.
• liquidity: Float – Pair liquidity.
• base_token: Object – {contract_name, contract_address, contract_decimals, contract_ticker_symbol}.
• quote_token: Object – Same as base_token.
• price_deltas: Object – {last_5m, last_1hr, last_6hr, last_24hr} as floats (percentage changes).
• swap_counts: Object – {last_5m, last_1hr, last_6hr, last_24hr} as integers.
Authentication
Free GoldRush API key required (format: cqt_[wF/rQ][26 base58 chars]) from https://t.co/IQDVtXqYIQ. Pass in WebSocket connection_init as GOLDRUSH_API_KEY or Authorization. Errors for invalid keys include MISSING_TOKEN or INVALID_TOKEN.
Practical Use Cases
• Portfolio Monitoring: Track liquidity changes in real-time to alert on exposure risks.
• Trading Signals: Use price_deltas and swap_counts to trigger buys/sells in bots.
• DeFi Analytics: Integrate with SpeedRun agents for automated yield hopping based on volume spikes.
• SpeedRun Prompt: “Build an agent that monitors Uniswap pairs for 10%+ 1hr price deltas and alerts via notifications.”
Recent Context (October 2025)
• Adoption Growth: Part of the August 2025 rollout, now powering 37k+ bots for DEX metrics.
• Community Feedback: Devs on X praise it for HFT edges, with @covalent_HQ teasing more chains soon.
Limitations
• Beta: Schema/behavior may change; limited to listed chains/DEXes.
• No historical backfill in stream—use Unified API for that.
• Post-beta: Expect credit-based pricing.
This stream complements OHLCV for granular pair insights. gSpeed🚀
![anikoweb3's tweet photo. GoldRush Update Pairs Stream: Real-Time Metrics for Tracked DEX Pairs
The Update Pairs Stream in GoldRush’s Streaming API (public beta, launched August 2025) provides continuous, sub-second updates on key metrics for existing DEX pairs, such as price, volume, market cap, and liquidity. It’s tailored for applications requiring ongoing monitoring, like portfolio trackers, alerting systems, or high-frequency trading (HFT) bots, without the need for constant polling. Unlike the New DEX Pairs Stream (for creations), this focuses on live changes to established pairs. Powered by @Covalent_HQ’s co-processor, it delivers enriched data with USD conversions and time-series deltas across supported chains. As of October 23, 2025, it’s free in beta, with potential schema tweaks and no credit charges yet.
Key Features
• Sub-Second Updates: Real-time pushes for metrics like price_usd and volume_usd, enabling reactive apps.
• Enriched Metrics: Includes time-based deltas (e.g., price changes over 5m/1h) and swap counts for trend analysis.
• Multi-Pair Tracking: Monitor multiple pairs in one subscription for efficient scaling.
• Verifiable Data: Built-in proofs for trustless use in AI agents or compliance tools.
• Use Cases: Portfolio exposure monitoring, trade signal triggers, or DeFi dashboards updating in real-time.
Supported Chains & DEXes
• BASE_MAINNET: UNISWAP_V2/V3/V4, VIRTUALS_V2, CLANKER.
• SOLANA_MAINNET: RAYDIUM_AMM/CPMM, PUMP_DOT_FUN, PUMP_FUN_AMM, MOONSHOT, RAYDIUM_LAUNCH_LAB, METEORA_DAMM/DLMM/DBC.
• ETH_MAINNET: UNISWAP_V2/V3/V4.
• BSC_MAINNET: PANCAKESWAP_V2/V3.
• SONIC_MAINNET: SHADOW_V2/V3.
Pairs must exist on these DEXes; track by providing addresses.
Parameters
Subscribe via GraphQL with these params:
• chain_name: Required enum (e.g., BASE_MAINNET) – Specifies the chain.
• pair_addresses: Required array<string> – List of pair addresses to track.
Response Fields
Each update is a JSON object with:
• chain_name: String – Chain identifier.
• pair_address: String – Pair contract address.
• timestamp: ISO string – Update time.
• price: Float – Token price.
• price_usd: Float – Price in USD.
• volume: Float – Trading volume.
• volume_usd: Float – Volume in USD.
• market_cap: Float – Derived market cap.
• liquidity: Float – Pair liquidity.
• base_token: Object – {contract_name, contract_address, contract_decimals, contract_ticker_symbol}.
• quote_token: Object – Same as base_token.
• price_deltas: Object – {last_5m, last_1hr, last_6hr, last_24hr} as floats (percentage changes).
• swap_counts: Object – {last_5m, last_1hr, last_6hr, last_24hr} as integers.
Authentication
Free GoldRush API key required (format: cqt_[wF/rQ][26 base58 chars]) from https://t.co/IQDVtXqYIQ. Pass in WebSocket connection_init as GOLDRUSH_API_KEY or Authorization. Errors for invalid keys include MISSING_TOKEN or INVALID_TOKEN.
Practical Use Cases
• Portfolio Monitoring: Track liquidity changes in real-time to alert on exposure risks.
• Trading Signals: Use price_deltas and swap_counts to trigger buys/sells in bots.
• DeFi Analytics: Integrate with SpeedRun agents for automated yield hopping based on volume spikes.
• SpeedRun Prompt: “Build an agent that monitors Uniswap pairs for 10%+ 1hr price deltas and alerts via notifications.”
Recent Context (October 2025)
• Adoption Growth: Part of the August 2025 rollout, now powering 37k+ bots for DEX metrics.
• Community Feedback: Devs on X praise it for HFT edges, with @covalent_HQ teasing more chains soon.
Limitations
• Beta: Schema/behavior may change; limited to listed chains/DEXes.
• No historical backfill in stream—use Unified API for that.
• Post-beta: Expect credit-based pricing.
This stream complements OHLCV for granular pair insights. gSpeed🚀](https://pbs.twimg.com/media/G38iL04WIAEoxVg.jpg)
GoldRush New DEX Pairs Stream: Real-Time Pair Creation Alerts
The New DEX Pairs Stream in GoldRush’s Streaming API (public beta, Q2 2025) delivers sub-second notifications for new liquidity pool creations and initial liquidity additions across decentralized exchanges (DEXes) on supported blockchains. Designed for trading bots, snipers, and analytics apps, it enables developers to act on fresh pairs before they hit mainstream trackers like Dexscreener (often ~36 seconds earlier). Powered by @Covalent_HQ’s Ultra-Fast Data Co-Processor, it streams enriched, verifiable data via GraphQL WebSocket subscriptions, with no polling required.
Key Features
• Sub-Second Latency: Detects pair creation or liquidity adds in milliseconds, ideal for sniping new tokens or monitoring market activity.
• Enriched Data: Includes pair addresses, token metadata, initial liquidity, USD prices, market cap, volume, and time-series metrics (e.g.,price changes over 5m/1h/6h/24h).
• Verifiable Outputs: Cryptographic proofs ensure data integrity, critical for trustless AI agents or trading bots.
• Filterable: Configure by chain, DEX protocols, or specific pairs for targeted streams.
• Use Cases: Sniper bots for new meme coins, liquidity tracking for portfolio apps, or AI agents analyzing pair launches for trends.
Supported Chains and DEXes
The stream covers major chains and their top DEXes, focusing on high-activity platforms:
• BASE_MAINNET: UNISWAP_V2, UNISWAP_V3, UNISWAP_V4, VIRTUALS_V2, CLANKER.
• SOLANA_MAINNET: RAYDIUM_AMM, RAYDIUM_CPMM, PUMP_DOT_FUN, PUMP_FUN_AMM, MOONSHOT, RAYDIUM_LAUNCH_LAB, METEORA_DAMM, METEORA_DLMM, METEORA_DBC.
• ETH_MAINNET: UNISWAP_V2, UNISWAP_V3, UNISWAP_V4.
• BSC_MAINNET: PANCAKESWAP_V2, PANCAKESWAP_V3.
• SONIC_MAINNET: SHADOW_V2, SHADOW_V3.
Stream Details and Parameters
• Endpoint: Accessed via wss://gr-staging-v2.streaming.covalenthq.com/graphql with GraphQL subscription newPairs.
• Parameters:
• chain_name: Required, enum (e.g., BASE_MAINNET, SOLANA_MAINNET).
• protocols: Optional, array of supported DEXes (e.g.,["UNISWAP_V3", "RAYDIUM_AMM"]). Defaults to all supported protocols on the chain.
• Response Fields:
• chain_name: String, e.g., BASE_MAINNET.
• protocol: String, e.g., UNISWAP_V3.
• pair_address: String, new pair’s contract address.
• tx_hash: String, transaction creating the pair or adding liquidity.
• block_signed_at: ISO timestamp of block inclusion.
• liquidity: Float, initial liquidity amount.
• market_cap: Float, derived market cap.
• base_token/quote_token: Objects with contract_name, contract_address, contract_decimals, contract_ticker_symbol.
• prices: Array of time-series price data (5m/1h/6h/24h).
• swaps: Array of initial swap events.
• volume: Float, trading volume.
• volume_usd: Float, volume in USD.
• quote_rate_usd: Float, pair’s USD price.
Authentication
• Requires a free GoldRush API key (cqt_[wF/rQ][26 base58 chars]) from https://t.co/IQDVtXqYIQ.
• Pass in WebSocket connection_init payload as GOLDRUSH_API_KEY or Authorization header.
• Errors like MISSING_TOKEN or INVALID_TOKEN trigger if key is invalid; connection_ack sent regardless.
Practical Use Cases
• Sniper Bots: Detect a new Solana PUMP_DOT_FUN pair, check liquidity (> $10,000), and execute a trade via a SpeedRun agent before price pumps.
• Market Analytics: Track pair creation rates on Base to gauge meme coin trends, feeding data to AI for sentiment analysis.
• Portfolio Apps: Alert users to new pairs involving their held tokens, using base_token/quote_token metadata for personalized UX.
• SpeedRun Integration: Prompt: “Build a bot that alerts on new Uniswap V3 pairs with >$50k liquidity.” Deploy via SpeedRun, earning XP for user interactions.
Limitations
• Beta phase: Expect potential schema tweaks or downtime.
• Chain/DEX scope limited to listed protocols; no centralized exchange data.
• Post-beta pricing TBD—plan for credit-based costs.
![anikoweb3's tweet photo. GoldRush New DEX Pairs Stream: Real-Time Pair Creation Alerts
The New DEX Pairs Stream in GoldRush’s Streaming API (public beta, Q2 2025) delivers sub-second notifications for new liquidity pool creations and initial liquidity additions across decentralized exchanges (DEXes) on supported blockchains. Designed for trading bots, snipers, and analytics apps, it enables developers to act on fresh pairs before they hit mainstream trackers like Dexscreener (often ~36 seconds earlier). Powered by @Covalent_HQ’s Ultra-Fast Data Co-Processor, it streams enriched, verifiable data via GraphQL WebSocket subscriptions, with no polling required.
Key Features
• Sub-Second Latency: Detects pair creation or liquidity adds in milliseconds, ideal for sniping new tokens or monitoring market activity.
• Enriched Data: Includes pair addresses, token metadata, initial liquidity, USD prices, market cap, volume, and time-series metrics (e.g.,price changes over 5m/1h/6h/24h).
• Verifiable Outputs: Cryptographic proofs ensure data integrity, critical for trustless AI agents or trading bots.
• Filterable: Configure by chain, DEX protocols, or specific pairs for targeted streams.
• Use Cases: Sniper bots for new meme coins, liquidity tracking for portfolio apps, or AI agents analyzing pair launches for trends.
Supported Chains and DEXes
The stream covers major chains and their top DEXes, focusing on high-activity platforms:
• BASE_MAINNET: UNISWAP_V2, UNISWAP_V3, UNISWAP_V4, VIRTUALS_V2, CLANKER.
• SOLANA_MAINNET: RAYDIUM_AMM, RAYDIUM_CPMM, PUMP_DOT_FUN, PUMP_FUN_AMM, MOONSHOT, RAYDIUM_LAUNCH_LAB, METEORA_DAMM, METEORA_DLMM, METEORA_DBC.
• ETH_MAINNET: UNISWAP_V2, UNISWAP_V3, UNISWAP_V4.
• BSC_MAINNET: PANCAKESWAP_V2, PANCAKESWAP_V3.
• SONIC_MAINNET: SHADOW_V2, SHADOW_V3.
Stream Details and Parameters
• Endpoint: Accessed via wss://gr-staging-v2.streaming.covalenthq.com/graphql with GraphQL subscription newPairs.
• Parameters:
• chain_name: Required, enum (e.g., BASE_MAINNET, SOLANA_MAINNET).
• protocols: Optional, array of supported DEXes (e.g.,["UNISWAP_V3", "RAYDIUM_AMM"]). Defaults to all supported protocols on the chain.
• Response Fields:
• chain_name: String, e.g., BASE_MAINNET.
• protocol: String, e.g., UNISWAP_V3.
• pair_address: String, new pair’s contract address.
• tx_hash: String, transaction creating the pair or adding liquidity.
• block_signed_at: ISO timestamp of block inclusion.
• liquidity: Float, initial liquidity amount.
• market_cap: Float, derived market cap.
• base_token/quote_token: Objects with contract_name, contract_address, contract_decimals, contract_ticker_symbol.
• prices: Array of time-series price data (5m/1h/6h/24h).
• swaps: Array of initial swap events.
• volume: Float, trading volume.
• volume_usd: Float, volume in USD.
• quote_rate_usd: Float, pair’s USD price.
Authentication
• Requires a free GoldRush API key (cqt_[wF/rQ][26 base58 chars]) from https://t.co/IQDVtXqYIQ.
• Pass in WebSocket connection_init payload as GOLDRUSH_API_KEY or Authorization header.
• Errors like MISSING_TOKEN or INVALID_TOKEN trigger if key is invalid; connection_ack sent regardless.
Practical Use Cases
• Sniper Bots: Detect a new Solana PUMP_DOT_FUN pair, check liquidity (> $10,000), and execute a trade via a SpeedRun agent before price pumps.
• Market Analytics: Track pair creation rates on Base to gauge meme coin trends, feeding data to AI for sentiment analysis.
• Portfolio Apps: Alert users to new pairs involving their held tokens, using base_token/quote_token metadata for personalized UX.
• SpeedRun Integration: Prompt: “Build a bot that alerts on new Uniswap V3 pairs with >$50k liquidity.” Deploy via SpeedRun, earning XP for user interactions.
Limitations
• Beta phase: Expect potential schema tweaks or downtime.
• Chain/DEX scope limited to listed protocols; no centralized exchange data.
• Post-beta pricing TBD—plan for credit-based costs.](https://pbs.twimg.com/media/G332cKOXEAAQDTg.jpg)
Last Seen Hashtags on Sotwe
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.2M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers

