[OLD] Instadapp Docs
  • Introduction
  • DeFi Smart Account (DSA)
  • DSA SDK
    • Running Instadapp SDK
  • 💻Instadapp GUI
    • Integrated Protocols
      • Aave
      • Compound Finance
      • MakerDAO
    • Strategies
    • Multi-Protocol Refinancing
    • Authorities
    • Debt Collateral Ratio
  • 👩‍💻 DSA SDK
    • Casting Spells
    • Build a Connector
    • Connectors
      • Basic
      • Authority
      • Instapool
      • MakerDAO
      • Compound
      • Comp
      • Aave
      • dYdX
      • 1Inch
      • Uniswap
      • OasisDEX
      • Kyber
      • Curve sBTC
      • Curve sUSD
      • Curve yUSD
    • Resolvers
      • Accounts
      • Balances
      • Instapool
      • MakerDAO
      • Compound
      • Aave
      • dYdX
      • 1inch
      • Uniswap
      • OasisDex
      • Kyber
      • Curve sBTC
      • Curve sUSD
      • Curve yUSD
    • getId/setId
    • Example Use Cases
      • Long ETH
      • Short DAI
      • Debt Swap
      • Lending Bridge
      • Lending Swap
      • Debt Bridge
  • 👩‍🏫 Tutorials
    • Getting Started
    • Moving Assets into DSA
    • In-App Swaps
  • Additional Info
    • Contract Infomation
    • FAQs
    • Security Audits
    • Release History
  • 🌏Links
    • Homepage
    • DApp
    • Discord
    • Contact Us
Powered by GitBook
On this page
  • Add Authority
  • Remove Authority
  1. 👩‍💻 DSA SDK
  2. Connectors

Authority

Manage Authority and Account Access

Authority is access and control to your DSA account.

Add Authority

This connector adds additional accounts as Authorities to the DSA

spells.add({
  connector: "authority",
  method: "add",
  args: [authority]
});

Parameter

Type

Description

authority

address

The address to be given authority access.

Remove Authority

This connector removes authorities from the DSA

spells.add({
  connector: "authority",
  method: "remove",
  args: [authority]
});

Parameter

Type

Description

authority

address

The address to be removed from authority access.

Please be careful when adjusting or changing authority. Authorities have the complete control and access to your DSA. Make sure that you only add addresses you control as Authorities.

See More: Advanced Topics - Temp Authority

PreviousBasicNextInstapool

Last updated 4 years ago