Ethervista combines token swaps with USD-denominated ETH fees and liquidity rewards
Ethervista is a decentralized exchange on Ethereum that charges USD-denominated swap fees in native ETH. Its liquidity pools hold the assets that traders exchange, with separate fee settings for buying and selling. Liquidity providers earn ETH through Euler accounting, while configured protocol recipients collect their own fee share. The broader system includes VISTA, token-staking and liquidity-locking contracts, and Etherfun launches that can graduate into exchange pools.
ยท last updated
Token swaps through liquidity pools
A trader exchanges native ETH for a pool's token or sells that token for ETH. The Ethereum router uses wrapped ETH, or WETH, inside the pair. WETH gives ETH a token interface for pool operations. The sell route unwraps its output before sending native ETH to the designated recipient. The pool's reserves, meaning the assets that it holds for trading, determine the exchange relationship. A swap changes those reserves as assets enter and leave the pool.
The quoted exchange amount depends on the trade size relative to available liquidity. Price impact describes the price movement that the trade itself causes. Slippage describes a difference between the expected execution amount and the actual amount. A minimum-output setting limits the acceptable output, and the router rejects a swap that falls below that threshold. Flat USD fees do not make the token's execution price fixed.
Router, factory, and pair contracts
The router coordinates swaps and liquidity operations, while the factory creates and records pair contracts. The factory indexes a pair by its underlying token addresses, allowing contracts to locate the corresponding pool. It rejects creating another pair for the same assets within that factory.
The pair holds the trading assets and tracks the reserves that its swap calculations use.
The pair also maintains the liquidity-provider (LP) token ledger and the accounting for accrued ETH rewards. Its trading assets and its reward ETH have distinct accounting roles.
The factory implementation has a separate role that can change its registered router while that authority remains assigned. A pool creator's permissions do not establish control over that factory role. Renouncing pool-creator permissions does not itself remove the router-setting authority.
USD fee settings and ETH settlement
Each pool stores separate fee amounts for liquidity providers and the configured protocol recipient in each trade direction. An on-chain price oracle supplies the conversion that determines the corresponding ETH payment. The pair contract exposes the active fee fields, so the applicable amounts belong to that selected pool.
| Pool parameter | Value basis | Recipient and purpose |
|---|---|---|
| buyLpFee | Pool-set USD amount per buy | Pair contract, for liquidity-provider rewards |
| sellLpFee | Pool-set USD amount per sell | Pair contract, for liquidity-provider rewards |
| buyProtocolFee | Pool-set USD amount per buy | Configured protocol recipient, for its fee share |
| sellProtocolFee | Pool-set USD amount per sell | Configured protocol recipient, for its fee share |
| Settlement | USD values convert to native ETH | Buy and sell settings apply separately |
The documented Ethereum router adds a $1-equivalent treasury payment to the applicable LP and protocol fees. Ethereum gas pays for transaction execution separately. On a buy, the router deducts the swap fee from the ETH supplied before exchanging the remainder. On a sell, the caller supplies native ETH for the swap fee alongside the tokens. The sell proceeds do not replace that upfront fee payment.
A fixed USD setting can require different ETH amounts as the oracle price changes. Its dollar amount does not scale with trade size.
Liquidity provision and Euler rewards
Liquidity providers contribute assets to a pool and receive LP tokens representing their share. The Euler model tracks ETH rewards through a cumulative value that increases when reward fees enter the pair. Each increase reflects the incoming fee divided by the LP token supply, with internal scaling for precision. A provider's recorded balance and its stored starting value, called euler0, determine the reward attributable to that balance. For an unchanged recorded balance, growth above that baseline determines the accumulated entitlement.
A reward claim pays the provider in ETH and refreshes the accounting baseline. Adding or removing liquidity, or sending LP tokens through the router, also refreshes that baseline, so accrued rewards should be claimed before changing the LP balance. This accounting links rewards to the fees that the pool receives. It does not establish a fixed yield or protect the underlying pool assets from price changes.
Creator permissions and delayed updates
The initial liquidity recipient becomes the pool creator and controls its fee settings, protocol recipient, and descriptive metadata. That configuration role is distinct from merely holding the pool's traded token. The protocol recipient can be a treasury wallet or a smart contract that accepts ETH.
A fee update first records proposed values. A later activation call installs them after the waiting period. The passage of time alone does not activate the proposal.
The documented pair implementation requires a minimum three-day delay before the creator can activate fee or protocol-recipient changes.
Protocol-recipient changes use their own pending-address record and activation call. Metadata updates do not share those delay checks in this implementation. The creator can renounce the role, ending its ability to update creator-controlled settings. Renunciation leaves the existing fee values and recipient in place.
What does the initial liquidity lock restrict?
The documented pair contract blocks liquidity redemption for five days after its initial liquidity creation. The clock starts at the first mint, and later deposits retain the same pair-level starting time. A separate staking contract can impose a further lock on deposited LP tokens. The pair-level timer does not freeze token trading or certify the underlying token's transfer rules. After that timer expires, liquidity redemption can proceed when the other contract conditions permit it.
Hardstake and Hardlock positions
Hardstake applies staking accounting to supported ERC-20 tokens, while Hardlock handles LP-token positions. ERC-20 is the token interface that the staking contracts use for asset balances and transfers. The staking templates each accept one configured asset. The published multi-pool Hardlock contract accepts factory-registered LP tokens and has no withdrawal function. A VISTA token stake and a VISTA liquidity position therefore represent different holdings. Hardlock can keep liquidity committed while allocating ETH rewards to the users who supplied its LP tokens.
Reward funding follows the particular contract: token staking can receive protocol-fee revenue or other ETH contributions, and LP staking can distribute the pair's accrued liquidity fees. The published staking templates restart the lock when users add stake or partially withdraw it. Those balance changes also reset reward baselines, so users need to claim accumulated rewards beforehand. A full withdrawal removes the position. Lock duration and supported assets belong to the chosen implementation.
VISTA and fee-funded token burns
VISTA is the project's ERC-20 token, with an original minted supply of 1,000,000 tokens. The launch distribution placed that supply into the VISTA/WETH liquidity pool. The initial minted amount is a historical starting point; subsequent burns change how many tokens remain available in circulation. A circulating-supply figure therefore describes a different quantity from the original issuance.
Fee-funded purchases and burns connect part of the exchange's activity to VISTA's circulating supply. Protocol contracts can also direct ETH toward Hardstake and Hardlock rewards. These allocations follow the receiving contract's rules; a different pool's protocol wallet does not automatically run the same distribution. Burning acquired tokens reduces their availability in circulation, while the market still determines the token's trading price. Holding VISTA alone does not create the recorded stake that a staking contract uses to calculate rewards.
Etherfun launches and pool graduation
Etherfun provides token creation and bonding-curve trading that can lead into an Ethervista liquidity pool. A bonding curve changes token prices as purchases and sales move along a programmed pricing schedule. Creators supply a token name, ticker, image, and description. In the documented design, the first buyer covers token-deployment costs. A creator who also becomes the first buyer assumes that cost-bearing role. The launch design separately rewards the first buyer and the buyer who triggers curve exit when bonding completes.
At curve exit, the launch contract establishes a pool and permanently locks its initial liquidity. Additional participants can contribute liquidity and earn LP fees afterward. The permanent lock applies to the initial launch liquidity; later providers receive LP tokens for their own contributions. The curve stage and the resulting exchange pool have different trading and fee arrangements. Creating a token does not by itself complete graduation; the curve must reach its completion condition before this pool-creation mechanism runs.
Key questions about Ethervista
Can I transfer LP tokens with an ordinary wallet transfer?
The documented LP-token implementation restricts ordinary transfers to the router, apart from its burn-address exception. The safeTransferLp function updates the sender's reward accounting. A recipient can call updateSelf for the pair to establish its own reward balance; a compatible staking contract can perform that update internally.
Why do different pools use the VISTA-LP symbol?
The pair implementation gives its liquidity tokens the shared symbol VISTA-LP. Multiple pools therefore use that label. The pair address and its underlying token addresses distinguish the position. VISTA itself is a separate ERC-20 token and represents a different asset.
Does approving the router complete a token sale?
An approval authorizes the router to spend tokens within the allowance; it does not execute a sale. A swap call performs the exchange under its own fee and output conditions.
How does a token transfer tax affect the amount received?
A token's transfer tax can reduce the amount that reaches the pool or recipient. The documented fee-on-transfer swap functions calculate input from the pair's actual balance increase, and the buy route checks the recipient's token balance increase against minimum output. These functions still depend on the token contract allowing the required transfers.
Can the protocol fee recipient cause a swap to fail?
A failed ETH payment to the configured protocol recipient causes the documented router swap to revert. The router requires both the protocol-fee payment and the LP-fee payment to succeed. A recipient contract therefore needs to accept its ETH payment; the address affects execution as well as revenue allocation.
Will a swap deadline ensure confirmation before it expires?
A swap deadline restricts when the router will accept execution; it does not reserve confirmation time. The documented check rejects execution after the deadline. Network inclusion remains a separate matter, and a submitted transaction can reach execution too late.
Is creator renunciation the same as permanently locking liquidity?
Creator renunciation removes the pool's configuration authority, while liquidity locking restricts access to LP assets. These are separate contract operations. Renunciation does not itself prevent redemption after the pair's initial lock expires. A permanent lock needs its own mechanism applying to the particular liquidity tokens.