LogoLogo
Visit WebsiteLaunch App
  • Introduction
    • Overview
    • Getting Setup
      • Creating a Wallet
      • Security Practices
  • Product
    • Strategies
      • Conservative Yield V1
      • Balanced Yield V1
      • Advanced Yield V1
    • Nexus Mutual Cover
    • Technical Architecture
      • Technical Overview
      • Security and Authentication
      • Key Components
        • Action Smart Contracts
        • BravaGuard
        • Fee Take Safe Module
        • Smart Safe Account
        • Sequence Executor
        • Logging
          • Balance Update Log
          • BuyCover Log
          • Curve3PoolSwap Log
          • Send and Pull Token Log
    • Fees
    • Audits
  • Resources
    • Contracts
    • Website
    • Glossary
  • Socials
    • X (Twitter)
    • Discord
    • Telegram
Powered by GitBook
On this page
  • Purpose and Functionality
  • Integration
  1. Product
  2. Technical Architecture
  3. Key Components

Sequence Executor

The Sequence Executor is the core transaction orchestration engine of the Brava protocol. It enables the execution of sophisticated DeFi operations through a secure, standardised interface whilst maintaining user custody through their Smart Safe Account.

Purpose and Functionality

The Sequence Executor allows users to execute a series of actions (called a "sequence") in a flexible and gas-efficient manner. It leverages delegate calls to maintain the context of the user's wallet throughout the execution process, enabling Brava to offer sophisticated DeFi logic without taking custody of user funds.

Key functionalities include:

  • Executing customizable sequences of actions

  • Supporting manual execution through a user's Safe wallet

  • Providing a standardized interface for various DeFi actions

  • Enabling gas-efficient execution of multiple actions in a single transaction

  • Maintaining user fund custody within their Safe wallet at all times

The system offers great flexibility, allowing users to combine pre-defined actions in any order required to achieve their desired strategy. While the individual actions are pre-defined, the sequence order and input parameters are fully customizable to meet specific user needs.

Security Architecture

The Sequence Executor implements multiple security layers:

  1. Action Registry

    • Only approved actions can be executed

    • Actions are referenced by ID rather than address

    • Action addresses are verified through AdminVault

  2. Immutable Configuration

    • AdminVault connection is fixed at deployment

    • Core security parameters cannot be modified

  3. Standardised Execution

    • Consistent interface for all DeFi operations

    • Predictable execution patterns

    • Verified action sequences

Integration

The Sequence Executor works in concert with the BravaGuard and Transaction Registry to form a comprehensive security framework, ensuring all operations remain within the protocol's controlled environment whilst enabling sophisticated DeFi strategies.

PreviousSmart Safe AccountNextLogging

Last updated 4 months ago