Integral Docs
  • Introducing Integral
  • Getting Started
    • Trader
      • Basics of Trading on Integral
      • TWAP
      • Instant Swap
      • Limit Orders (testnet)
      • FAQ
      • Use Integral on Gnosis Safe
    • Liquidity Provider
      • Basics of Liquidity Provision on Integral
      • Add Liquidity
      • Earning Fees
      • Claim Rewards
    • Aggregator Integration
      • FAQ
      • TwapRelayer Upgrades: Multihop Support (coming soon)
  • Concepts
    • SWAP WITH TWAP
    • Integral Relayer
    • Oracle and Prices
    • Delay
    • Mean-zero IL Pools
    • Price Impact
  • Developers
    • Networks
    • Smart Contracts
    • Error Code
    • API
    • SDK
    • Subgraph (TheGraph)
  • Token
    • Token Model & Metrics
    • LP Farming
    • Staking
  • Library
    • Whitepaper
    • Audit Report
    • Bug Bounty
    • Media Coverage
Powered by GitBook
On this page
  1. Concepts

Delay

Delay in the Integral is a smart contract that serves as an intermediary layer between users and the Integral pool contracts. All user interactions with the Integral (swap/deposit/withdraw, etc) will be done through the delay contract. In particular, every user action (swap/deposit/withdraw) will experience a delay.

The key parameter (governance controlled) in the delay contract is the delay parameter. It dictates the time period that has to elapse before any particular user action can start to be processed. The delay parameter can range from minutes to a week. This delay parameter is also the time duration of the TWAP window.

Due to the delay mechanism, only the delay contract can directly interact with the pair contract, i.e. all the swap/deposit/withdraw actions have to be invoked by the delay contract, and cannot be triggered by anyone else.

PreviousOracle and PricesNextMean-zero IL Pools

Last updated 1 year ago