Skip to content

Releases

1.13.0: hands-free voice and voice in every browser

Choose a tag to compare

@privoexchange privoexchange released this 28 Nov 23:22

Hands-free voice and voice in every browser

PRIVO AI's voice trading gets two upgrades.

  • Hands-free: while switched on in the AI tab, the browser's speech recognition keeps listening and acts only after the wake word. Say "PRIVO, buy 20 dollars of Tesla", or "hey PRIVO" and then the order. Everything else is ignored. It is off by default, shows a red dot while listening, pauses while PRIVO speaks and turns off when you leave the tab.
  • Every browser: Firefox and Safari have no built-in speech recognition. There the mic records up to 15 seconds, the browser turns it into a small 16 kHz mono WAV, and a speech model turns it into text. The audio is not stored.
  • New in src/privo-voice-core.js: wakeSplit, downsample, encodeWav, wavSeconds and cleanTranscript.

Spoken words go through the same parser and checks as typed text. PRIVO AI only fills tickets; the trader reviews and signs every trade.

1.12.0: spot opens any token by its contract address

Choose a tag to compare

@privoexchange privoexchange released this 28 Nov 21:24

Spot opens any token by its contract address

Paste a token's contract address in PRIVO's market search (or open privoexchange.com/app/trade/0x...) and its name, price and chart load, even when PRIVO does not list it.

  • addToken({ address, symbol, name, decimals }) registers the token, with name, symbol and decimals read from the token contract itself.
  • It quotes and trades on every standard Uniswap route (v3 at every fee tier, v3 through WETH, v4 without hooks, v4 against native ETH without hooks) and on its Pons launch pool, found from the address alone (v4 against native ETH, fee 0, tick spacing 200, the Pons hook). The route that pays the trader most fills, with the same 0.15% PRIVO fee.
  • tokenMarket(address) in privo-feed returns the token's deepest GeckoTerminal pool for price and chart.
  • PRIVO has not checked unlisted tokens. A token can block selling or tax each transfer, so the app shows a warning and keeps Buy and Sell locked until the trader confirms the contract address. Limit, TWAP and baskets stay closed to them.
  • test/sim/routes-test.mjs executes buys and sells of two pasted tokens on mainnet state: INDEX on Uniswap and SCRPT on its Pons pool.

1.11.0: spot compares every route

Choose a tag to compare

@privoexchange privoexchange released this 28 Nov 17:01

Spot compares every route

Every spot quote now checks the market's listed pools plus every standard Uniswap route for the exact amount, and the trade fills on the one that pays the trader most:

  • v3 USDG pools at every fee tier (0.01%, 0.05%, 0.30%, 1%)
  • v3 routes through WETH (USDG/WETH at 0.01% or 0.05%, then every tier)
  • v4 USDG pools without hooks at the common fee and tick-spacing pairs
  • for crypto tokens, v4 pools against native ETH without hooks

Only canonical Uniswap pools and v4 pools without hooks are added, so no added route runs hook code that has not been reviewed. The 0.15% PRIVO fee and the trader's slippage limit are the same on every route.

In this release

  • src/privo-swap.js: quote() returns all (every route with what it pays) and checked. New exports: routesOf(sym) and venueLabel(pool). Quotes go through Multicall3 three at a time, retried route by route if a group fails.
  • src/privo-burn.js: the fee Safe buyback still quotes only $PRIVO's listed pool (every: false), so a second owner can rebuild the batch byte for byte.
  • test/sim/routes-test.mjs (new): forces every route a quote finds, in turn, and executes it on mainnet state with eth_call; a quote 2% above what an added route pays must revert.
  • test/sim/basket-sell-test.mjs: both simulations run on the same block.

On privoexchange.com, the Spot ticket lists every route with what it pays and how far it is from the one used.

1.10.0: $PRIVO buyback & burn

Choose a tag to compare

@privoexchange privoexchange released this 28 Nov 16:18

$PRIVO buyback & burn

Fees paid to the PRIVO fee Safe (0xCc051cf47547386bA147FDDfcBCFE00E791C1418, 2 of 3) are used to buy back $PRIVO and send it to the burn address 0x000000000000000000000000000000000000dEaD. The policy covers all of them: spot swaps, the Block desk, limit and TWAP fills and PRIVO AI Pro.

A buyback is one Safe transaction through MultiSendCallOnly 1.4.1, and it either completes in full or does nothing:

  1. The Safe's USDG goes to the Uniswap Universal Router.
  2. The router buys $PRIVO on its Pons pool through ETH, with no PRIVO fee, and sends it straight to the burn address. If the output is below the minimum, the whole transaction reverts.
  3. Any $PRIVO the Safe already holds goes to the burn address in the same batch.

No approval is left behind and nothing returns to the Safe.

In this release

  • src/privo-burn.js (new, exported as privoperps/burn): builds the batch, decodes it, and rebuilds it from its parameters so a second owner can check it byte for byte before signing.
  • src/privo-swap.js: quote(..., { fee: false }) and buyToRoute(), a buy that sweeps to any recipient with a minimum and a deadline.
  • test/sim/burn-test.mjs: simulates a 2-of-3 Safe buyback on mainnet state with eth_simulateV1, follows every token to the burn address, and checks that a minimum set too high reverts.
  • test/sim/feed-test.mjs: pool prices survive a rate-limited GeckoTerminal batch (from 1.9.3).

Public totals

Fees received and every buyback are read from chain and shown at https://privoexchange.com/token and GET https://privoexchange.com/api/v1/burn.

Tests send no transactions. Run them with node test/sim/burn-test.mjs.