Variational Docs
HomeDiscordTwitterBlog
  • Variational Protocol
    • About Variational
    • Peer-to-peer vs DEX
    • Roadmap
    • Key Concepts
      • Trading via RFQ
      • Settlement Pools
      • Margin
      • Slippage
      • Leverage
      • Liquidation
      • Mark price vs index price vs quote price
      • Open Interest & Funding Rates
      • Fully Diluted Valuation (FDV)
      • Fees
      • Market vs. Limit Orders
      • Take Profit & Stop Loss
    • $VAR Token
    • Media Kit
    • Official Links
    • FAQ
    • Getting Help (Support)
  • Variational Omni
    • About Omni
    • Getting Started with Omni
    • Getting Started With Omni (Testnet)
    • Omni Liquidity Provider (OLP)
    • Listings
    • Risk Limits
  • Automatic Deleveraging | Counterparty Liquidation
  • Variational Pro
    • About Pro
  • Technical Documentation
    • Technical Overview
      • Authentication
      • Deposits
      • Withdrawals
      • Trades
    • Derivative Specifications
      • Perpetual Futures
      • Settlement
    • API
      • SDKs
      • Quickstart and Tutorials
        • API Trading Prerequisites and Setup
        • Settlement Pool Deposit Tutorial
        • Taker (RFQ Submitter) Tutorial
        • Maker (RFQ Responder) Tutorial
      • Endpoints
      • Data Models
      • Headers
      • Pagination
      • Rate Limits
      • Authentication
    • Contracts and ABIs
    • Security and Audits
    • Partners
  • Legal
    • Terms of Service
    • Privacy Policy
    • Restricted Persons
  • ARCHIVE
    • Testnet Trading Competition #1 Leaderboard
    • Testnet Trading Competition #2 Leaderboard
    • Testnet Trading Competition #3 Leaderboard
Powered by GitBook
On this page
  1. Technical Documentation
  2. Technical Overview

Deposits

PreviousAuthenticationNextWithdrawals

Last updated 4 months ago

The Omni application uses / to offer gasless deposits of USDC with a flat $0.1 fee.

Instead of requiring users to pay gas to deposit funds into the platform, Omni simply has users sign a message to allowing the platform to withdraw a specific amount of tokens from the user's account. This architecture allows Omni to cover the gas needed to move tokens into the platform, while charging a flat $0.1 fee per deposit.

Deposit Flow

The flow of deposits is as follows:

  1. User determines how many tokens that they want to deposit by interacting with the Omni frontend.

  2. The relays this information to the , which verifies that the user's is valid then creates a message for the user to sign.

  3. Once the user signs the gasless message permitting the platform to withdraw the specified number of tokens from their account, the relays this signed permit to the Variational protocol's .

  4. The within the creates a new for the user, and deposits the user's funds into that settlement pool.

  5. Once the within the has confirmed that the transaction has landed and funds have moved to the smart contract, it informs the of the updated user account balance.

  6. The reflects the updated state of the , crediting the user's account with funds (minus $0.1 fee).

EIP-712
EIP-2612
authentication token
settlement pool
settlement pool
Omni frontend
Omni backend
Omni backend
on-chain transaction handler
transactor
on-chain transaction handler
watcher
on-chain transaction handler
Omni backend
Omni frontend
Omni backend