Balmy
DCA
DCA
  • Introduction to the protocol
  • FAQ
  • Concepts
    • Positions
      • Actions
      • NFT/Permissions
      • Swap Intervals
    • Fees
    • Swaps
    • Token Integration
    • Yield Sources
  • Architecture
    • Core
      • Hub
      • Permission Manager
      • NFT Descriptor
    • Periphery
      • Companion
      • Libraries
  • Tech Guides
    • Interacting with the protocol
    • Smart Contract Registry
    • Swaps
      • Next Swap
      • Executing a Flash Swap
    • Position Management
      • Creating a Position
      • Modifying a Position
      • Withdrawing from a Position
      • Terminating a Position
    • Permission Management
    • Subgraphs
      • Playground
      • Fetch all pairs
      • Fetch all tokens
      • Fetch all active intervals
      • Fetch positions by address
    • Github
  • Mean explained by friends
    • By Perpetual Protocol
    • By Ceazor's Snack Sandwich
  • Other
    • Bug Reports
Powered by GitBook
On this page
  • Introduction
  • Responsibilities

Was this helpful?

  1. Architecture
  2. Core

Permission Manager

PreviousHubNextNFT Descriptor

Last updated 2 years ago

Was this helpful?

Introduction

In v1, we quickly realized that there were a lot of use cases that were really hard to fulfill. Specifically, we noticed that users would need to transfer full ownership of their positions to other protocols so that they could then use their positions.

This of course was a problem, so we quickly realized that we needed an ad-hoc permission system, regardless of the ownership of the position. Enter the Permission Manager.

The Permission Manager is a contract that handles both . Note that ideally, this contract would actually be part of the hub, but we ran out of space.

Responsibilities

  • Handles NFT ownership + transfer

    • Mints & burns can only be executed by the hub, when a position is created/terminated

  • Supports permit () for NFT approvals

  • Handles

  • Supports permit () for additional permissions

NFT ownership/transfer and additional permissions
EIP-2612
additional permissions
EIP-2612
The Permission Manager