When using the Shortcuts endpoints (route and bundle) endpoints, you must send transactions to EnsoShortcutRouter. This contract will execute bundled transactions in sequence.

Routing strategies define how EnsoShortcutRouter executes transactions. It’s selected by the routingStrategy parameter when you call either of the two shortcut endpoints.

For maximum flexibility, consider using delegate with a compatible smart wallet. This enables full state manipulation and more complex DeFi strategies.

  • delegate: For smart wallets supporting delegatecall:
    • Enables both tokenized and non-tokenized interactions
    • The state stays in the smart wallet itself.
    • Complex, multi-step operations are more efficient and safer when executed through a smart wallet
    • Simple approval model
    • Limited to token-based operations
  • router: For EOAs or simpler smart wallets:
    • Works with tokenized interactions only
    • Uses the universal router contract.
    • Supports tokenized and non-tokenized interactions
    • Enables complex DeFi strategies
    • Works with lending positions and other stateful interactions