Synthetix Docs
  • User Docs
  • Synthetix Exchange
  • Leveraged Tokens
  • For Developers
  • WELCOME TO SYNTHETIX EXCHANGE
    • Getting Started
    • News and Updates
    • Opening A Synthetix Account
    • Bridging to Synthetix Exchange
  • Perps Basics
    • Perps on Synthetix Exchange
    • Margin Types & Collateral
    • Funding
      • Technical Details
    • Maker or Taker?
    • Leverage & Initial/Maintenance Margin
    • Account Health & Liquidations
    • Conditional Orders
    • Position Modification
    • Gasless One-Click Trading
      • Starting/Stopping 1CT
    • Delegated Trading
      • Getting started with Delegation
      • Accessing Accounts Delegated to You
      • Managing Delegates
      • FAQ
    • Trading Tutorial
      • Connecting a wallet & V3 Account Creation
      • Depositing Collateral
      • Swapping and Bridging
      • Enabling one-click trading
      • Opening a Position
      • Closing a Position
      • Withdrawing Collateral
  • Perps V3 (Base)
    • Overview
    • Multi-collateral Margin
      • Collateral Types
      • What is USDx?
      • The Mechanics of USDx
      • Edge Cases in Liquidation:
      • Settlement of Debt
      • FAQ's
  • Perps V2 (Optimism)
    • Introduction (Legacy)
    • Getting Started on Optimism
    • How to get sUSD
  • INFRASTRUCTURE OVERVIEW
    • Getting Started
    • System Overview
    • Account Management
    • Delegate Management
    • Conditional Orders
    • Oracle Data
  • RESOURCES
    • Audits
  • GitHub
Powered by GitBook
On this page
  • Overview of Delegation Mechanism
  • Permissions in SMv3
  • Management of Delegates
  • Decentralization Considerations
  1. INFRASTRUCTURE OVERVIEW

Delegate Management

Overview of Delegation Mechanism

IIn earlier Smart Margin (SM) versions (v1/v2), delegation was handled at the SM account level. SMv3 introduces a more streamlined approach by utilizing Synthetix account permissions. Users can delegate control to another address by granting it the "commit async order" permission, which is executed directly through the Synthetix proxy.

Permissions in SMv3

The core functionality of SMv3 hinges on account permissions. Granting Synthetix Exchange the administrative authority over a user's Synthetix v3 account enables the Engine to carry out trades on the user’s behalf. This arrangement also empowers the Engine to offer specialized trading features, such as conditional orders, which are currently not available in the Synthetix protocol itself.

Management of Delegates

Delegates are addresses granted the "commit async order" permission for a specific account. Users can manage these permissions through the Synthetix v3 Perps market proxy:

  • Granting Permissions: Use the grantPermission function to assign permissions to a delegate.

  • Revoking Permissions: Use the revokePermission function to remove permissions.

If the ownership of an account NFT is transferred, all previously assigned permissions are automatically revoked, ensuring that only the new owner has control.

Decentralization Considerations

Before processing any action, the Engine verifies permission status with Synthetix v3. This ensures that administrative and "commit async order" permissions are securely managed. However, the overall decentralization and security of the system depend on its foundational components. Since the Synthetix protocol is upgradeable, there is a reliance on the integrity of the Synthetix-owned multisig to prevent malicious actions. Users should remain aware of these dependencies when considering delegation.

PreviousAccount ManagementNextConditional Orders

Last updated 3 months ago