How it Works
Easy Mode wraps the core PlazmCreateAndStake contract so that swapping, fee deduction, position creation, and refunds all happen atomically in a single transaction.
Easy Create
Send ETH, ESHARES, or any supported token — Easy Mode accepts the input you have on hand.
Automatic swap — If you send a token other than ETH or ESHARES, the contract swaps it to ETH (or uses ESHARES directly) via Uniswap V2 or V3.
Fee deduction — A small convenience fee (currently 0.50 %) is taken from the input and forwarded to the genesis wallet.
Create execution — The remaining value is forwarded to
createPlazm, which locks it for your chosen Power level and duration (1 – 77 days).Position recorded — An Easy Mode position ID is assigned so you can track, claim, or compound it later.
Refund — Any excess ETH that wasn't needed is automatically returned to your wallet.
Easy Stake
Send ETH or any supported token — Easy Mode determines how much Plazm it can acquire and how much ETH is needed for the staking fee.
Optimal split — A binary-search algorithm on-chain calculates the best split between buying Plazm and reserving ETH for the required stake fee, maximising the amount you stake.
Swap execution — The contract swaps the appropriate portions through Uniswap V2 or V3.
Fee deduction — The convenience fee is taken either in ETH or in the input token (your choice via
payFeeInEth).Stake execution — The acquired Plazm is staked for your chosen duration, and the ESHARES-equivalent fee is paid in ETH.
Position recorded & refund — A position ID is created, and any leftover ETH or tokens are returned.
Last updated