Magpie Protocol
  • Magpie Protocol
    • What is Magpie solving?
      • What is DeFi?
    • Magpies Key Features
      • Use Cases
    • FLY
      • xFLY & FLY33
  • 📶Supported Networks
  • Guides
    • 📖Glossary of DeFi Terms
    • 👜Connect Wallet
    • 🔄On-Chain Swap
    • 🔀Cross-Chain Swap
    • 🔂Swap configuration
    • 🥚Magpie Boosts
    • 📒Transaction History
    • 💲Portfolio
  • Media Kit
  • 👩‍💻Developers
    • Magpie Contracts
      • MagpieCCTPBridge
      • MagpieCelerBridgeV2
      • MagpieRouterV3
      • MagpieStargateBridgeV3
      • LibAsset
      • LibBridge
      • LibRouter
    • Smart Contracts Audit
    • Deployments
    • API Reference
      • On chain swap
      • Cross chain swap
      • Requesting and Using API Key
Powered by GitBook
On this page
  1. Developers
  2. Deprecated Magpie Contracts
  3. MagpieAggregator Diamond Proxy

Multicall

The Multicall is a facet of a Diamond smart contract that provides a functionality for batching multiple function calls into a single transaction. This enhances efficiency and user experience for complex swaps.

The primary use case of this contract is to improve efficiency and user experience. By allowing multiple calls in one transaction, it reduces the transaction count, saving on gas fees and simplifying interactions for the user.

This is particularly useful in complex dApps where a user might need to perform several actions in a sequence. Instead of executing each action in a separate transaction, they can be batched together using multicall.

Last updated 1 year ago

👩‍💻